On Fri, Apr 27, 2001 at 08:49:46AM +0200, Jimmy Lantz wrote:
> Hi, I have a problem,
> that when I get a parse error it always says that it's on line 1 in 
> this or that file.
> Where is the configuration option to set this right?

When I had this problem it turned out that the files in question had
been created on a Macintosh in Adobe GoLive, I think. The newline
characters in files created by this program are different to those used
on Unix or DOS computers, which messes up things to the effect that the
PHP parser only sees a single line. I used a tool from the Perl Power
Tools page to convert the Mac files to Unix format, and the problem went
away:

http://language.perl.com/ppt/src/nlcvt/index.html

Cheers, Frank

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to