Hi everybody,
I am trying to create a script that would create a local copy of an XSL file output.
I used the following code:
<?php
copy(“http://myremoteserver.com/test.xsl”, "test.xsl");
?>
Unfortunately, php copies the file “test.xsl” onto my local server instead of copying the OUTPUT of this file. The output of my XSL file is an XML document. How can I get this XML document instead of the original XSL file?
I also tried the following code but then I get a parsing error:
<?php
copy(readfile(“http://myremoteserver.com/test.xsl”), "test.xsl");
?>
Any idea? Thanks in advance for any help!
Macsym