Reply to Re: HTML Validation Errors - Sessions

Your name:

Reply:


Posted by Alvaro G Vicario on 06/07/05 12:44

*** StevePBurgess@gmail.com wrote/escribió (7 Jun 2005 02:30:01 -0700):
> <a
> href="printerfriendly.php?pn=1&PHPSESSID=1fa03d252f4998f205c34b67f45873ee">"
>
> This is because PHP is inserting session variables using & rather than
> &amp;. I have searched the net for a solution - and have identified one
> or two that I can't seem to get to work.

Edit arg_separator.output in php.ini:

arg_separator.output = "&amp;"

BTW, and it's merely a matter of opinion, I don't think it's a good idea to
send session ids in URLs. That way they end up in bookmarks, forwarded
address, etc.


> Can someone suggest a definitive solution. I do not have full access to
> the server (shared hosting).

Oops... :)
Then try ini_set(), maybe you're allowed to change it per-script.


--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация