Thanks Leonardo,

But How can I do for that my user can be redirect to webpage from my choice
?

Alexandre Raubert.

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Leonardo R.
Envoyé : mercredi 21 février 2001 18:56
À : [EMAIL PROTECTED]
Objet : Re: [IMail Forum] My own templates


Alexander:
There is some way...  You may think it's not that secure, but it's
effective.

Only works if you are getting user and password data from your own database.

login.html is the template for the login...   You just have to insert the
form that contains the fields of "user" and "password" inside the page you
want.
The login and password of your user are hidden.

Hope that helps.

Here is an example of the form we used.  The query to the database is done
in Hypertext Preprocessor (PHP).  In the same way works anything you need
that Imail does not have.  You can customize «almost» everything.

Example:
connection to db on php  bd=posgreSQL
"<?
$conn = pg_pconnect ("dbname=users");
$result = pg_Exec ($conn, "SELECT * FROM users WHERE id='$idOfMyUser'");
$row = pg_fetch_row ();
$userid = $row[1];  /* 1 = # of login field in row.*/
$passwd = $row[2];  /* = # of passwd field in row.*/
?>

<form method="POST" action="login.cgi" name="Login">
<input type="hidden" name="page" value="login">
<input type="hidden" name="userid" value="<?echo $userid ?>" >
<input type="hidden" name="passwd" value="<?echo $passwd ?>">
<input type="submit" name="Submit" value="Go to mail" >
</form>"

----- Original Message -----
From: "Alexandre Raubert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 12:08 PM
Subject: [IMail Forum] My own templates


>
>
> -----Message d'origine-----
> De : Alexandre Raubert [mailto:[EMAIL PROTECTED]]
> Envoyé : mercredi 14 février 2001 18:05
> À : [EMAIL PROTECTED]
> Objet : My own templates
>
>
> Hi,
>
> I need to find a script that allow a user of my website to open a email
> account directly from my web pages.
> Next the signup page, the user should redirect to a other page of my
> website.
>
> Can you help me ?
>
> Alexandre Raubert.
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to