|
Posted by BootNic on 06/18/07 05:09
> 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>';
}
?>
--
BootNic Monday, June 18, 2007 1:08 AM
Facts do not cease to exist because they are ignored.
*Aldous Huxley*
Navigation:
[Reply to this message]
|