First, let me start by saying that I'm not a PHP programmer. Several years ago one of the forum members wrote some PHP code for me and it worked fine.
Recently, the company that provided our hosting service was bought out and now the code no longer works.
The purpose of the code is to display sets of photos located in different folders. The display is actually handled by 3 different PHP routines. I've attached them in a zip file to save space in this post.
The first, ShowScenes1, merely sets up the display area. Essentially just a bordered table.
The second, showscenedefs, actually does the displaying of the photos. It uses the third, newbuild_array, to create the arrays of photo file names in alphabetical order.
I think the problem is that now, the newbuild_array can't find the photo folders.
I believe that the problem is the way showscenedefs is passing the addresses of the photo folders. It appears to be absolute and, I think, tailored to our previous hosting service.
I've tried a couple of different ways to address for folders, pretty hit and miss, but no luck.
I'm hoping that someone can come up with a way to make the addressing more generic and server independent.
Thanks in advance for any help you can provide.
Jim
Bookmarks