نمایش نتایج 1 تا 3 از 3

نام تاپیک: اجرا نشدن کدها در Php نسخه ی جدید

Threaded View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #2
    کاربر دائمی
    تاریخ عضویت
    بهمن 1381
    محل زندگی
    نهاوند (استان همدان)
    پست
    103

    نقل قول: اجرا نشدن کدها در Php نسخه ی جدید

    این کدهایی هست که در فایل کانفیگ نوشته شده:

    $globalConfig['dbhost']="localhost"; // Your MySQL Server Host URL
    $globalConfig['dbuser']="root"; // Your MySQL Username
    $globalConfig['dbpass']=""; // Your MySQL Password
    $globalConfig['dbase']="test"; // Your MySQL Database name
    $globalConfig['tbl']="u_users"; // The name of the MySQL table to store the data required
    $globalConfig['tblID']="ID"; // The name of the ID field of the MySQL table
    $globalConfig['tblUserName']="userName"; // The name of the Username field of the MySQL table
    $globalConfig['tblUserPass']="userPass"; // The name of the Userpassword field of the MySQL table
    $globalConfig['tblUserGroup']="userGroup"; // The name of the User Group field of the MySQL table
    $globalConfig['tblSessionID']="sessionID"; // The name of the ID field of the MySQL table
    $globalConfig['tblLastLog']="lastLog"; // The name of the Time field of the MySQL table
    $globalConfig['tblemail']="email"; // The name of the Remarks field of the MySQL table


    این کدها در ابتدای فایل index.php نوشته شده:

    session_start() ;
    include("include/config.php");
    include("include/db.class.php");
    include("include/functions.php");
    include_once("include/jdf.php");

    $db=new DB($globalConfig['dbase'], $globalConfig['dbhost'],$globalConfig['dbuser'], $globalConfig['dbpass']);
    فایل های ضمیمه فایل های ضمیمه

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •