How to send a post header programatically
Posted: Wed Jun 01, 2005 8:01 pm
I have a host that will not allow me to use the mail() function in PHP scripts. He has his own ColdFusion script that he wants me to submit form information to. The problem is that this bypasses all the error checking of the form since the form is written as a self submitting form. I don't want to use javascript for error checking as 10% of browsers have it turned off.
Is there a way for me to salvage my self submitting form by replacing the mail() function with a header() function that would neatly look like it was submitted by my original form? IF this can be done what would the header look like?
Thanks,
Eric
Is there a way for me to salvage my self submitting form by replacing the mail() function with a header() function that would neatly look like it was submitted by my original form? IF this can be done what would the header look like?
Thanks,
Eric