Control Web Panel

WebPanel => MySQL => Topic started by: Namaste on November 07, 2021, 02:33:49 PM

Title: db_conn.php is bad
Post by: Namaste on November 07, 2021, 02:33:49 PM
Anyone see any problems with the db_conn.php file

<?php

   /* MySQL hostname [ localhost (127.0.0.1 via TCP/IP) ] */
   $db_host = "localhost";

   /* The name of the database */
   $db_name = "root_cwp";

   /* MySQL database username */
   $db_user = "root";

   /* MySQL database password */
   $db_pass = 'j0vlRr5NbeQFm';
   
   //Password used for encryptions (don't change)
   $crypt_pwd = 'J0dQ36A4qpXEB';
Title: Re: db_conn.php is bad
Post by: Namaste on November 07, 2021, 07:44:57 PM
I thought there might be a problem with single quotes and double quotes.  But apparently you can use either.  I think one has to do with escape keys.