473,385 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

being attacked

I have a newsletter signup form on my front page - you insert your
e-mail hit submit and through php it sends it to me and the client in
an e-mail. The problem is - someone is sitting at home going
click-return-click-return-click-return-click.
So I put a javascript making the person at least fake an e-mail address
or it would not go to the next page. The problem is I think the person
has the second page in favourites and every now and then goes there and
hits refresh-refresh-refresh-refresh.
I'm getting about 10 a day - How can I stop it? Help

Sep 7 '05 #1
2 1029
Lee
bokke said:

I have a newsletter signup form on my front page - you insert your
e-mail hit submit and through php it sends it to me and the client in
an e-mail. The problem is - someone is sitting at home going
click-return-click-return-click-return-click.


You don't do anything about this with Javascript on the client.
You fix your php script so that it validates the input before
sending it on.

Sep 7 '05 #2
bokke wrote:
I have a newsletter signup form on my front page - you insert your
e-mail hit submit and through php it sends it to me and the client in
an e-mail. The problem is - someone is sitting at home going
click-return-click-return-click-return-click.
So I put a javascript making the person at least fake an e-mail address
or it would not go to the next page. The problem is I think the person
has the second page in favourites and every now and then goes there and
hits refresh-refresh-refresh-refresh.
I'm getting about 10 a day - How can I stop it? Help


Sorry to here your experiencing the effects of those who need
to get a life. ( seems to be a lot of that going around )

I suppose you could set a cookie with something like
(new Date()-new Date("01/01/1970")) on the first page, and check
for/cancel the cookie on the second page during the submission process.

Then you could simply have the script in the second page
forward them back to the first page. At least it would increase
their workload in acting the fool, while not inflicting
any pain on the legitimate respondents.

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript,TCP ...
--`
Sep 7 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Yang Li Ke | last post by:
Hi guys! Anyone know a way so that users purchasing my scripts would not be able to share them with other people ? Yang
4
by: Scott Robinson | last post by:
I have been having trouble with the garbage collector and sockets. Unfortunately, google keeps telling me that the problem is the garbage collector ignoring dead (closed?) sockets instead of...
6
by: Doug | last post by:
Hi all. Have a SQL server with about 10 small databases on it. One database in particular, the tables are somehow being recreated each night at 12:03 AM. The tables are also empty of data. There's...
3
by: NickName | last post by:
Here's the situation, developers inherit a web app from someone, backend SQL db has about 120 user tables and the db is also being used by other apps. Developers don't have a list of user tables...
6
by: bokke | last post by:
I have a newsletter signup form on my front page - you insert your e-mail hit submit and through php it sends it to me and the client in an e-mail. The problem is - someone is sitting at home...
18
by: Aaron Gray | last post by:
How do you stop the HTML source for a page being viewed on Windows View>Source menu option ? Aaron
9
by: MR | last post by:
Why does the string value assigned to the RequestElementName in the SoapDocumentMethodAttribute get changed? The value below with a colon is changed to the hex value surrounded by underscores....
44
by: Jeff | last post by:
Hi I have a library mde that is used with some customer databases and I found out that another developer discovered it while doing some maintenance work on an old database for the same customer...
9
by: John C. Frickson | last post by:
My company produces reports for our customers in PDF format. I have a php script that verifies login status and access rights, and sends the pdf to the client using readfile(). This has worked...
9
by: tshad | last post by:
I am trying to get access to a file that may still being written because the file is so large (7-10MB). I get an error: The process cannot access the file 'c:\TestDocs\XMLFiles\492172.XML'...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.