Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions signup_page/signup_action.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$host = 'localhost';
$db = 'scream';
$user = 'root';
$pass = '';
$pass = 'scream';
Comment on lines 6 to +9
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.


$conn = new mysqli($host, $user, $pass, $db);

Expand Down Expand Up @@ -40,4 +40,4 @@

$stmt->close();
$conn->close();
?>
?>