August 23, 200619 yr Can anyone explain this error? Warning: fsockopen() [function.fsockopen]:/ unable to connect to XX.XXX.X.XXX:591 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in c:InetpubwwwrootFXFX.php on line 610 My database is published online for XSLT and XML. I was able to access the XML through the web browser. Here is my PHP code: <?php // include fx.php include_once("../FX/FX.php"); ?> Untitled Document <?php //declare an instance $raceGenerQuery = new FX("XX.XXX.X.XXX"); // Specify database and layout details $raceGenerQuery->SetDBData("raceGender", "applicants"); // Specify the parameters that you wish to pass to the database using one line like this for each field: $raceGenerQuery->AddDBParam("nameFirst", "Moses"); $raceGenerQuery->AddDBParam("nameLast", "Blumenstiel"); $raceGenerQuery->AddDBParam("nameMiddle", "Aaron"); $raceGenerQuery->AddDBParam("gender", "male"); $raceGenerQuery->AddDBParam("race", "white"); $ReturnedData = $raceGenerQuery->FMNew(); //create a new record Thanks, Moses Edited August 23, 200619 yr by Guest
August 23, 200619 yr Author Never mind! I got it. Here's the change I made: //$raceGenerQuery = new FX("18.142.4.107"); $raceGenerQuery = new FX("18.142.4.107","80","FMPro7"); I hope that helps somebody. Moses Edited August 23, 200619 yr by Guest
Create an account or sign in to comment