RE: [PHP] passing a variable between URL's
| From: | Jennifer Goodie | Date: | Tue, 15 Apr 2003 19:41:59 +0000 |
| Subject: | RE: [PHP] passing a variable between URL's | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144013@lists.php.net to get a copy of this message | ||
I supposed you could also send it via POST if you added some javascript fun
in. What's wrong with using GET or cookies?
regex documentation
http://www.php.net/manual/en/ref.regex.php
http://www.php.net/manual/en/ref.pcre.php
> -----Original Message-----
> From: Scott Thompson [mailto:scott_thompson@earthlink.net]
> Sent: Tuesday, April 15, 2003 12:44 PM
> To: php mailing list list
> Subject: [PHP] passing a variable between URL's
>
>
> Here is the situation.
>
> somerandomsite.org/pageA.php has a link to somerandomsite.org/pageB.php
>
> when a user clicks on the link in pageA.php, I want to set a variable
> and pass it to pageB.php.
>
> I have seached the docs and the only two solutions I can come up with
> are the use HTTP GETS or cookies. Any other solutions? Is any one
> solution better than the others?
>
> Also, my assumption is that PHP handles regular expressions. Any
> documentation on that? So far the PHP docs have yeilded few clues in
> the subject.
>
> Thanks,
> ~Scott Thompson