Take a peek into the manual, section "using PHP" keyword
"register_globals" and consider the fact that the default ini
setting has been changed from "on" to "off" starting with
PHP 4.2.0 .
Regards,
--
Sven
> -----Urspr�ngliche Nachricht-----
> Von: Jas [SMTP:[EMAIL PROTECTED]
> Gesendet am: Montag, 29. September 2003 17:59
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] form vars missing...
>
> Here is my problem:
>
> Using both the Get and Post methods my variables are missing on the
> resulting page. Example of code is listed below:
>
> <form method="post" url="result.php" name="form">
> <input type="text" name="name"><br>
> <input type="text" name="url"><br>
> <input type="submit" value="send">
>
> <?php
> if ((!$name) || (!url)) {
> do nothing;
> } elseif (($name) || ($url)) {
> do rest of code;
> } else {
> broken; }
>
> Should be simple and every time I have done this in a *nix environment it
> has worked but this time I have installed php on my IIS 5 server and check
> the scripting permissions and everything looks ok, except my variables are
> not being passed or recognized in the resulting script using post. Using
> the Get method my variables are listed in the URL of resulting page but the
> script isn't picking them up.
>
> Anyone else have troubles with this?
> Any help is appreciated,
> Jas
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php