| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2003
5 posts
Gave thanks: 0
Thanked 0 times
|
im trying to create a thumbnail gallery and im starting out with the basics, I want use the following code to set the dirrectory to my images folder. If my images were located at www.mysite.com/images how would the following code go
$handle = opendir(???????) or die("cannot open directory"); |
|
|
|
|
#2 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2003
Lives in St. Louis, MO USA
26 posts
Gave thanks: 0
Thanked 0 times
|
$config['albumdir'] = "/Photoalbum/albums/";
$config['fullpath'] = "/home/username/www/$config[albumdir]"; $dir = opendir("$config[fullpath]$filepath"); Something like that.. ![]() |
|
|