empty email
- Started
- Last post
- 9 Responses
- wetterink
ok...on my website i have a simple contact form that people fill out and it will email me the info they put in. they have to give their name, email, and comments for it to even send.
i just got an email this way (i know because i have all emails sent through the form come through another email account of mine). the catch is that it was blank. it didn't even have the titles of any of the text fields. i just tried it on my mac and pc and it worked. i have had emails this way before, but none that did this.
any ideas as to what happened or how to find out who sent the message?
- UndoUndo0
is it php?
- wetterink0
yes
- UndoUndo0
you need to be protected against injection attacks.
check out this forum [you'll need to register]
or
http://www.google.co.uk/search?h…
whatever you do DONT list yr website address when registering on any of these forums or you will get targeted
- wetterink0
my site is flash..does that matter?
- UndoUndo0
its possible if they find yr php script by bypassing flash but unlikely.
the email definatley cam from the script.? does the script still work with empty values? i.e can you call it and it sends an email although no vars are sent?
- wetterink0
i know for sure it came from it. you HAVE to fill out the text boxes i mentioned in my post, but the email said there was no text to display??
- UndoUndo0
try calling the php script direct from yr browser. does it do anything?
- airey0
i've had the same problem. i used a different script and it worked ok. it has something to do with the scripts method of creating the message and email conventions.
email with the script that worked for me headed your way.
- airey0
actually, the error could also be that you've not named your input boxes correctly so no actual data is getting to the form. probably not it though. like i said, email incoming.