I guess I found a bug in Freeway…
I’m building some PHP features into my new site, and are testing them on my local Linux server. All was going well until I tried to add some extra HTML using the PHP echo() funtion.
I tried the following using a PHP Block’s “Before” statement:
echo <<<HTML
test
123
HTML;
This should normally work, but it kept running into errors. After some messing around I started to doubt the “HTML;” part of my script. When I checked the PHP file generated by Freeway using Midnight Commander on my Linux machine I noticed that all the line endings in the PHP document where correct UNIX LF but the PHP inserted by the PHP Block action had MAC CR line endings, this is where my Linux machine gets confused and quits.
Does anyone know of a workaround?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options