You are here: Re: PHP Server Paths (Probably OT) « HTML « IT news, forums, messages
Re: PHP Server Paths (Probably OT)

Posted by Rik on 02/16/07 14:55

On Fri, 16 Feb 2007 08:46:52 +0100, dorayme =

<doraymeRidThis@optusnet.com.au> wrote:
> What do you suggest i actually do in plain and strict algorithmic
> manner to answer your echo question?
>
> Don't laugh but I added a line toi an html doc that goes:
>
> <?php echo $_SERVER['DOCUMENT_ROOT']; ?>
>
> uploaded the doc to the Optus server and accessed the doc in a
> browser and got:
>
> "PHP Warning: main(/includes/footer.inc) [function.main]: failed
> to create stream: No such file or directory in
> e:\inetpub\esvc000862\globalTest.html on line 13 PHP Warning:
> main() [function.main]: Failed opening '/includes/footer.inc' for
> inclusion (include_path=3D'.;e:\php') in
> e:\inetpub\esvc000862\globalTest.html on line 13"
>
> How do I suck on that?

Well, it's like HTML/CSS questions, trim all unnecessary code. So make a=
=

file _only_ containing <?php print_r($_SERVER); ?>, and we'll know a lot=
=

more.

A possible <?php phpinfo(); ?> reachable somewhere would help a lot too,=
=

then we can see most of the configuration.
-- =

Rik Wasmus

 

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

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