Re: What variable are being sent to my script?

From: Date: Thu, 12 Apr 2001 23:27:46 +0000
Subject: Re: What variable are being sent to my script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48375@lists.php.net to get a copy of this message
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 <? phpinfo() ?> at the end of your script, and go through it so you can see all the nifty variables that PHP sets for you when you pass arguments to it. Good way to learn too. AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere. |____________________________________________________________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . eFax 248.671.0909 http://www.pcraft.com . 3550 Arapahoe Ave #6 .................. . . . . Boulder, CO 80303, USA

« previous php.general (#48375) next »