You are here: Re: ampersands in urls W3C validation problem « All PHP « IT news, forums, messages
Re: ampersands in urls W3C validation problem

Posted by Andy Hassall on 05/21/05 18:20

On Sat, 21 May 2005 17:06:16 +0200, Wiert Dijkkamp <wiert.dijkkamp@hccnet.nl>
wrote:

>My website uses sessions and therefore sends PHPSessionID's throug the url
>whenever a browser does not accept cookies. This works well except tha when
>i try to validate the webpage with W3C it complains about my url's having &
>which I should change in &amp;. How can I tel my webserver to do that?
>url: http://www.kunstenschool.nl

http://uk.php.net/manual/en/ini.core.php#ini.arg-separator.output

PHP's default configuration file has this (wrongly) set to "&" when it should
be "&amp;", or ";" (with ";" added to arg_separator.input).

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

 

Navigation:

[Reply to this 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

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