Re: include remote class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





im doing include('http://www.mysite.com/class.php'); and then i create new instance but i get error - cannot instantiate non-existant class how can i get this remotely hosted class file to be defined?

If you surf to that URL, do you see PHP source, or do you see HTML/nothing?


You may want to use .phps to get source, or .inc if mysite.com is
configured to serve those up as PHP.

You also have to make sure class.php is actually valid code...


You also maybe want to use a SOAP service maybe ? nusoap works well.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux