6 * Example class for HTTP accessable external objects
10 class ExternalStoreHttp
{
11 /* Fetch data from given URL */
12 function fetchFromURL($url) {
13 ini_set( "allow_url_fopen", true );
14 $ret = file_get_contents( $url );
15 ini_set( "allow_url_fopen", false );
19 /* XXX: may require other methods, for store, delete,
20 * whatever, for initial ext storage