Getting base URL and parameters from a URL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aaron Gray

    Getting base URL and parameters from a URL

    Hi,

    I am wanting to disect the $_SERVER['HTTP_REFERER'] URL into a base URL and
    its parameters. So I can do $_POST processing where appropriate.

    Is there a builtin function or functions that will do this for me ?

    Many thanks in advance,

    Aaron


  • ZeldorBlat

    #2
    Re: Getting base URL and parameters from a URL

    On Feb 13, 10:36 pm, "Aaron Gray" <ang.use...@gma il.comwrote:
    Hi,
    >
    I am wanting to disect the $_SERVER['HTTP_REFERER'] URL into a base URL and
    its parameters. So I can do $_POST processing where appropriate.
    >
    Is there a builtin function or functions that will do this for me ?
    >
    Many thanks in advance,
    >
    Aaron
    <http://www.php.net/parse_url>

    Comment

    Working...