关于define

<?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());

?>

posted on 2017-02-22 09:45  shenzen_小白  阅读(193)  评论(0编辑  收藏  举报

导航