You are here: Re: $_SERVER['SCRIPT_FILENAME'] = '/php/php.exe'??? « PHP Programming Language « IT news, forums, messages
Re: $_SERVER['SCRIPT_FILENAME'] = '/php/php.exe'???

Posted by Jan Pieter Kunst on 06/19/05 23:10

bissatch@yahoo.co.uk wrote:
> Hi,
>
> I am trying to use script filename to give me the entire path and
> filename of the current page. For some reason though it is giving me
> the value of '/php/php.exe'. Why might this be?

AFAIK, to get the entire path + filename (from the point of view of the
filesystem, not the webserver) of the current script you can use the
predefined constant __FILE__.

JP

--
Sorry, <devnull@cauce.org> is a spam trap.
Real e-mail address unavailable. 5000+ spams per month.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация