|
Posted by Steve on 02/28/07 21:54
<rcoan@chaparralboats.com> wrote in message
news:1172693461.912511.197140@j27g2000cwj.googlegroups.com...
| On Feb 28, 2:53 pm, "Steve" <no....@example.com> wrote:
| > "J.O. Aho" <u...@example.net> wrote in message
| >
| > news:54m4nlF20pf52U1@mid.individual.net...| Steve wrote:
| > | > <r...@chaparralboats.com> wrote in message
| >
| > |
| > | > | project abandoned, I guess b/c of spammers and people with skills
like
| > | > | steve you just can't setup an easy email form anymore. And steve
you
| > | > | did open my eyes to what could happen, thanks, but you didn't
really
| > | > | offer any help other than saying that my validation could be FAR
more
| > | > | graceful. It validated fine for me. And about spreading my sites
ass
| > | > | wide open. I wouldn't want that to happen.
| > | >
| > | > project abandoned?!!! do you always give up if something is too
| > complicated
| > | > or may take some work to understand and then address?
| > | >
| > | > yes, it is painfully easy to set up an email form. easy, though
being a
| > | > wholly relative term, enough to be handled in a few lines of
| > code...which i
| > | > DID provide, if you'd check the thread again!
| > |
| > | He did expect a fully finished code, but we didn't provide one ;)
| >
| > ;-)
|
|
|
| man you guys are killin me. I didn't expect a fully finished code but
| don't get mad at me when you respond and I have no clue what it was
| that you were trying to tell me.
|
| Steve, the ok.htm, error.htm and er.htm pages are not even built yet.
| I wanted to at least get the code working first before I built those
| pages. No I won't give the user a chance to review their info. Right
| now I'm just looking at the url to see if it went through or not.
| the difference in the er.htm and the error.htm are just so I could see
| where in the code it was getting kicked back.
|
| Listen guys, I'm a total newbie at php. This is the first script of
| php I've ever written (as I'm sure it shows) so you responding by:
| $emailInput = array($to, $from, $cc, $bcc, $subject, $message);
| $injections = array('to', 'from', 'cc', 'bcc');
| foreach ($emailInput as $input)
| {
| foreach ($injections as $injection)
| {
| $input = preg_replace("/n?" . $injection . "\s*?:.*?\n/i", '',
| $input);
| }
|
| }
|
| just confuses the hell out of me.
RTFM !!!
[Back to original message]
|