|
-
Jun 20th, 2007, 02:22 AM
#1
Thread Starter
WiggleWiggle
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?
My usual boring signature: Something
-
Jun 20th, 2007, 02:37 AM
#2
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.
-
Jun 20th, 2007, 04:04 AM
#3
Fanatic Member
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.
Never argue with fools, they will only drag you down to their level, and beat you with experience.
Q: How do you tell an experienced hacker from a novice?
A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer
-
Jun 20th, 2007, 12:15 PM
#4
Thread Starter
WiggleWiggle
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?
My usual boring signature: Something
-
Jul 1st, 2008, 02:18 AM
#5
Thread Starter
WiggleWiggle
Re: URLS diffrent in some scripts
just found this thread. still would like an answer to he above question
My usual boring signature: Something
-
Jul 1st, 2008, 04:10 AM
#6
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|