Eyes Out Entertainment Forums  
 

Go Back   Eyes Out Entertainment Forums > Simple Script > Script Suggestions

Script Suggestions Have an idea for a cool script you want to see? Post it, vote on other ideas, or just discuss ideas here.



Reply
 
Thread Tools
  #1  
Old 11-15-2007, 03:17 PM
Herede Herede is offline
EoE Team
 
Join Date: Mar 2005
Posts: 90
Rep Power: 13
Herede is on a distinguished road
Default Request - PHP wrapper script

I'd like to see a secure (as in not vulnerable to remote file inclusion, etc) PHP wrapper script that includes a header.php, the actual page requested, and a footer.php. Then you could access a page like so:

www.somesite.com/index.php?page=blabla

And it would load blabla.php with the header and footer around it.
Reply With Quote
Sponsored Links
  #2  
Old 02-19-2008, 06:45 PM
Kurosaki's Avatar
Kurosaki Kurosaki is offline
The Bodyguard
 
Join Date: Jun 2005
Location: Manchester UK
Posts: 469
Rep Power: 13
Kurosaki is on a distinguished road
Send a message via MSN to Kurosaki
Default Re: PHP wrapper script

For what purpose i.e what are you trying to show in the header and footer aswell as the actual page?

Ive just made an e-shop in ASP that consists of a mainpage(actual) with a seperate header.asp and footer.asp script that are automatically wrapped around the mainpage.


//If wanted i could supply you with the e-shop code to look at how its done in ASP, i gather its not php as requested, but I can look into it for you. Possibly get a reply back to you if i have time by this Sunday evening.
__________________
The Art of War is not to die for your cause, but to make the enemy die for theirs.
Reply With Quote
  #3  
Old 11-09-2009, 05:53 PM
Bomylecy73 Bomylecy73 is offline
Banned
 
Join Date: Oct 2009
Location: United States
Posts: 2
Rep Power: 0
Bomylecy73 is on a distinguished road
Send a message via ICQ to Bomylecy73
Default PHP wrapper script

Its all being done through header injection. If you are using any variables in your PHP e-mail forms you need to check them for headers that might be injected into them to, cc, bcc, etc..
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Sponsored Links


All times are GMT -6. The time now is 07:49 PM.




Sponsored Links

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Advertisement System V2.6 By   Branden
Copyright 2004 - 2008, Eyes Out Entertainment
Ad Management by RedTyger
no new posts