post data from db<

liunx

Guest
ok...I'm not sure if my problem should be posted here or not. My webhost (ehostsource.com) uses squirrel mail for it's webmail service. I found in their documentation here (<!-- m --><a class="postlink" href="http://www.squirrelmail.org/wiki/en_US/EmbeddedSquirrelMailLogin">http://www.squirrelmail.org/wiki/en_US/ ... lMailLogin</a><!-- m -->), that you can use a simple form to make your own login. Here is my question:

Employees will be logging into the website anyway to use other database driven tools. Can I simply get their E-Mail address (the username for squirrelmail), and password from a database, and somehow make it post that data when a link is clicked to check their E-Mail? I know that I can put all their info into a database, and get it back when I need it, but how can I make it post that data when the link is clicked? (Been a LONG day already. It's VERY possible that I'm overlooking something pretty obvious).will the data be in the database already? if so you can do it as long as the link has the id of the user, so they will have to of logged in before that link. then have the next apge query the database and get the required info and then run it into your mailapp.Originally posted by scoutt
will the data be in the database already? if so you can do it as long as the link has the id of the user, so they will have to of logged in before that link. then have the next apge query the database and get the required info

I can do all that...

Originally posted by scoutt
then run it into your mailapp.

This part though...if the info is *normally* posted with a form using the post method, but I want to skip the form, and just post the data, how can I do that? I suppose that I could make a form that has 2 hidden values (username and password), and make the link submit the form...BUT...wouldn't this mean that the username AND PASSWORD would be in the source code as text? There's gotta be a better way right?you can do the hidden form but then like you say, you can see the user and password in the source.

if a form has to be used then you need to have them enter a password. other than that there is no work around the info inthe source code
 
Back
Top