Showing posts with label localhost. Show all posts
Showing posts with label localhost. Show all posts

Thursday, April 12, 2012

How to configure WAMP (localhost) to send email using Gmail?


I want to use the mail() function from my localhost. I have WAMP installed and a Gmail account. I know that the SMTP for Gmail is smtp.gmail.com and the port is 465 ( more info from gmail ). What I need to configure in WAMP so I can use the mail() function?

Monday, February 20, 2012

how to remote database mysql XAMPP from another computer?


the script of connection =




<?
$server = "192.168.0.167";
$username = "root";
$password = "";
$database = "dbbook";
mysql_connect($server,$username,$password) or die("Koneksi gagal");
mysql_select_db($database) or die("Database tidak bisa dibuka");
?>