Re: --enable-trans-sid and passing other variables in the url
| From: | Roberto Cespa | Date: | Fri, 21 Jul 2000 13:35:05 +0000 |
| Subject: | Re: --enable-trans-sid and passing other variables in the url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7562@lists.php.net to get a copy of this message | ||
Well... it's quite strange! I'm using enable-trans-sid on my site and I often use that
kind of links.
What version of php are you using? I had some problems with versions <4.0.1pl2.
Hope this helps,
Roberto Cespa
Keith Vance wrote:
> I have enabled trans-sid to automagically put the
> PHPSESSID=09834092384902834092 on my links. But I can't figure out how
> to do this so that I can pass other variables in the url as well.
>
> If I do it like this:
> <a href="signup.php?test=testvar">Sign Up</a>
> I get this as the url:
>
> http://server-name/signup.php??PHPSESSID=50e0a2ef9276809201c1d9eeba041ffftest=testvar
>
> That's not right.
> ^^
> ^^^^^^^^
>
> If I do it like this:
> <a href="signup.php&test=testvar">Sign Up</a>
> I get this:
>
> http://server-name/signup.php&?PHPSESSID=2333c673957e538fca6c3eee43813887test=testvar
>
> That's not right either
> ^^
> ^^^^^^^^^
>
> The documentation is limited to say the least on this functionality. It
> is mentioned once on the php web site, but never fully explained.
>
> Thanks,
> Keith
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Colombo2000
http://www.colombo2000.it
Il tuo prossimo viaggio comincia qui