Re: realpath() problem
| From: | Ankur Verma | Date: | Thu, 15 Feb 2001 07:11:21 +0000 |
| Subject: | Re: realpath() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39852@lists.php.net to get a copy of this message | ||
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" <dhaval_adams@yahoo.com>
To: "Ankur Verma" <averma@noida.hcltech.com>
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/