第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

D:\ComsenzEXP\wwwroot\index.php on line 26?

D:\ComsenzEXP\wwwroot\index.php on line 26?

PHP
大話西游666 2022-05-18 15:11:15
<?phpheader("Content-type: text/html; charset=utf-8");date_default_timezone_set('PRC');if (get_magic_quotes_gpc()) { function stripslashes_deep($value){ $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } $_REQUEST = array_map('stripslashes_deep', $_REQUEST); $_POST = array_map('stripslashes_deep', $_POST); $_GET = array_map('stripslashes_deep', $_GET); $_COOKIE = array_map('stripslashes_deep', $_COOKIE);}//require('./360_safe3.php');define('CVS_ROOT', str_replace("\\", '/', dirname(__FILE__)));define('APP_DEBUG',0);define('APP_NAME', '138');define('CONF_PATH','./Data/conf/');define('RUNTIME_PATH','./Data/logs/');define('TMPL_PATH','./tpl/');define('HTML_PATH','./Data/html/');define('APP_PATH','./suetech/');define('CORE','./suetech/_Core'); require(CORE.'/suetech/_Core/suetech.php');最后一行錯誤 怎么改?。。arning: require(CORE/suetech/_Core/suetech.php) [function.require]: failed to open stream: No such file or directory in D:\ComsenzEXP\wwwroot\index.php on line 26Fatal error: require() [function.require]: Failed opening required 'CORE/suetech/_Core/suetech.php' (include_path='.;C:\php5\pear') in D:\ComsenzEXP\wwwroot\index.php on line 26Warning: require(CORE/suetech/_Core/suetech.php) [function.require]: failed to open stream: No such file or directory in D:\ComsenzEXP\wwwroot\index.php on line 26Fatal error: require() [function.require]: Failed opening required 'CORE/suetech/_Core/suetech.php' (include_path='.;C:\php5\pear') in D:\ComsenzEXP\wwwroot\index.php on line 26
查看完整描述

2 回答

?
臨摹微笑

TA貢獻(xiàn)1982條經(jīng)驗(yàn) 獲得超2個贊

路徑問題的吧  引用的路徑重復(fù)了

define('CORE','./suetech/_Core');

require(CORE.'/suetech.php'); 這樣應(yīng)該就好了


查看完整回答
反對 回復(fù) 2022-05-23
?
郎朗坤

TA貢獻(xiàn)1921條經(jīng)驗(yàn) 獲得超9個贊

1.password VARCHAT(20) NOT NULL這里,VARCHAAR打錯,應(yīng)該是password VARCHAR(20) NOT NULL,
2.mysqli_query($conn, $sql) 這里有問題,直接 mysql_query($sql);即可
下面為修改后的內(nèi)容
<?php
$host = "mysql.ict.swin.edu.au";
$user = "s7459394";
$pswd = "091290";
$dbnm = "s7459394_db";

$conn =@mysqli_connect($host,$user,$pswd);
if($conn === false)
{
die('Could not connect: ' . mysql_error());
}

mysql_select_db($dbnm);
$sql = "CREATE TABLE IF NOT EXISTS ssfriends(friend_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,friend_email VARCHAR(50) NOT NULL, password VARCHAR(20) NOT NULL, profile_name VARCHAR(30) NOT NULL, date_started DATE NOT NULL, num_of_friends INTEGER UNSIGNED )";
mysql_query($sql); //執(zhí)行SQL

echo "<p>Successfully created the table.</p>";

$sql = "CREATE TABLE IF NOT EXISTS myfriends( friend_id1 INT NOT NULL, friend_id2 INT NOT NULL )";
mysql_query($sql); //執(zhí)行SQL
echo "<p>Successfully created the table.</p>";
mysql_close();
?>


查看完整回答
反對 回復(fù) 2022-05-23
  • 2 回答
  • 0 關(guān)注
  • 258 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號