DEDECMS Call common.inc.php Invalid Change permission or cannot call
/* Require_once (".. /include/common.inc.php "); */
$link =mysql_connect ("localhost", "root", "");
mysql_query ("Set names ' GBK '");
mysql_select_db ("Newnk");
$ZX =$_post[' ZX '];
$zx 1=$_post[' zx1 ');
I created a new folder named Ggj and wrote a add.php file. The following method can connect to the database and
/* Require_once (".. /include/common.inc.php "); * * cannot be called to ask the big God pointing
------Solution--------------------
Dear classmate, Why do you have to write it yourself again?
If your document is set up as follows:
Files:/ggj/add.php
Include '. /include/common.inc.php ';
$rs 2 = $dsql->getone (' s ', "Select Now ()");
Print_r ($RS);
$dsql->executenonequery2 ("Use Newnk");
Print_r ($dsql->getone ("Select DATABASE ();"));
$dsql, bring your own.
------Solution--------------------
d:/wamp/www/include/is a folder, common.inc.php inside.
So where is your program file?