hmm.. dont think so since php is interpretted first, THEN show something.
just to make sure, use this: (im not sure if works bcause i did not teste BUT might work very well)
Add in the FORM page, before the 'SEND button'
<input type="hidden" name="validate" value="PASS" />
then, in PHP...