1) Script Title: PHP Photo Album

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...photoalbum.htm

3) Describe problem: I copied/pasted the code for this script into a new page. The only other thing I added was a title to the page. I try to preview it in my browser and I get a blank titled page, with the exclamation point in a yellow triangle down in the corner to notify you of an error. When I click on the triangle and go to details, I get:
Line: 139
Char: 11
Error: 'galleryarray' is undefined

The page is on an internal intranet site so I can't provide a link. The php file and the photos are in http://rmxmis/EmployeeDirectory. The htm page I'm trying to put the album on is called photos.htm.

Does the photos.htm need to be in the same folder as the php file and the photos? Or does this mean our webserver can't handle php? (I asked the question here but haven't received an answer yet.)