Reply to Re: [PHP] include remote class

Your name:

Reply:


Posted by Dan Rossi on 05/11/05 18:41

>
>>
>> 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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация