Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- does php 6 support $REMOTE_ADDR???
November 25, 2006, 9:21 pm
rate this thread
from one site only. I typed the code in and nothing is happening heres
case ("www.sentinelsolutionsinc.com/js/secret.html") : showme();
case "http://www.sentinelsolutionsinc.com/js/secret2.php " : showme();
case "http://www.sentinelsolutionsinc.com/js/scripts.html " : showme();
case "http://www.sentinelsolutionsinc.com/js/mjokes.html " : showme();
case "http://www.sentinelsolutionsinc.com/js/movies.html " : showme();
default : print "<body onload=\"window.location='index.html'\">";
Re: does php 6 support $REMOTE_ADDR???
What are you expecting to set $HTTP_REFERER? That's not set in PHP 4 or 5 in
the normal configuration, let alone in PHP 6. Look up "register_globals".
PHP 6 removes the option for register_globals completely, forcing you to use
the method recommended for the past several years.
Andy Hassall :: firstname.lastname@example.org :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
- » Image Upload, Resize, Rename and create record in mysql
- — Previous thread in » PHP Scripting Forum