Eyes Out Entertainment Forums

Eyes Out Entertainment Forums (http://www.eoeforums.com/index.php)
-   Script Suggestions (http://www.eoeforums.com/forumdisplay.php?f=151)
-   -   PHP wrapper script (http://www.eoeforums.com/showthread.php?t=4180)

Herede 11-15-2007 03:17 PM

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:


And it would load blabla.php with the header and footer around it.

Kurosaki 02-19-2008 06:45 PM

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.

Bomylecy73 11-09-2009 05:53 PM

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..

All times are GMT -6. The time now is 11:54 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2004 - 2008, Eyes Out Entertainment
Ad Management by RedTyger