Skip to content

Conversation

@alwin-m
Copy link
Owner

@alwin-m alwin-m commented Nov 21, 2025

No description provided.

@alwin-m alwin-m added the help wanted Extra attention is needed label Nov 21, 2025
Copy link
Owner Author

@alwin-m alwin-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final Review: PHP Database Password Instructions

This project uses PHP action files to handle user logins and interact with a MySQL database. For security and compatibility, the database password field has been intentionally left empty in the code.

Every user may have a different MySQL password on their local phpMyAdmin or server setup. Including a fixed password would cause the project to break for anyone who clones or downloads it.

If you are setting up this project on your machine, please:

  1. Open the PHP action file responsible for the database connection.
  2. Add your own MySQL password in the password field.
  3. If your MySQL user does not have a password on localhost, leave the password field empty.

If you do not set the correct password for your environment, the login system and other database-related features will fail to work.

This approach ensures flexibility for different development environments while keeping sensitive information secure.

Comment on lines 6 to +9
$host = 'localhost';
$db = 'scream';
$user = 'root';
$pass = '';
$pass = 'scream';
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHP Database Password Notice

This project includes PHP action files that connect to a MySQL database. The connection settings (host, database name, user, and password) are intentionally left without a password value.

Many developers use different passwords for their local MySQL setup (for example, in phpMyAdmin), so including a fixed password in the repository would cause errors for anyone who clones the project.

If you are running this code on your own system, please open the PHP action file and enter your own MySQL password in the password field. If your local MySQL user has no password, you may leave it empty.

Without setting the correct password for your system, the login and database features will not work.

@alwin-m alwin-m added documentation Improvements or additions to documentation help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants