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
[Back to original message]
|