Re: Cannot instantiate non-existent class



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@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: How do I insert a cgi script into Publisher page?
    ... Each time I write ISP I keep telling my self that someone somewhere is going to go to AOL and look for their site, ... One is a straight forward form mailer working with publisher forms and the other is script form that requires the sender to put in a 4 number code to send. ... Though Publisher uses 'ISP' I think that may be confusing to some as my ISP is not where I host my website. ... If your ISP supports cgi and has a form handling program then a form created in publisher will function using FTP upload rather than front page server extensions to upload the pages. ...
    (microsoft.public.publisher.webdesign)
  • Re: How do I insert a cgi script into Publisher page?
    ... Your way of using Google to find the relevant help information on a host ... Though Publisher uses 'ISP' I think that may be confusing to some as my ... If your ISP supports cgi and has a form handling program then a form ... or any where else you so desire or an auto redirect script with a delay. ...
    (microsoft.public.publisher.webdesign)
  • [OT, embarrassing] trouble understanding ping output
    ... I have a script pinging my ISP and I don't understand ... This is a perl script running on the server on my LAN. ... the max rtt is 5 ms. ... The host is *very* lightly loaded. ...
    (Debian-User)
  • Re: internet proxy
    ... Is it possible to create separate shortcuts to IE - one with 'proxy server ... This script gets used when you enable the "Automatically ... connect to the host so no proxy would get used. ...
    (microsoft.public.windowsxp.general)
  • Re: How do I insert a cgi script into Publisher page?
    ... is not where I host my website. ... If your ISP supports cgi and has a form handling program then a form ... You must tell the server what e mail address you want the form results ... any where else you so desire or an auto redirect script with a delay. ...
    (microsoft.public.publisher.webdesign)