Blocking Invalid Users [duplicate] - php

This question already has answers here:
How to block Disposable Email Addresses in your website's registration form? [closed]
(11 answers)
Closed 7 years ago.
I'm developing an online penny auction system on PHP and MySQL. The problem is that the system gives three bids FREE per signup.
Many people register with invalid email accounts like y95dka9k7y024qn5#mailcatch.com or yopmail.com or any of that.
How I can block these accounts automatic? For now I do it manually, when I see there are more than 3 accounts invalid.
But how could I do it automatic?

During the subscription, when you check the email availability,
check also if the email end with one of theses host name:
mailcatch.com
yopmail.com
...
If it's the case, just explain that theses hostname are forbidden.

Related

Using Google Sign In to authenticate using PHP. What should I do with emails that have the domain #pages.plusgoogle.com? [duplicate]

This question already has answers here:
How to validate an email address in PHP
(15 answers)
How do I check if a string contains a specific word?
(36 answers)
Closed 5 years ago.
So I'm trying to retrieve the email address from Google in order to make it easy for users to create accounts on the service I'm building. I currently have two accounts associated with youtube under one Google account. One of the accounts actually end with my actual email address that ends with #gmail.com. The other one ends with #pages.plusgoogle.com.
If this was a use case, the user would be able to create an account using the email address ending with #page.plusgoogle.com but you can not send emails to that domain. When I tested it, it failed to send an email address to that domain.
I don't want to save an email address into my service with an email address that doesn't work. How would I verify that the user is human if I can't verify their email address? What should I do in this case?

SMS sending protection [duplicate]

This question already has answers here:
How to protect html form from spammers?
(10 answers)
Closed 7 years ago.
I have a form, and I need to send information from it with SMS. Though I need to protect myself from people that will intentionally send lots of these SMS (that are not free, obviously).
What should I use? Cookies, sessions, blocking buttons with JS, what else?
I also use SMS for various services in my application.
Here is a suggestion that you can try:
Store all the data in Database that has been sent in the SMS, such as Sender user id, Phone no. and message along with a time stamp.
Now that you have data, you can put limit on how many SMS should be sent per day/hour by reading the details of that specific user from the database.

Valid email address [duplicate]

This question already has answers here:
How to check if an email address exists without sending an email?
(15 answers)
Closed 7 years ago.
Up until Facebook closed it's doors on 'Public Post Search' I used to run a site that allowed for this function. Right now am building a new site and have a landing page that allows for the visitor (old or new) to sign up to be notified when the new site is up and running. This is done via email. Unfortunately I have suffered some people inputting non email addresses so solved that with a PHP function, however more recently I've started suffering from what are clearly not valid email addresses like 'foo#bar.com' etc...
Is there a recommended PHP function to check whether the email address is fully valid? If not, is there a free service which has an API that I could use to check whether the address is valid?
The only reliable way to know if an email address is valid is to attempt to send an email to that address and check for a hard or soft bounce.
You can validate that the format of the email address satisfies format checks and therefore could be valid. foo#bar.com would pass that check.
In the ancient days of the internet (the 90's), many SMTP servers would allow one to query "is this email address valid" without going through with sending an email. That was abused by spammers to validate spam lists, so pretty much every SMTP server has that part of the protocol disabled.

Get Email Response of the user [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
how to make a php script that read an email from the server?
So I want an app to send the user an email, and the user has to respond. How do I capture what the user sent back to the email?
Check the In-Reply-To header of the reply to find out which message it relates to.
There are two possibilities:
Set up a regular off-the-shelf email server, and something to parse the inbox.
Set up a special php email server that listens on port 22 and processes the incoming mail - something like james but php-based. If nothing available you'll have to roll your own.
You have to create some cron job that will retrieve inbox of your email account.
I have implemented simmilar thing but I was using tokens system too - email that was send to user had a random generated token in topic. When user replied I was looking for that token and then associate it with some 'thread' (helpdesk system).

Looking for a Fax gateway with PHP API [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Can I send a fax using PHP?
I need a FAX gateway PHP API for my website.
I have a script that generates a report for a Customer and then it will be sent to the spcified Fax Nr. provided by the customer.
As shown ablve, this is a duplicate, but here was the main answer (by: Douwe Maan):
As fax is not internet-based like email, there is no easy way to do this, like you can send emails using mail().
You can, though, use PHP to talk to an internet fax service, as described here: http://www.interfax.net/en/dev/php

Categories