I could barely find a reasonable title that would explain my issue, let alone try and search for how to fix this.
My issue :
1) User uploads a .zip with say: flash.swf images.xml image.jpgs
2) It gets extracted into a unique folder ID ex. /swfs/123456/
3) Server tries to load the .swf in "index.php" and the .swf tries to call the .xml file, which should be in the same directory as the .swf, thinking xml src="images.xml"
The .swf thinks the xml file is in the same folder, but I guess when HTML calls a .swf is confused of it's directory. It's looking for an xml file that doesnt exist because its looking in the same folder as index.php instead of the .swfs original folder ex. /swfs/123456/images.xml
How would I possibly tell the .swf to load an xml without knowing what the directory is, or stop html from confusing my .swf of it's original location?
*Or is it that the xml file is confused of it's location and linking to the wrong images?