Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: creating our own forms Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Alidad
Newbie
Newbie
Avatar

Joined: 05 June 2007
Location: United States
Online Status: Offline
Posts: 4
Posted: 21 January 2009 at 12:12pm | IP Logged Quote Alidad

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 View Alidad's Profile Search for other posts by Alidad
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 22 January 2009 at 5:03am | IP Logged Quote Igor

We've replied to the similar request you've sent us via email.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide