actually i use -f "%file%"

it will parse the file as if on the webserver, not only syntax check

is a matter of taste of course, this way will send an error if it cannot include
a file (or if it is supposed to be included), but i can see in the log the
output generated by the php script and for me that is a pretty helpful thing

better to have the 2 anyways, compiler + external app

think of it this way:
- if you are making a complex html+php with includes and a large output, -f is
not so useful, better to check only the syntax and then test it in the browser
- if you are, e.g., making a php script to generate a json output to communicate
with a xmlhttp object, seeing the output directly in the log when you compile,
is pretty helpful

i say, use them both!! :)

-- 
<http://forum.pspad.com/read.php?2,40528,40536>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem