Moe Posted August 23, 2006 Posted August 23, 2006 (edited) 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, 2006 by Guest
Moe Posted August 23, 2006 Author Posted August 23, 2006 (edited) 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, 2006 by Guest
Recommended Posts
This topic is 6743 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now