Certainly. Inside getpics.php, find the line:
And change that to:
Code:
$imagesdirpath=$_SERVER['DOCUMENT_ROOT'] . "/phpalbum/"; //server path to your images directory
returnimages($imagesdirpath);
Where $imagesdirpath=$_SERVER['DOCUMENT_ROOT'] . "/phpalbum/" is the path to your images directory. Just change "/phpalbum" to the full path of your images directory relative to your server's root (ie: mydomain.com).
You may want to read up on PHP's predefined variables to find out the various ways you can retrieve the path to a folder on your server. There are a few ways.
Bookmarks