RE: [PHP] passing a variable between URL's

From: Date: Wed, 16 Apr 2003 17:28:09 +0000
Subject: RE: [PHP] passing a variable between URL's
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144150@lists.php.net to get a copy of this message
If it is not important information and you don't care if someone passes bad info to the second page, just use GET. But be sure to account for someone getting to the page without the variable or someone getting there with a made up value for it. > -----Original Message----- > From: Scott Thompson [mailto:scott_thompson@earthlink.net] > Sent: Tuesday, April 15, 2003 10:37 PM > To: Jennifer Goodie > Cc: php mailing list list > Subject: Re: [PHP] passing a variable between URL's > > > > > Jennifer Goodie wrote: > > I supposed you could also send it via POST if you added some > javascript fun > > in. What's wrong with using GET or cookies? > > There is nothing inherently wrong with either of these methods, just > wondering if there is a better way, or a preferred way, a more ingenious > way, or whatever. I'm a newbie to PHP, and any pointers or other such > help is not disdained. > > > > > regex documentation > > http://www.php.net/manual/en/ref.regex.php > > http://www.php.net/manual/en/ref.pcre.php > > > > Thanks and regards, > ~Scott Thompson

« previous php.general (#144150) next »