Results 1 to 6 of 6

Thread: URLS diffrent in some scripts

  1. #1

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    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

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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.

  3. #3
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802

    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

  4. #4

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    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

  5. #5

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: URLS diffrent in some scripts

    just found this thread. still would like an answer to he above question
    My usual boring signature: Something

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width