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