[FX.php List] FMSA7 - Change Password script step (RESOLVED)

Jason H.Awbrey jason at stravinsoft.com
Mon Sep 13 15:58:35 MDT 2004


After a little banging around, I found if I add $db->FMUseCURL(false); 
it works like a charm. Can someone explain the reason why it works with 
sockets and not with cURL?

Thanks,
Jason H. Awbrey
Director of Custom Development
StravinSOFT, Incorporated
http://www.stravinsoft.com
(469) 916-8841


> From: Jason H. Awbrey <jason at stravinsoft.com>
> Date: September 13, 2004 3:34:16 PM CDT
> To: FX.php Discussion List <fx.php_list at mail.iviking.org>
> Subject: FMSA7 - Change Password script step
>
> Hello All,
>
> I am currently trying to use the new 'Change Password' script step in 
> FM7 via FX.php with no luck. I have a form with the two fields - old 
> password and new password. These fields are simply global text fields 
> in the database. The php script is as such:
>
> <?php
> session_start();
> include ("FX.php");
> include ("server_data.php");
>
>
> $db = new FX($serverIP, $webCompanionPort);
> $db->SetDBData("dbname", "dblayout");
> $db->SetDBPassword($_SESSION['password'], $_SESSION['username']);
> $db->AddDBParam('-recid', $_SESSION['recid']);
> $db->AddDBParam('old_pass_gt', $_POST['old_pass_gt']);
> $db->AddDBParam('new_pass_gt', $_POST['new_pass_gt']);
> $db->AddDBParam('-script', 'change_pass');
> $changepass =$db->FMEdit();
> print_r($changepass['URL'] ."\n");
> ?>
>
> The script is not being run when the PHP script is executed. If I take 
> the output from $changepass['URL'] and execute the URL directly 
> against the XML engine, it works! (???). What's going on???
>
>
> Jason H. Awbrey
> StravinSOFT, Incorporated
> http://www.stravinsoft.com
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1791 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20040913/1a9572b9/attachment.bin


More information about the FX.php_List mailing list