Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2003
    Location
    USA
    Posts
    99
    Thanks
    24
    Thanked 0 Times in 0 Posts

    http://bash.org/?browse URL

    How can I get a url like:

    http://bash.org/?browse

    not http://bash.org/?browse=kasdjf

    I just want index.php?browse

    I've tried random things using $_GET but I failed. Help please?

  • #2
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    PHP Code:
    echo $_SERVER['QUERY_STRING']; // browse

    // ...or...

    isset( $_GET['browse'] ); // TRUE 

  • Users who have thanked kbluhm for this post:

    Blatch (08-31-2009)

  • #3
    New Coder
    Join Date
    Mar 2003
    Location
    USA
    Posts
    99
    Thanks
    24
    Thanked 0 Times in 0 Posts
    Thank you!!


  •  

    Posting Permissions

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