Wow, that's kind of confusing. What do you mean by a dictionary?
No one here will write your code for you but we will point you in the right direction.
Here is a good place to start (you'll want to make sure you look at the "POST & GET" section).
As for connecting the info together when you have it, it's as simple as:
$connected_string = "server=$myserver;dbname=$mydbname;username=$myuser;passwd=$mypasswd";
//or alternatively:
$connected_string = 'server='.$myserver.';dbname='.$mydbname.';username='.$myuser.';passwd='.$mypasswd;
//where the info you want is held in the variables $myserver, $mydbname, etc.
Reputation Points: 20
Solved Threads: 13
Junior Poster in Training
Offline 93 posts
since Oct 2005