Hi Jen, You use the variable $email in your form, but check for $emailaddress in the error checking. When I say error checking, the only check it does is to see if anything is there. You can enter what you like and it'll be accepted. That allows anyone to input anything they fancy, including something nasty.
Those little triangles represent line breaks, depending on what you're viewing the code with. I wouldn't have it on my site in it's present form. You could beef it up, but if you're just starting with php, it would be a sharp learning curve. When you use any type of emailing, it's a magnet for spammers to try and hack it. Bob. p.s. try to keep your posts trimmed to a minimum, or you'll be in trouble with the big bad group owner :-) ----- Original Message ----- From: "neilsbohr73" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, March 02, 2006 4:36 PM Subject: [php-list] Re: Error when submitting online order form > 1st: Bob, yes, it is PhpFormGenerator that I used. What you are > saying doesn't sound good...what can I do? Should I delete it from > my server. Will that be enough? > > 2nd: Ok, I fixed the line breaks and found a couple of other errors > on my own. But now when the form is submitted it keeps saying, "The > following errors occured while processing your form input. > You did not enter one or more of the required fields. Please go back > and try again." This is after I went through and filled out EVERY > field, even the non-required fields. I'm getting so frustrated with > this. Maybe I've taken on too much of a task for my little brain:( > > I've made sure all the field names in my html code match the php > code (I did find a few discrepancies). Here is the sample form I'm > working with: http://www.hawleyfocus.com/twinpapers/form2.htm > > And here is the updated php code (Also, what do all the rectangles > mean that are before many of the statements--oops, they didn't show > up here?): Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
