|
Posted by Jerry Stuckle on 02/03/07 13:52
Gunnar G wrote:
> In many cases I use URLs like foo.php?a=4b&c=d&e=f&g=h etc.
> to send variables from one script to another
> Is there a way to not have the long URL and just call foo.php and send the
> variables in a more "invisible" way?
>
Gunnar,
If you're just passing data from one page to another, you could use the
$_SESSION variable. Easier than using CURL, but one difference with
what you have now. $_GET values are transient - they only appear when
they are passed as parameters. Once a $_SESSION value is set, it
remains until you clear it or the session ends. This may or may not
cause problems for you.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|