ximeria: (Default)
ximeria ([personal profile] ximeria) wrote2010-04-21 01:07 am
Entry tags:

php question

Yo,

any of you php savy people out there know of a php script/coding that could be used like the oooooooold formmail code used to? I have one, but I keep getting spam on it. It's not even really anything, apart from a load of gibberish.

[identity profile] mecurtin.livejournal.com 2010-04-20 11:26 pm (UTC)(link)
I often use this one (http://developerkarma.com/phpformmail). Manual here (http://developerkarma.com/projects/phpformmail/readme-all-one-version).
ext_31419: (Default)

[identity profile] ximeria.livejournal.com 2010-04-21 06:06 am (UTC)(link)
I foresee myself submerged in checking that out when I get off work today ^_^ - thanks

[identity profile] maryavatar.livejournal.com 2010-04-20 11:30 pm (UTC)(link)
Yep. What exactly are you looking for? A simple 'leave a comment' box or a more complex form? Also, are you currently using PHP mail() or Matt's Script CGI?
ext_31419: (Default)

[identity profile] ximeria.livejournal.com 2010-04-21 06:11 am (UTC)(link)
I've been using PHP mail - it's kept me from having to deal with spam for ages, then all of the sudden - I get spam again - full of gibberish.

I've had the same code on each page, with the difference that the mail I get from each page tells me which page it's from, so I could tell which story it's been sent from. I'd love if it could tell me the IP address as well, of course.

I've gotten to the point where I've started thinking about changing the whole website into wordpress instead, but I'm nowhere near sure about that yet.

[identity profile] maryavatar.livejournal.com 2010-04-21 12:43 pm (UTC)(link)
Hmm, I have a code that will stop spambots from using your PHP mail to spam other people (it blocks them from inserting CC fields into server-generated e-mail), but that doesn't stop them spamming you. You might be better off blocking bots from feedback pages rather than trying to stop them once they're sending things.