You are here: Re: PHP adds hidden value « PHP Programming Language « IT news, forums, messages
Re: PHP adds hidden value

Posted by P Sobstel on 10/17/61 11:54

The validator raises errors, because PHP uses default value & for
adding vars to urls. And if your site is written in XHTML it should be
&. But you don't have to use only cookies (though it's recommended
for the sake of security - remember though that if you disable
transparent sid support then session won't work for users that don't
accept cookies from your site).

You can simply add following lines either to .htaccess or php.ini. :

php_value arg_separator.input ;&
php_value arg_separator.output &

Check manual if you wanna know what these directives exactly do.

-----
sopel

 

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

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