RE: [PHP] forms and IP numbers
| From: | scott [gts] | Date: | Fri, 13 Jul 2001 17:02:02 +0000 |
| Subject: | RE: [PHP] forms and IP numbers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57760@lists.php.net to get a copy of this message | ||
no offense, but that's a bad kludge for the problem.
however, if you really want to do that, you could try
checking $SERVER_NAME and $HTTP_REFERER and other
enviornment variables like that...
what would be easier (and better practise) to do is to
verify that the incoming username is valid...
> -----Original Message-----
> From: Marc van Duivenvoorde [mailto:yhcmarc@gmx.net]
> Sent: Friday, July 13, 2001 6:10 AM
> To: Php general lijst
> Subject: [PHP] forms and IP numbers
>
>
> A friend of mine found a bug in my messageboard code, this way he can post
> with other (than in my database) nicknames from a local form. Now I want to
> have the formhandler do a check from where the form is sent. If it is not
> sent from my own webserver it has to display an error message.
>
> Thanks,
>
> Marc van Duivenvoorde
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>