Posted by Janwillem Borleffs on 12/06/07 15:39
JP schreef:
> When I attempt to run it at the command line
> C:\ php t.php
>
> I get the following error:
> PHP Parse error: syntax error, unexpected $end in C:\Sebastian\pbuuc
> \auction\t.php on line 12
>
Perhaps the file contains control characters originating from your
editor (word?). When you have access to a *nix platform, try to clean
the file with the dos2unix utility.
If you don't have access to this utility, but your editor supports
exports to ascii text or utf-8 encoding, use that.
JW
[Back to original message]
|