note 14279 added to function.xmldocfile.php

From: Date: Wed, 25 Jul 2001 00:25:33 +0000
Subject: note 14279 added to function.xmldocfile.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15800@lists.php.net to get a copy of this message
If you have a remote file you want to load up instead of a local file use this: $doc = xmldoc(url_to_str("http://domainsrc.com/datasrc.php")); function url_to_str($url) { $fp = fopen($url, "r"); $str = ""; while(!feof($fp)) $str .= fgets($fp, 1000); return $str; } http://www.php.net/manual/en/function.xmldocfile.php

« previous php.notes (#15800) next »