URLS diffrent in some scripts
I almost always see URLS one way, like this:
http://www.domain.tld/script.php?key=value&key2=value2
on SMF forums, their urls look like this:
http://www.domain.tld/script.php?key=value;key2=value2.
when i tried to do that kind of url on my site, it spat an error at me. I was just wondering how they got that to work, and why they would want to do it differently?
Re: URLS diffrent in some scripts
arg_separator.input and arg_separator.output in php.ini. On shared hosting, these are settable using a php_flag directive in a .htaccess file.
Re: URLS diffrent in some scripts
Where I have my hosting they're using PHPsuexec, so I just place a php.ini file with the settings I want in the directory I want them.
Re: URLS diffrent in some scripts
oh ok. But why would someone want to have them differently? are there upsides, or is it just a different way of doing it?
Re: URLS diffrent in some scripts
just found this thread. still would like an answer to he above question :)
Re: URLS diffrent in some scripts
I would imagine for compatibility reasons and also some modules in Apache may process command line arguments prior to PHP - so it is desirable to use a different format.