Author |
|
Alidad Newbie
Joined: 05 June 2007 Location: United States
Online Status: Offline Posts: 4
|
Posted: 21 January 2009 at 12:12pm | IP Logged
|
|
|
Hi, I'm trying to create my own login webmail pro in php, at first i made changed on your own forms by removed the email text field but use only two text field of user name and password is works great.
And then when i create my own login forms for some reason is not working.
please take look the code
<?php
if (!isset($_POST['login'])) {
include('webmail/integr.php');
$Integr = new CIntegration('http://localhost/world/webmail/');
$login = $_POST['login'];
$pass = $_POST['password'];
$Integr->UserLoginByEmail( $login, START_PAGE_IS_MAILBOX, $pass);
}
?>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
user name:
<label>
<input name="login" type="text" id="login" />
</label>
<p>password:
<label>
<input name="password" type="password" id="password" />
</label>
</p>
<p>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
</p>
</form>
for some reason is not working, then i made change one of those line
$Integr = new CIntegration('http://localhost/webmail/'); to
$Integr = new CIntegration('webmail/integr.php');
is still not working too.
and then i put i add line @email='contact@xxx.com';
even that is still no working, none of them were doing anything.
Does any one know why and how can i solve this please!
Alidad
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 January 2009 at 5:03am | IP Logged
|
|
|
We've replied to the similar request you've sent us via email.
Regards,
Igor
|
Back to Top |
|
|