[quote]Now I’m getting this error;
Fatal error: Call to undefined function: simplexml_load_file().[/quote]
Hafta admit, I haven’t the slightest notion what’d cause this.
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.