looking to utilize $_GET in my image gallery code as register_globals is Off.
// Capitalize the first letter in the directory name to use as a title later on.
$g_name = ucfirst($_GET['directory']);
The above works fine and prints the directory name back to the page when called with echo "<b>$g_name</b>";
I am having a problem digging into the directories though.
$thumbs_dir = "$g_dir/$_GET['directory']/thumbs/";
The above blows up, and I am guessing it is a simple syntax issue with how I am trying to call the $_GET
Can anyone help with this?
Thanks!