Load XML file into PHP from a link -


I have a list of links to XML files on a site on my site:

file 1 xml
File2.xml
File3.xml
etc ...

And to display parsed XML in the formatting of my choice I have a separate partition. Parsing PHP I want to load the contents of the file into a PHP file to parse by clicking the link of the personal file. Is there any way to do this?

You can use $ _GET to load each file individually.

mysite.com/index.php?file=file1.xml

Then use any kind of parser where the file you will parse is the one that is in the variable .

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -