They will if short_open_tag is OFF (which is the default when one sets up PHP).
sendmail is already in the path, no need to edit it unless the php build is trash.
Check out [url=http://discussion.dreamhost.com/showthreaded.pl?Cat=0&Board=forum_programming&Number=123081&Search=true&Forum=All_Forums&Words=Atropos7&Match=Username&Searchpage=0&Limit=25&Old=allposts&Main=123074[/url]Atropos7's post from last week[/url] in which he included a nice piece of code that tests conditions.
The part down the bottom after [color=#00CC00]($SERVER['REQUESTMETHOD'] === 'POST')[/color] shows how to format the send correctly.
Maximum Cash Discount on any plan with MAXCASH
How To Install PHP.INI / ionCube on DreamHost