Quote:
03-09-03 at 11:12 AM AmericanWoman said this in Post #4
I get this error message when I try to use that script:
I'm not a Unix guru by any means, so perhaps I'm doing something wrong...but I can't figure out what!
PHP Code:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /usr/local/apache/htdocs/forums/randimage.php on line 7
Warning: opendir(/images/gallery/) [function.opendir]: failed to open dir: No such file or directory in /usr/local/apache/htdocs/forums/randimage.php on line 9
Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/apache/htdocs/forums/randimage.php on line 11
Warning: closedir(): supplied argument is not a valid Directory resource in /usr/local/apache/htdocs/forums/randimage.php on line 24
document.write('');
Help?
|
have you got an images folder present in the place where you're running this script