You are here: Re: Cannot instantiate non-existent class « PHP Programming Language « IT news, forums, messages
Re: Cannot instantiate non-existent class

Posted by Jerry Stuckle on 03/01/06 00:09

julian_m wrote:
> kay wrote:
>
>>try first with the most simple - try including a file that is placed in
>>the same directory as the script
>
>
> That's what I tried hundred times...
>
>
>>forget about classes etc. if u cant
>>include it - contact your ISP and ask them what to do :-)
>
>
> They said:
> 'access to your file with absolute path:
> "www.yoursite.com/your_file.php" '
>
> It's really strange
> isnt it?
>
> sdos - jm
>

Julian,

The problem is - when you access it through http, all you get is the
HTML (if any) generated by the script. This is how it should be -
otherwise anyone would be able to access your source code!

IIWY I would go back to the host and get a better answer. If you can't
get a better answer than that, change hosts!

include('inc.php') is a very basic statement, and used *very* heavily in
PHP. If it doesn't work on your host, and they can't fix it, its time
to get a new host!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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