RE: [PHP] What variable are being sent to my script?

2001-04-13 Thread Jerry Lake
: PHP User Group Subject: [PHP] What variable are being sent to my script? 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 Thanks Brandon -- PHP Gen

Re: [PHP] What variable are being sent to my script?

2001-04-13 Thread Johannes Janson
"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

Re: [PHP] What variable are being sent to my script?

2001-04-12 Thread Plutarck
Even better, there is a whole PHP function just for that. I use the following code in scripts where I need to debug the available variables and their values: // Print all available variables. $arr = get_defined_vars(); print_r($arr); I love print_r ;) -- Plutarck Should be working on someth

Re: [PHP] What variable are being sent to my script?

2001-04-12 Thread Ashley M. Kirchner
Brandon Orther wrote: > 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 Stick at the end of your script, and go through it so you can see all the nifty var

[PHP] What variable are being sent to my script?

2001-04-12 Thread Brandon Orther
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 Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F