Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #20229
| From | "Cillo" <alt.nm-6ouhvqt0@yopmail.com> |
|---|---|
| Newsgroups | it.comp.www.php |
| Subject | Re: Sistema Captcha |
| Message-ID | <2016011814410722356@mynewsgate.net> (permalink) |
| References | <2016011813303422356@mynewsgate.net> <n7isk6$t63$4@virtdiesel.mng.cu.mi.it> |
| Date | 2016-01-18 14:41 +0000 |
RedWiz <redwiz@inwind.it> ha scritto:
> On Mon, 18 Jan 2016 13:30:34 +0000, Cillo wrote:
>
> > Vorrei implementare un sistema Captcha in PHP. Cosa mi consigliate di
> > fare?
> > Ciao!
>
> Di non reinventare la ruota ed usarne uno giĆ fatto , meglio, da altri.
> Google recaptcha, ad esempio.
>
Escludendo google?
Altro problema: il messaggio viene inviato da un "blocco" flash. Non ho il
sorgente ma solo un file php che, credo, venga chiamato per l'invio del
messaggio. Dovrei innestarlo li. Mission impossible?
Allego il soregente che ho:
[CODE]
<?php
$ip_address = $REMOTE_ADDR;
print "&ip=$ip_address";
$message = $HTTP_POST_VARS['message'];
$name = $HTTP_POST_VARS['name'];
$email = $HTTP_POST_VARS['email'];
$my_email = $HTTP_POST_VARS['my_email'];
$my_subject = $HTTP_POST_VARS['my_subject'];
$thanks_text = $HTTP_POST_VARS['thanks_text'];
$mail_name = $HTTP_POST_VARS['mail_name'];
if ($email != ""){
$header_info = "MIME-Version: 1.0\r\n";
$header_info .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header_info .= "From: ".$mail_name." <".$my_email.">";
mail ($email,$reply_subject,$thanks_text,$header_info);
$header_info = "MIME-Version: 1.0\r\n";
$header_info .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header_info .= "From: ".$name." <".$email.">";
$message = stripslashes($message);
mail ($my_email, $my_subject,
"Name:
$name
<br>
Email Address:
$email
<br>
<br>
Message:
<br>
$message"
, $header_info);
}
?>
[/CODE]
Back to it.comp.www.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sistema Captcha "Cillo" <alt.nm-6ouhvqt0@yopmail.com> - 2016-01-18 13:30 +0000
Re: Sistema Captcha fmigliori <fmigliori@gmail.com> - 2016-01-18 06:11 -0800
Re: Sistema Captcha RedWiz <redwiz@inwind.it> - 2016-01-18 14:25 +0000
Re: Sistema Captcha "Cillo" <alt.nm-6ouhvqt0@yopmail.com> - 2016-01-18 14:41 +0000
Re: Sistema Captcha RedWiz <redwiz@inwind.it> - 2016-01-18 14:57 +0000
Re: Sistema Captcha Alex <tommaso5ita@yahoo.it> - 2016-01-18 17:12 +0100
Re: Sistema Captcha Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-18 20:58 +0000
Re: Sistema Captcha Andrea D'Amore <anddam+NOSPAM@brapi.net> - 2016-01-19 07:57 +0100
csiph-web