Let me preface by saying I know NO php so this will probably be an easy question but I’m just a php-moron so don’t laugh at me please.
Okay, I have a cool photo stack fla that reads an xml and a php file to load the photos. In the original file the photos were all on the same directory level as the swf, php, and xml files. I altered it to have the photos in a directory called “pics” which the xml has no trouble reading. Everything works great when tested on my machine but when I load everything up onto my server the only photo being read is one that is on the same level as the files, not the subdirectory of “pics”. I’m taking a big guess here thinking that it’s something to do with the php file. Here is the code it contains:
On my site I set a variable ‘domain’ and give it the full path of the domain I’m using. It helps when you need to use the domain often (header values etc).
Well, what’s posted above is just the php file. I’ll have to take a closer look at the xml file but I believe it to be valid. What in the php code makes you think the xml code isn’t right?
Thanks for catching that backslash - I did change it.
But the gallery is still not working. It shows nothing. I even tried adding a preloader to see if that was the problem - just the simple one from kirupa: