ListMailPRO Email Marketing Software Forums
ListMailPRO Email Software
& Marketing Forums
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ListMailPRO Email Marketing Software Forums
»
ListMailPRO Email Marketing Software Forums
»
General Help & How-To
»
spam
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: spam (Read 1568 times)
sanj
Posts: 54
spam
«
on:
March 04, 2007, 03:57:55 am »
hi,
I'm having a lot of problems wiht automatic submission software.
could anyone give me apiece of code that i can add to my submission form that prevent the form from submitting if fname = lname.
Basically i get a lot entries in my database with the exact same entries for first name and last name and some made up email.
thanks
sanj
Logged
Magnetic Therapy Natural Pain Relief for Arthritis, Back Pain and More... at
http://www.worldofmagnets.co.uk
DW
Administrator
Posts: 3787
spam
«
Reply #1 on:
March 04, 2007, 08:57:09 am »
Hi SanJ,
Check out this post:
http://listmailpro.com/forum/index.php?topic=1203.0
You can do what you want with the following code:
Code:
[Select]
if($fname==$lname) exit;
Regards
Logged
Dean Wiebe
ListMailPRO
Author & Developer -
Help
|
Support
|
Hosting
sanj
Posts: 54
spam
«
Reply #2 on:
March 05, 2007, 06:20:52 am »
hi Dean,
My database is now full of rubbish email that have been posted by autobots.
how can i remove them without having to do it manually one by one
thanks
Logged
Magnetic Therapy Natural Pain Relief for Arthritis, Back Pain and More... at
http://www.worldofmagnets.co.uk
DW
Administrator
Posts: 3787
spam
«
Reply #3 on:
March 05, 2007, 02:20:04 pm »
If all signups, as you mentioned, have the same fname and lname you could run a custom query with a tool like PhpMyAdmin, commonly accessible from your hosting control panel:
SQL:
Code:
[Select]
DELETE FROM lm_users WHERE fname != '' AND fname = lname;
Regards
Logged
Dean Wiebe
ListMailPRO
Author & Developer -
Help
|
Support
|
Hosting
Print
Pages: [
1
]
Go Up
« previous
next »
ListMailPRO Email Marketing Software Forums
»
ListMailPRO Email Marketing Software Forums
»
General Help & How-To
»
spam