Go Back   Gaming Gutter


» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post I feel like shit.
Today 10:49 PM
Last post by Roxas.
Today 10:50 PM
1 Replies, 2 Views
Go to first new post Best current TV show
11-13-2008 10:07 AM
Last post by jandreafb
Today 10:50 PM
48 Replies, 333 Views
Go to first new post Buying a Battle Pet with...
Yesterday 10:04 PM
by yngstr
Last post by yngstr
Today 10:49 PM
3 Replies, 19 Views
Go to first new post If you had one day to...
11-03-2008 05:09 AM
Last post by jandreafb
Today 10:48 PM
73 Replies, 940 Views
Go to first new post Frozen Reasons
10-21-2008 05:27 PM
Last post by jandreafb
Today 10:44 PM
76 Replies, 544 Views
View Single Post

 Re: A Guide To PHP Includes - (MEGA Tutorial)
Old 11-15-2006, 12:11 PM   #3 (permalink)
gommle
Underground

Male gommle is offline
 
gommle's Avatar
 
Join Date: Sep 2006
Location: The o great land of Nooooooreeeway
Age: 20
Posts: 658
GPoints: 45
iTrader: 0 / 0%
gommle Is Recognizable
Rep Power: 7
Re: A Guide To PHP Includes - (MEGA Tutorial)

W00t? That script is completely secure.

You would only have to add some extra security if your script was like this:
PHP Code:
top of page ...
<?php
// Include the page specified. 
// go=.htaccess would include all the contents of the file .htaccess
if(!include $_POST['page']){ echo "Page not found!"; }
?>
... end of page
As you can see in the example there would be a huge security risk for any file that's not parsed by the server.
  Reply With Quote
 
Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 10:51 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.07067490 seconds (100.00% PHP - 0% MySQL) with 16 queries