"Brandon Orther" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I there a way for me to find out what variables are being sent to script?
> Example:
>
> http://www.myscript.com/myscript.php?var1=asdf&var2=asdf
>
> that above would be $var1 and $var2
>
if it is a form with post as method you can use this script to
see all submitted vars:
while (list($key, $value)=each($HTTP_POST_VARS) ) {
echo "$key = $value <br>";
}
Johannes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]