Re: Adding a single php file to .htaccess.
| From: | Dotan Cohen | Date: | Sun, 24 Aug 2008 14:39:55 +0000 |
| Subject: | Re: Adding a single php file to .htaccess. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278588@lists.php.net to get a copy of this message | ||
2008/8/24 Stut <stuttle@gmail.com>:
> In theory all you need to do is add a hash-bang line to the start of the PHP
> scripts. This should work...
>
> #!/usr/bin/env php
>
Thanks, that's what I am doing right now. I was hoping to avoid that
for portability, but if it is unavoidable then I can live with it.
Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü