hi
i want to include and use some class in other server, in both server "allow_url_include" in php.ini file is "On" and i can include the class file , but i can't use !
when i include the php file in other server every thing is ok but when i want to use class or funtion in php class file : Fatal error: Class 'MyClass' not found...
in server one :
MyClass.php:
PHP Code:
<?php
class MyClass
{
function MyClass()
{
echo "say hello to me";
}
}
?>
and in server two :
test.php :
PHP Code:
<?php
include 'MyUrlInServer1/test/MyClass.php';
$MyObject=new MyClass();
?>
Please Help Me
TnX