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

Posted by dorayme on 02/16/07 21:08

In article <op.tnujrlnyqnv3q9@misant>,
Rik <luiheidsgoeroe@hotmail.com> wrote:

> 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='.;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.
>

It will be exactly the same. The remark I quoted was in direct
response to the php line I thought you were suggesting. Trim what?

> A possible <?php phpinfo(); ?> reachable somewhere would help a lot too,
> then we can see most of the configuration.

Yes, there may be clues here. Anything in particular that is
important out of the masses of info in the panels that come up?

There is:

System
Windows NT localhost 5.2 build 3790

Server API
CGI/FastCGI
Virtual Directory Support
enabled
Configuration File (php.ini) Path
E:\PHP\php.ini

and, here is a snippet from something to do with includes, roots
I notice:

include_path Local Value is .;e:\php Master Value is .;e:\php

(looking at this stuff makes me want to go and have 5 double
bourbons in a row quickly...)

--
dorayme

 

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

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