In reply to:
Now I'm getting this error;
Fatal error: Call to undefined function: simplexml_load_file().
Hafta admit, I haven't the slightest notion what'd cause this.
In reply to:
All I did was copy the working PHP script with a PNG extension. I also tried using a symbolic link as well. So, apache can't find the function with in a PNG file but it can in the PHP file?
Just a thought (..without seeing your source code in total), but it looks like whatever script you're trying to create is the proverbial "Ten pounds of whatever in a five-pound bag". I use scripts to process graphics (..usually for simple stuff like thumbnailing and watermarking) and I tend to keep the graphics processing as a separate process from the rest of the output.
The long and short of which is, the xml call is out of my experience - you needs yerself someone what's smarter than me.