Forum Moderators: coopster
[edited by: coopster at 7:07 pm (utc) on Feb. 5, 2005]
[edit reason] generalized url per TOS [webmasterworld.com] [/edit]
$xml = file_get_contents("http://www.example.net/xml/viewteam_v2.asp?team=%3DVX9%3D+Delta+Company");
$local = fopen("twl.xml", "w") or die("Error opening local TWL XML file");
if (fwrite($local, $xml, strlen($xml)) {
echo "Cannot write to file ('twl.xml')";
Better yet: check out the php function
copy().
It's easy to get confused with handlers, from the looks of things here you're probably very confused with what's supposed to be going on here - no prob, it'll come with a bit more practice.
[edited by: coopster at 7:08 pm (utc) on Feb. 5, 2005]
[edit reason] generalized url [/edit]