bobshandel
New Member
- Messages
- 22
- Reaction score
- 0
- Points
- 0
Hey, I was wondering if anybody could help me out with this. I wrote up a simple PHP script to test something, and it seems that something is wrong. The script was
So $n is declared in the url, and should change accordingly.
So I uploaded it and the URL is http://programz.info/testing.php?n=blah , but the variable n doesn't seem to show. So I made sure my script was right by uploading at another PHP enabled host at http://members.lycos.co.uk/myspace123/testing.php?n=blah and declaring that n=blah in the url does work. So I was wondering if anybody could help me out with this problem, thanks.
PHP:
<?php
echo "Thank you " . $n . " for your IP! (" . $_SERVER["REMOTE_ADDR"] . ")<hr><br>";
?>
So $n is declared in the url, and should change accordingly.
So I uploaded it and the URL is http://programz.info/testing.php?n=blah , but the variable n doesn't seem to show. So I made sure my script was right by uploading at another PHP enabled host at http://members.lycos.co.uk/myspace123/testing.php?n=blah and declaring that n=blah in the url does work. So I was wondering if anybody could help me out with this problem, thanks.