iEthan
Member
So, I'm creating a XML-based PHP content management system. Here is the basic hierarchy of the directory.
LiteManage/
pgs/
index.xml
.htaccess
display.php
...
index.php
So, I want to create a script that will get the index.php and match it with a XML file in pgs/ (which would be index.xml). I know how to display the contents with SimpleXML, but I can't figure out how to get the url. I know you use $_GET, but what format?
Thanks,
~Ethan
LiteManage/
pgs/
index.xml
.htaccess
display.php
...
index.php
So, I want to create a script that will get the index.php and match it with a XML file in pgs/ (which would be index.xml). I know how to display the contents with SimpleXML, but I can't figure out how to get the url. I know you use $_GET, but what format?
Thanks,
~Ethan