You are here: Re: OT. Windows server paths and PHP includes « HTML « IT news, forums, messages
Re: OT. Windows server paths and PHP includes

Posted by dorayme on 06/18/07 05:15

In article <9sodi.928$iz5.806@newsread4.news.pas.earthlink.net>,
"BootNic" <bootnic@bounce.earthlink.net> wrote:

> > dorayme <doraymeRidThis@optusnet.com.au> wrote:
> > news: doraymeRidThis-2D0C70.11411318062007@news-vip.optusnet.com.au
> > In article <iTkdi.1534$W_6.51@newsread1.news.pas.earthlink.net>,
> > "BootNic" <bootnic@bounce.earthlink.net> wrote:
> [snip]
> > I put a test html page up, with your
> [snip]
> > on it and got back:
> >
> > .;e:\php
> >
> > This a clue to fashioning a "global" path address? What now?
> Looks like there is no include_path set that would be of any use to you.
> [snip]
> Try the following and let me know what happens.
> <?php
> ini_set('display_errors','On');
> while(@ chdir ('.') or die ('Failed to open directory.')){
> $tem=getcwd();
> @ chdir ('..') or die ('Failed to open directory.');
> if($tem==getcwd()){
> break;
> }
> echo getcwd().'<br>';
> }
> ?>

I got "Failed to open directory."

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

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