Posting a form via PHP over email -


i'm after little advice. has asked if can form system use. @ moment user fills out form (large on 150 fields) when submitting validated jquery , php shows form on confirmation page. @ point user asked print off form , give client. data not stored anywhere. have been asked if can adapt email form , that's need advice. form @ moment formatted css , said has on 150 fields. client wants exact report emailed need covert every line of code there 650 odd lines php can emailed? code mix of html, javascript php echoing values , of course css stylesheets attached.

i suppose asking there easier / better / quicker way of emailing whole page values?

thanks help.

if want email what's on confirmation page, @fred -ii-'s suggestion might work. since have php code forming output page, use output buffer , contents prior flushing page. see php's output control functions.

keep in mind there no sanitizing or verifying of data way! if kind of error message or invalid input data (like malicious code), that's displayed , consequently emailed. that's why still go through trouble of coding myself. if have named input fields well, should able use loop in php go through post data. @ minimum, sort of sanity check on post data prior trying use it.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -