Re: [PHP] Passing variables between pages
- From: tedd.sperling@xxxxxxxxx (tedd)
- Date: Fri, 19 Sep 2008 13:23:16 -0400
At 12:42 PM -0400 9/19/08, Dan Joseph wrote:
On Fri, Sep 19, 2008 at 12:35 PM, tedd <tedd.sperling@xxxxxxxxx> wrote:
At 12:22 PM -0400 9/19/08, Jason Pruim wrote:> storing them in MySQL when using this technique would not require either.
It's interesting that another topic (i.e. [PHP] SESSIONS vs. MySQL) is
discussing the differences in storing variables in SESSIONS as compared to
You've definitely raised an interesting topic.
Question though... a system requires different levels of access to see
various parts of the system. How does your method of doing things w/o
sessions accomidate that? Does it use that information from the origin
POST? Also, is this secure? Any loop holes?
I don't see any loop holes and it's secure as any other php script.
The technique holds all variables intact, including POST, GET, SESSION, et all arrays.
This does work -- as shown by this:
http://www.webbytedd.com/bb/tedd/index.php
Here's another example:
http://www.webbytedd.com/bb/php-run-php/
Note that $test is defined and populated with "This is a test" at the start of the parent script -- however, the contents of the variable remain regardless of which script you choose.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
.
- Follow-Ups:
- Re: [PHP] Passing variables between pages
- From: Nathan Rixham
- Re: [PHP] Passing variables between pages
- References:
- Passing variables between pages
- From: Jason Pruim
- Re: [PHP] Passing variables between pages
- From: "Dan Joseph"
- Re: [PHP] Passing variables between pages
- From: Jason Pruim
- Re: [PHP] Passing variables between pages
- From: Jason Pruim
- Re: [PHP] Passing variables between pages
- From: "Dan Joseph"
- Passing variables between pages
- Prev by Date: Re: [PHP] Associative array issues with loading values after initialization
- Next by Date: Re: [PHP] Associative array issues with loading values after initialization
- Previous by thread: Re: [PHP] Passing variables between pages
- Next by thread: Re: [PHP] Passing variables between pages
- Index(es):
Relevant Pages
|