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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    defining the after ? to what is globbed

    I am currently using the glob function to get an print all the images in a given folder for a slideshow into my slideshow page... the question is, how would I define the URL as www.website.com/slideshow.php?$filenameglobbed

    Do I have to do this with an htaccess write (which just seems way too inefficient) or is there a better way?

    Thanks guys!

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    $_SERVER['QUERY_STRING'] gives you everything after the question mark.


  •  

    Posting Permissions

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