Re: $_POST $_GET
| From: | dfzardo at dolphinforums dot com | Date: | Mon, 20 Sep 2004 13:58:14 +0000 |
| Subject: | Re: $_POST $_GET | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14387@lists.php.net to get a copy of this message | ||
I have just installed php 5.0.1 and have installed many php's in the past,
on Win2000 with Xitami, upto 4.3.7
I am using the suggested INI file, with mysql extension set, renamed to
php.ini, in the C:\PHP directory as suggested.
I restarted my web server, even rebooted.
1) phpinfo.php shows a plaintext info dump.
2) <form action=\"".$_SERVER['PHP_SELF']."\" gives this error ---
HTTP
404 - File not found. It worked fine with php 4.3.7
3) when I point it explicitly, my form submits won't work i.e.
$_POST['submit']. No web server error logged.
4) a simple test like URL/test.php?x=zzz produces no $_GET['x'] value
H-E-L P !!
The PHP manual says nothing about having to 'turn-on' these predefined
variables.
It says ---
This is a 'superglobal', or automatic global, variable. This simply means
that it is available in all scopes throughout a script. You don't need to do
a global $_GET; to access it within functions or methods, as you do with
$HTTP_GET_VARS.
Zardo