Reply to Re: php script path?

Your name:

Reply:


Posted by Markus L. on 07/10/05 03:58

Am Sat, 09 Jul 2005 19:13:37 +0000 schrieb Enter The:

> Hey,
>
> Suppose I had a script called file.php.
>
> Within file.php, how do I parse file.php into a variable? I don't want to
> explicityly tell the script that it's called file.php as I want to do this
> with many files.
>
> Thanks,
>
> Anon.

Use the constant __FILE__

--
-------------------------------------------------------
Try this: SCA the Smart Class Archive for PHP
http://www.project-sca.org
-------------------------------------------------------

[Back to original 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

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