Re: Passing variables between pages
| From: | Micah Gersten | Date: | Mon, 22 Sep 2008 15:59:36 +0000 |
| Subject: | Re: Passing variables between pages | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280701@lists.php.net to get a copy of this message | ||
You're not passing anything from the browser which is what the OP
wanted. You're hard coding variables and the using them in other scripts.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
tedd wrote:
>
>
> I don't know what a "basic front-end loader pattern" is, but the data
> is available to the next script provided that the script is loaded via
> an include.
>
> As I have shown here:
>
> http://www.webbytedd.com/bb/script2script/
>
> Here are two separate scripts -- one defines and populates the $test
> variable and the other echo's the contents proving the pass was made.
>
> Also note, there is request to the server made here, but the data
> (i.e., $test variable ) isn't passed in the normal manner (i.e., POST,
> GET, SESSION).
>
> Cheers,
>
> tedd
>