It is possible to set up PHP in order to disallow downloading files from Web using method fopen();
The solution is to use curl package methods.
Error message from my application:
"Warning: fopen(http://purl.org/jspetrak/profile-foaf) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /DISK2/WWW/zapisky.info/foaf-explorer/rdfapi/syntax/RdfParser.php on line 2160
RDF Parser: Could not open File: http://purl.org/jspetrak/profile-foaf. Stopped parsing."
Logged In: YES
user_id=1857680
Originator: NO
Yeah, agreed. The _http_get function is replicated in several places around the library. It would be useful to abstract this away into one common function, and make it configurable (in constants.php) to use fopen or curl depending on what the host has installed.