|  | Posted by Didier Willame on 11/06/05 11:57 
Hello,
 I would like to use the 'foo' class stored in
 http://www.argonauts-it.be/foo.php .
 
 This the code ( http://www.argonauts-it.be/test.php ) :
 
 <?php
 ignore_user_abort( true );
 
 ini_set('error_reporting', E_ALL);
 ini_set('display_errors', TRUE);
 
 ini_set( 'allow_url_fopen', true );
 
 include_once 'http://www.argonauts-it.be/foo.php';
 
 $c = new foo();
 ?>
 
 And this is the raised error:
 
 Fatal error: Cannot instantiate non-existent class: foo
 in /<blabla>/test.php on line 96
 
 
 I would like to use the include via the URL, to be able to share the same
 code within different domain names.
 
 All information allow me to continue is welcome.
 
 Thanks.
 
 Have a nice day,
 /didier
  Navigation: [Reply to this message] |