Linux / PHP / Java / Designer

As melhores dicas estão aqui.

5 de maio de 2009
por admin
1 Comentário

Exemplo de utilização de envio de emails pelo PHP usando autenticação SMTP – PHPMailer

Script em PHP simples para utilizar o phpmailer < ? require_once('../class.phpmailer.php'); //include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded $mail = new PHPMailer(); $body = file_get_contents('contents.html'); $body = eregi_replace("[\]",'',$body); $mail->IsSMTP(); // telling the class to use … Continue lendo

27 de abril de 2009
por admin
1 Comentário

PHP Script de Upload simples

Um Script Simples em PHP para upload de único arquivo. <table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form action="upload_ac.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <td> <table width="119%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td><strong>Arquivo para Upload </strong></td> </tr> <tr> <td>Selecione o … Continue lendo