georg
04-29-2002, 10:26 AM
By submit a form method="POST" action=<? echo $PHP_SELF;?>, the browser tell me, he can't display the page. The same Page work on my ISP but not on my LAN. What's wrong ??
Thank's for Help.
Thank's for Help.
|
Click to See Complete Forum and Search --> : $PHP_SELF don't work on LAN georg 04-29-2002, 10:26 AM By submit a form method="POST" action=<? echo $PHP_SELF;?>, the browser tell me, he can't display the page. The same Page work on my ISP but not on my LAN. What's wrong ?? Thank's for Help. Anon 04-29-2002, 11:11 AM dunno if this works but try this method="POST" action=$PHP_SELF Deathy Anon 04-29-2002, 11:13 AM also make sure in your php.ini that global_request or request_global = on not of i cant rember which one it is but you will find it if you do a search Deathy torrent 04-29-2002, 12:08 PM Sounds like you are running 4.2.0 and perhaps your ISP isn't. Try: <form method="POST" action=<?= $_SERVER["SCRIPT_NAME"];?> fatidik 04-30-2002, 11:59 AM as someone said, you\'re problably using php 4.20. i advise you not to turn register_globals on. instead you should use at the beginnning of your page : $PHP_SELF = $_SERVER[\"PHP_SELF\"]; i\'d never thought of the effects if someone had called my script by \"script.php?PHP_SELF=http://www.hacked.com\" something like that. don\'t know if it would have worked, but now with php 4.20 and register globals off, it\'s impossible. PHP Builder
Copyright Internet.com Inc. All Rights Reserved. |