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
Post a Comment