AW: PHP String
| From: | W-Mark Kubacki | Date: | Thu, 21 Mar 2002 14:45:23 +0000 |
| Subject: | AW: PHP String | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12702@lists.php.net to get a copy of this message | ||
Hello!
Since PHP 4.1.0 $PHP_SELF is called $_SERVER['PHP_SELF']
unless you've explicitly acivated the register_globals
variable in the php.ini. (I bet you haven't.)
Change everything in your code accordingly.
Every variable is found at the array of variables called
like the methods' name. If you're receiving values through
the get-method you'll have to address them by
$_GET['theName'], post by $_POST['xyz'] and so on.
Please feel free to write on further questions,
Mark
-----Ursprüngliche Nachricht-----
Von: C vd Veen [mailto:captain-internet@hetnet.nl]
Gesendet: Donnerstag, 21. März 2002 03:45
An: php-windows@lists.php.net
Betreff: PHP String
Hi,
I got a Xitami webserver running on Windows 98, work perfect to me, I have PHP4.1.2, MySql MyODBC,
Active Perl ect.
My question is that when a script calls the $PHP_SELF string I receive the wellknown 404 message
from my webserver.
Why doesn't Windows 98 put the website in the PHP string??? Something like the JavaScript
command location.history() does work
fine.....
How come?
Thanks
C van de Veen
captain-internet@hetnet.nl