Re: PATH_TRANSLATED
| From: | �ystein H�land | Date: | Sun, 08 Jun 2003 10:59:16 +0000 |
| Subject: | Re: PATH_TRANSLATED | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150663@lists.php.net to get a copy of this message | ||
"Dvdmandt" <dvdmandt@telia.com> skrev i meddelandet
news:20030607202103.89317.qmail@pb1.pair.com...
> Are you sure it doesn't work? I thought it didn't at first, that variable
> doesn't exist unless you call the script with a index.php/dir/file.txt if
> you get what I mean... This was my case, pretty long ago so maybe things
> have changed...
I'm sure and I'm sure it works on the Linux box where my pages is placed.
This is not a question of writing a fuctional code, but writing correct
code! In my perspective that means platform independent!
(btw: the problem occure i my update script:
if (date("M",filemtime($_SERVER['PATH_TRANSLATED']))=="Jan") {......}
)
> "ØYstein HåLand" <ha@ematte.se> skrev i meddelandet
> news:20030607153736.91800.qmail@pb1.pair.com...
> > Is there some way to retrieve the phpvariable PATH_TRANSLATED on my
local
> > win2k+Apache2+php4.3.2 box?
> > Using phpinfo() does not show PATH_TRANSLATED
> >
> >
>
>