Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Protect $_GET include - the noob way.
SUBMITTED BY:
Guest
DATE:
May 15, 2013, 7:23 p.m.
FORMAT:
PHP
SIZE:
157 Bytes
Raw
Download
Tweet
HITS:
1254
Go to comments
Report
<?php
include
"
$_GET['page']
"
;
//unsafe
include
"
$_GET['page']
"
.
"1"
//safe, but you would have to name your files pagea.txt
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus