0
您好,我是這個網站的新手,我真的需要您的幫助我在嘗試訪問我的網站上的memberite_config.php文件時出現內部服務器錯誤我從此網站上獲取此文件http://www.html-form-guide.com/php-form/php-registration-form.htmlphp membersite_config.php頁面內部服務器錯誤
這是腳本:
<?PHP
require_once("./include/fg_membersite.php");
$fgmembersite = new FGMembersite();
//Provide your site name here
$fgmembersite->SetWebsiteName('user11.com');
//Provide the email address where you want to get notifications
$fgmembersite->SetAdminEmail('[email protected]');
//Provide your database login details here:
//hostname, user name, password, database name and table name
//note that the script will create the table (for example, fgusers in this case)
//by itself on submitting register.php for the first time
$fgmembersite->InitDB(/*hostname*/'localhost',
/*username*/'prasanth',
/*password*/'p',
/*database name*/'testdb',
/*table name*/'fgusers3');
//For better security. Get a random string from this link: http://tinyurl.com/randstr
// and put it here
$fgmembersite->SetRandomKey('qSRcVS6DrTzrPvr');
?>
順便說一下所需要的fg_membersite.php工作
'<?php'而不是'<?PHP'也許? [啓用PHP錯誤報告](http://blog.flowl.info/2013/enable-display-php-errors/)並重試.. – DanFromGermany
錯誤日誌說什麼? – marekful
需要更多信息。檢查日誌文件 - 有沒有錯誤? –