בקשת עזרה

Jony Jerusalem

New member
בקשת עזרה

שלום לכולם זה הסקריפט שלי שמצאתי ופותר לי את הבעיה בדפים מוגנים וסיסמאות / Sets the administration username and password: $admin_username = "Username"; $admin_password = "PaSwOrD"; // Sets the path to the user data file which stores the username/encrypted password. $user_data = "c:\\path\\to\\users.dat"; // Set the URL of the firstpage $first_page = "http://www.example.com/firstpage.php"; // Sets the URL of the login page. $login_page = "http://www.example.com/login.php"; // Set to true to enable logging, false to disable. $log_login = true; // If logging is enabled, set the path to the logfile. $log_file = "c:\\path\\to\\log.dat"; // All below here is just for the personalisation of the script. // No changes are necessary. // General Messages: $unauthorised = "You have not been authorised to view this page, please login:"; $invalid_username_password = "You have entered an invalid username/password. Please try again:"; $logged_out = "You have logged out."; $user_login = "User Login"; $no_users = "No users avaliable."; $no_username_selected = "No Username was selected"; $enter_password = "You must enter a password."; $enter_username = "You must enter a username."; $enter_name = "You must enter a name."; $password_not_confirmed = "The new password was not correctly confirmed."; $password_changed = "The password has been changed."; $username_deleted = "The selected username were deleted"; $username_exists = "Username already exists."; $username_created = "The new user was created"; $log_file_cleared = "The log file has been cleared"; $log_file_empty = "The log file is empty."; // Error messages: $user_data_file_not_exist = "The user data file does not exist."; $user_data_file_not_readable = "The user data file was found, but could not be read."; $user_data_file_not_writable = "The user data file was found, but could not be written to."; $log_file_not_exist = "The log file does not exist."; $log_file_not_readable = "The log file was found, but could not be read."; $log_file_not_writable = "The log file was found, but could not be written to."; // Sets the version number: $version = "1.0.0"; ?> הבעיה שלי היא שאני לא מצליח להגיד את ההגדרות נכון כל הקבצים נמצאים אלי ב ROOT ואני לא מצליח להגדיר את העניין נכון האתר יושב בספריית http://www.easypresentations.co.il והקבצים DAT והאחרים יושבים גם באותו מקום העניין שאני לא יודע להגדיר נכון את הפרטמטרים והוא מחפש את ה DAT כל הזמן אשמח אם מישהו יכול לתקן לי את הקובץ לכתיבה נכונה קרי השיוך של קובץ הדטה להכל בתוך הדבר בהתחשב שהקובץ נמצא ברוט של האתר תודה ג'וני
 

N i X

New member
זה סרריפט שאתה כתבת?

פשוט תשנה ל "users.dat" אם כל הקבצים נמצאים באותה ספרייה.
 
למעלה