Mailing List

Voltar

Please check permissions in the directory or create a file with coresponding name."); fputs($cf, "Assinantes\n"); fclose($cf); } ?> ")>0){print("Erro: O seu e-mail já se encontra na nossa base de dados");} // write the email to the list (append it to the file) else{ $cf = fopen($file, "a"); fputs($cf, "\n<$email>"); // new email is written to the file in a new line fclose($cf); // notify subscription print "O seu e-mail foi adicionado.
Obrigado."; } } ?> ")==0){print("Erro: Não temos qualquer registo do seu e-mail na nossa Base de Dados");} // remove email from the content of the file else { $file_content=preg_replace ("/\n<$email>/","",$file_content); // print the new content to the file $cf = fopen($file, "w"); fputs($cf, $file_content); fclose($cf); // notify unsubscription print "O seu e-mail foi removido da nossa Base de Dados "; } } ?>

Links Relaccionados:

Mailing List:


Inscreva-se na nossa mailing list para receber os nossos e-mails.


1 $test2=strpos(substr($email,strpos($email,"@")), "."); //value must be >1 $test3=strlen($email); //value must be >6 $test4=substr_count ($email,"@"); //value must be 1 if ($test1<2 or $test2<2 or $test3<7 or $test4!=1){die($message);} // check whether email is correct (advance checking) // extracts whatever is after "@" to variable $email_server $email_server=substr($email,strpos($email, "@")+1); // Check DNS records (0 => the server exists; 1=> the server does not exist) //if (checkdnsrr($email_server)!=1){die ($message);} } // THIS FUNCTION WILL SHOW THE FORM // MODIFY IT AS REQUIRED function print_form(){ ?> Escola Profissional de Capelas
 

Mailing List

Inscreva-se na nossa mailing list.


 

Subscrever
Remover

Links Relaccionados:

Mailing List:


Inscreva-se na nossa mailing list para receber os nossos e-mails.