
05-03-2008, 01:38 PM
|
| Corporal | | Join Date: Apr 2008 Location: Ohio
Posts: 16
| |
Need Quick PHP for MySQL Help | | Below is code I am using for a social networking section of my site I need help changing code for //db access info! Someone please advise ASAP! I am pretty new to PHP and all of this as a whole--anything outside of bluevoda is tricky---this is my first database setup etc. Thanks-Matt <? //db access info $sql_host='host';//host $sql_user='user';//db user $sql_pass='pass';//db pass $sql_db='dbname';//db name //path and url $base_path="/Social1";//full path to script $main_url="http://continentalprocessing.com";//url to the script $cookie_url=".continentalprocessing.com";//the domain name of your website without http://www $tribes_folder="groups";//folder for groups to be created //mail addresses $admin_mail="admin@continentalprocessing.com";//admin e-mail $system_mail="admin@continentalprocessing.com";//system messages e-mail //admin access info $admin_login="admin";//login $admin_password="admin";//password //(note: please, use password without any meaning to prevent hackers attack) /* Constant Variables */ $lines=10; $lines10=10; $lines15=15; $lines25=25; $lines50=50; $lcoun=1; /********************************/ $site_name="Social1"; |