try using

$PATH_TRANSLATED variable

also use the phpinfo() function to get lots of information which you can use

hope that helps

best regards

Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India


.----- Original Message -----
From: "Dhaval Desai" <[EMAIL PROTECTED]>
To: "Ankur Verma" <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 11:54 AM
Subject: realpath() problem


> Hi!
>
>
> I am trying to find the absolute path of a particular
> file:
>
> For that I am using realpath() function in php.
>
>
> I made two files:
> path.php;
> try.php
>
>
> Path.php is as follows:
> ******************************
> <?php
>
>
> $path = realpath("./try.php");
> echo "$path";
>
>
> ?>
> ************************************
>
> try.php
>
> ****************************
> <?php
>
> echo "Hiee!";
> ?>
>
>
>
>
> It returns a blank string..I mean It echos nothing...
>
> Can anybody tell me where's the problem.
>
>
> Thank You!
> Dhaval Desai
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to