How would I go about have a script do a couple different things based on a variable in the URL without specifying each variable within the script?
ex)
lyrics.php?fed=fedname would display a dir listing of everything in the "fedname" directory (preferably split into tables, but I didn't even look for that yet, so I'll try that later), and
lyrics.php?fed=fedname&name=wrestlername would display the file "wrestlername" in the "fedname" directory.
I don't know if this is possible at all, but I'd figure I'd ask, I looked through the php docs but didn't see anything
ex)
lyrics.php?fed=fedname would display a dir listing of everything in the "fedname" directory (preferably split into tables, but I didn't even look for that yet, so I'll try that later), and
lyrics.php?fed=fedname&name=wrestlername would display the file "wrestlername" in the "fedname" directory.
I don't know if this is possible at all, but I'd figure I'd ask, I looked through the php docs but didn't see anything
Comment