AW: form vars missing...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:jlgerfen@hotmail.com]
> Gesendet am:	Montag, 29. September 2003 17:59
> An:	php-windows@lists.php.net
> Betreff:	 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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux