TRANS_SID troubles
[email protected] ("Paul S. Gumerman") Sat, 03 Jun 2000 21:43:19 -0400
| Newsgroups | php.version4 |
|---|---|
| Organization | Cooldog Technologies |
| Message-ID | <[email protected]> |
Sascha (or anyone else who can help),
I'm using RC4dev with RH6.1/ Linux-Apache. I'm having some troubles
with TRAN_SID mangling URL's.
If I have <a href=/all/php/restart.php>Log Out</a>
the ?PHPSESSID=... is appended to the URL properly, like so:
<a
href=/all/php/restart.php?PHPSESSID=51df322e3c3061ef587f42ae8d650cfb>Log
Out</a>
But if I embed a PHP var into the URL like this:
$LANGDIR = 'ENGL';
<a href=/<?=$LANGDIR?>/USER/map.php>Site Map</a>
then the output gets ugly:
<a
href=/?PHPSESSID=51df322e3c3061ef587f42ae8d650cfbENGL/USER/map.php?&960079833>Site
Map</a>
If I write it like this:
<?="<a href=/$LANGDIR/USER/map.php>"?>Site Map<?='</a>'?>
then PHP generates the correct output, but I'd like to avoid doing this,
since it makes the links "invisible" to Dreamweaver, and makes it hard
to work with.
I've looked at the current CVS, it it doesn't appear that any changes
have been made to the url_scanner code since long before the version
that I am running.
Any help would be appreciated ...
Regards,
Paul
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com