Hi
Can anyone advise me where to place xml data. I've been supplied with a get date php scrip and the xml file, however I do not know where to place the info.
Since you repost in a deleted duplicated thread, I am willing to help. But whether you can get the essence of the thing, I leave it to the fate.
>Can anyone advise me where to place xml data. I've been supplied with a get date php scrip and the xml file, however I do not know where to place the info.
[1] Despite all the ambiguities, if you want to fetch data via a php script, you have to install php, preferrably v5+. Have you done so?
[2]>and the xml file, however I do not know where to place the info.
[2.1] With the provision of the php script, you do not need to place the xml source file to anywhere on your local m/c. The script is capable to getting the info via tcp transport to get the data where it is placed on the site of the one who supplies you the php script.
then you place the php script file (property-thirdparty.php) under the root folder, namely, the subdirectory ./site. The property-thirdparty.php file is endowed with the capability to interfacing with any needed third-tier db/xml source etc... and serve you the data stream. The shown script will print the data on the console. It would _not_ be enough to supply you the property-thirdparty.php and the posted script. You need more on the 3rd-tier of the architecture.
[2.3] I would say you leave the info on the site cited, and with the post script, you can simply run the script as an administration script and the data will be printed to the console. That would be the better solution if somebody else is doing the backend. You simply run the script means you can save the posted script practically _anywhere_ and you run it by the command line:
[tt]php.exe yourscript.php[/tt]
and that's all it needs do.
You've to read the above carefully to get the essence of the advice. (If you don't understand php, it may be hard to comprehend. But, you may as well ba an expert on php, I just don't know. If yes, I shouldn't say spend that much words.)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.