You are here: Re: how does one edit php.ini to allow multiple url parameter separators? « PHP Programming Language « IT news, forums, messages
Re: how does one edit php.ini to allow multiple url parameter separators?

Posted by Jerry Stuckle on 06/25/06 13:44

lawrence k wrote:
> Jerry Stuckle wrote:
>
>>lawrence k wrote:
>>
>>>This is what is set by default in the php.ini that is on our server:
>>>
>>>arg_separator.input = ";&"
>>>
>>>I want the PHP on the server consider both:
>>>
>>>&
>>>&
>>>
>>>to be parameter separators. How do I do that? I tried:
>>>
>>>arg_separator.input=";&;&"
>>>
>>>but that did not work.
>>>
>>
>>It's not possible - an input separator is a single character. See the comments
>>in the php.ini file:
>>
>>"NOTE: Every character in this directive is considered as separator!"
>>
>>I don't know how you'd ever get &amp as an input separator anyway.
>
>
> But that's impossible. "&" is the separator that the W3C.org
> suggests, and I know I've seen sites that do it in a way that conforms
> to standards.
>
> I think I asked this question a few years ago, but I can't find it now
> through Google. Still, the idea that every site that uses PHP is
> non-conforming to web standards clearly can't be right.
>
> I suppose "&" by itself would work? I'll give that a try.
>

Read the comments in the php.ini file. And understand what &amp is - and it's
relationship with the ampersand character.

Separators are a single character. No more, no less.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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