Re: Program that'll parse HTML form with results and send HTML email?
| From: | John W. Holmes | Date: | Tue, 20 Apr 2004 01:53:45 +0000 |
| Subject: | Re: Program that'll parse HTML form with results and send HTML email? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183907@lists.php.net to get a copy of this message | ||
Justin French wrote:
But I guess your motivation behind starting with the HTML is so that Joe Average can build a form in a WYSIWYG editor without caring about anything else, right?Yeah, that's the key. It'd be easy if I could just build everything from an XML file. I'm thinking that if I just parsed the HTML form looking for "<input * name="*" *>, match the "name" and replace the whole thing with $_POST['name'] and then continue on with other form elements in a similar matter. Skip over buttons, image maps, etc... Just brainstorming right now... :) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com