Can any one help me connect this to the database

Started on the old forum in May 2010 · view the original in the archive · old links redirect here

1 reply · 363 views · started 16 years ago · 1 min read

2 participants
berty14 Developer · 52 posts #1
<?php define ('DB', 'ase'); define ('USER_DB', 'root'); define ('PASS_DB', 'root'); define ('DEFAUL_PAGE_TITLE', 'wapadmin.info - best top list'); $_SESSION['wap_version'] = 0; $r = rand(11,9999); ?> IT A CONFIG FOR A TOPLIST SCRIPT I TRY TO REMOVE USER_DB AND PASS_dB AND PUT MY DATBASE USERNAME AND PASS BUT I AM NOT GETTING IT CORRECT CANSOMESHOW ME HOW TO DO IT CORRECT PLZ
firemax Developer · 221 posts #2

Simply Do,

<?php define ('DB', 'Your Dtabase Name'); define ('USER_DB', 'Your Dtabase Username'); define ('PASS_DB', 'Your Dtabase Password'); define ('DEFAUL_PAGE_TITLE', 'Your Site Title'); $_SESSION['wap_version'] = 0; $r = rand(11,9999); ?>

Good luck, 🙂

External image (may be gone) Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader PHP Tutorials: [How to Secure Your PHP Script (PHP SECURITY)](http://coding-talk.com/f14/how-to-secure-you…

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close