Dear all,
I try to use SSL by using httpdocs. Therfor i need in a php script wich is installed in a httpdoc directory, my class directory wich is installed in a httpsdoc directory.
the code:
function __autoload($class)
{
require_once(‘https://restricted/classes/’ . $class . ‘.php’);
}
gives the error:
Fatal error: require_once() [function.require]: Failed opening required ‘https://restricted/classes/session.php’ (include_path=’.;C:\Program Files\xampp\php\PEAR’) in C:\Program Files\xampp\htdocs\golfsite\index.php on line 4
Can anyone give a hint whats wrong?
Kind regards,
Cees
Related posts:
Comments