Jump to content

Recommended Posts

I have writen a contact form that saves the results to a database instead of mailing it. I did this for several reasons. One is the ammount of people that I see asking how to send mail via php and two is a friend of my asked me if I could.

Anyways, I have a test version up and running and would like some suggestions on adding features or possiblely any problems with the script. [b]*Note[/b] this is an extreme beta version..lol. But is functional. The only thing that is not functional is the reply script. This is for security reasons.

Here is a link to the script. Please, no comments requarding the generic layout. Please stick to functional criticisms.

[url=http://www.owpt.biz/home/test/inbox.php]http://www.owpt.biz/home/test/inbox.php[/url]

Any suggestions would be great.
Link to comment
https://forums.phpfreaks.com/topic/14452-suggestions-for-added-features/
Share on other sites

Buuuuuuggggggyyyyyyyy  :'( I broke it

I got this:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Reilly', 'steve'o@test.com', 'Test "this"', 'Test's and more
tests
and ' at line 2
on
http://www.owpt.biz/home/test/send.php

You dont cancel quotes, and you allow html characters  >:(

Use htmlentities to tidy up and store the values.

Im not sure are quotes allowed in email addresses - but if they are you better plan for them.

Other than that - I do like the concept.
Rgds,
steve
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.