<?php define('local','localhost');//echo constant('local');exit(); define('username','root'); define('password',''); define('database_name','login_user'); $link =@ mysql_connect(local,username,password) or die('lianjieshibai'.mysql_error());?>