Re: Can php-files have DOS-format?
| From: | Analysis & Solutions | Date: | Tue, 18 Jun 2002 20:24:42 +0000 |
| Subject: | Re: Can php-files have DOS-format? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102784@lists.php.net to get a copy of this message | ||
On Tue, Jun 18, 2002 at 01:31:16PM +0200, Knut Olsen-Solberg wrote:
> Many html-files contains php-code, and are written in
> MSWindows environment. Is it important to convert these textfiles to
> Unix format (line breaks with only ascii 10 instead of 13/10) when they
> are published?
No.
But, if your script opens with a pound bang for the interpreter
(eg #! /usr/local/bin/php) then make sure to open it in a text editor on
the unix server and save it.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409