[FX.php List] Find an email using FMS7A and PHP 5.0.2
Andy Gaunt
andy at fmpug.com
Sat Jun 4 13:36:40 MDT 2005
Hey guys -
I have a slight issue right now using an email address in a login solution.
It seems it does not like the email address being used as the username, even
if I enclose the email in "s
This works fine in FM6 unlimited and PHP4.3 but fails in FM7
$username=$_POST['username'];
$password=$_POST['password'];
$checklogin=new FX($serverIP,$webCompanionPort);
$checklogin->SetDBData(,);
$checklogin->SetDBPassword(,'');
$checklogin->AddDBParam('Username',"==");
$checklogin->AddDBParam('Username','"'.$username.'"');
$checklogin->AddDBParam('Password1',"==");
$checklogin->AddDBParam('Password1',$ password);
$checkloginResult=$checklogin->FMFind();
Regards
Andy Gaunt
T: 407.810.4722
<mailto:andy at fmpug.com> andy at fmpug.com
<http://www.fmpug.com/> http://www.fmpug.com
June 23rd 2005, 7pm Orlando FMPug
Register interest online at <http://www.fmpug.com/rsvp>
http://www.pug-planet.com/rsvp.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20050604/e811bfe9/attachment.html
More information about the FX.php_List
mailing list