[PHP] Reserved var for checking remote IP address

2008-04-16 Thread Javier Huerta
Is there a reverved variable that can be used to check the remote IP address of the computer hitting your web page? Javier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reserved var for checking remote IP address

2008-04-16 Thread Javier Huerta
Daniel Brown [EMAIL PROTECTED] wrote in message Is there a reverved variable that can be used to check the remote IP address of the computer hitting your web page? ?php $_SERVER['REMOTE_ADDR']; ? Wow that was quick, thanks Daniel. Javier -- PHP General Mailing List

[PHP] Question About Blocking Email Addresses in Forms

2008-01-18 Thread Javier Huerta
I am wondering if there is a way to block out email addresses in specific format from a form? We ahve a form that people have to enter an email address, and the form has been getting used by bots to send spam to a listserv. The email address they enter is in this type of format [EMAIL

[PHP] Re: Question About Blocking Email Addresses in Forms

2008-01-18 Thread Javier Huerta
then don't process the form? Javier Huerta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am wondering if there is a way to block out email addresses in specific format from a form? We ahve a form that people have to enter an email address, and the form has been getting used

Re: [PHP] Question About Blocking Email Addresses in Forms

2008-01-18 Thread Javier Huerta
that it would take care fo this problem. Basically it looks as though someone is entering the data manually. Stephen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Javier Huerta wrote: I am wondering if there is a way to block out email addresses in specific format from a form? We

Re: [PHP] Question About Blocking Email Addresses in Forms

2008-01-18 Thread Javier Huerta
Hi Javier! At my work we had tons of issues with spam bots randomly hitting our contact forms. They would inject all sorts of random garbage along with the standard email header injection attempts to try and send mass mails through the forms. We've worked on a standardized form

Re: [PHP] Re: Question About Blocking Email Addresses in Forms

2008-01-18 Thread Javier Huerta
What does your form actually do? Does it email you, email them, stick something in a DB? What? The form sends an email to a listserv and cc's the sender and then enters data into a database. Regardless, if they're entering a nonsense email address and are managing to get your script to