今日係度SETUP個DB SERVER整左成日都用唔到MDB2 去 connect mssql server 最後搵左成哥哥出手相救.. 原來係因為DLL 問題… 要搵一個ntwdblib.dll from mssql 去replacePHP原本個一個先用到. Special thanks to Shing ~ http://www.akamarketing.com/blog/99-php-sql-server-connection-problems-mssql_connect-functionmssql-connect-unable-to-connect-to-server.html http://bugs.php.net/bug.php?id=38849
1 Comment. Continue Reading...
If you want to use gmail smtp server in PHP, php mailer is a good choice for you. Here is the example: include(“class.phpmailer.php”); $mail = new PHPMailer (); $mail->IsSMTP (); $mail->SMTPAuth = true; $mail->SMTPSecure = “ssl”; $mail->Host = “smtp.gmail.com”; $mail->Port = 465; $mail->Mailer= “smtp”; $mail->Username = “username@gmail.com”; $mail->Password >= “password”; $mail->AddReplyTo (“Reply [...]
1,633 Comments. Continue Reading...