Jump to content
The Uniform Server Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About SteveJ

  • Rank

Previous Fields

  • Main OS
    Windows 7

Profile Information

  • Gender
  1. SteveJ

    XML-RPC and SSL

    An update to my question: This comes from an unknown source (which may be wrong), but this seems reasonable. "HTTPS is a protocol that encapsulates HTTP. That is, when you type in anHTTPS URL in a browser, it first tries to establish an SSL-session with the server's mod_ssl engine. Once that's up, the browser and server then use HTTP in the normal way, but each frame is encrypted and decrypted at the interfaces. So at the start of a session, the server listening on port 443 is an HTTPS server and cannot receive plain HTTP requests. So you need a second VH to listen to HTTP traffic and redirect it to HTTPS." His solution is that my SSL must listen to both 80 and 443. Like so: Listen 443 https Listen 80 http However, Apache won't run when I do this. Thanks! -Steve
  2. SteveJ

    XML-RPC and SSL

    Hello, I am trying to run a web service into SSL to simulate how a store might connect to a bank for a credit card transaction. I can get the web service to operate from port 80 localhost to port 80 localhost, and from SSL localhost (port 443) to port 80 localhost, but when I try to send data into SSL, I get no data back. I am using a PHP web service and 'utils.php' as a library. My intention is to get a working connection, and then fill it in with the necessary queries to make the credit card piece work. Think of this as a proof of concept or a 'Hello World' at the moment. the client app <?php include("utils.php"); $host = "localhost"; $uri = "/server.php"; $result = xu_rpc_http_concise( array( 'method' => "uptime", 'host' => $host, 'uri' => $uri, 'port' => 443 ) ); print "The uptime on " . $host . " is " . $result; ?> The server app: <?php function uptime_func($method_name, $params, $app_data) { return time()." insecure"; } $xmlrpc_server = xmlrpc_server_create(); xmlrpc_server_register_method($xmlrpc_server, "uptime", "uptime_func"); header('Content-Type: text/xml'); $request_xml = $HTTP_RAW_POST_DATA; $response = xmlrpc_server_call_method($xmlrpc_server, $request_xml, ''); print $response; xmlrpc_server_destroy($xmlrpc_server); ?> Thanks! -Steve
  3. Hello, I would like to set up web services on my system. If I understand this correctly, I must install an application server on my system as well as having the web server running. Does Uniform Server make any recommendations on what would be compatible (or have an application server built)? I am currently running Nano 5_6_13, but I do realize this is dated and am willing to upgrade if needed. Thanks! -Steve
  4. SteveJ

    Mysqli problems

    Hello, I found my problem. When using mysqli, you must reverse the order of your parameters on mysqli_select_db (which is now only used when you want to change the database as the database is now declared in the connect function), and in the mysqli_query function. The proper orders are: $con = mysqli_connect($host, $user, $pass, $database); //mysqli_select_db($con, $database); use only if you want to change the default database mysqli_query($con, $recordset); -Steve
  5. SteveJ

    Mysqli problems

    Hello, I am using Uniform Server 5-6-13. I am trying to use mysqli, but when I use the mysqli_connect command, my php web page does not render (blank page). It renders fine with mysql_connect. I looked in php.ini and my extension appears to be good: extension=php_mysqli.dll with no semi-colon before it. I ran my connect page (using mysql_connect) and this code: $text = var_dump(function_exists('mysqli_connect')); echo $text; it printed to the page "bool(true)", which I understand means that mysqli does exist. I must be missing a setting somewhere. I hope you know where... Thanks! -Steve
  6. Ric, All's I can say is "pure genius". Using instead of 'localhost' as my MySQL server address fixed the problem pronto! Thanks!! -Steve
  7. Hello Shyokou, Thanks for the speedy reply. they have changed a lot. I did not change my configuration of Dreamweaver. I have allowed a hole in my Windows firewall for MySQL. MySQL is listening (port 3306, mysql-opt.exe) according to netstat -abn -p tcp. -Steve
  8. Hello, I used an older version of Uniform Server before. It created a "W" drive when it was started. I used the "W" drive as my web server, the "C" drive (through the udrive folder) as my testing server, and my desktop as my local computer. I am now using UniServer5_6_13 on Windows 7. It does not create a "W" drive (at least for me). I tried using the C:\UniServer\www folder as both my remote and testing servers, but Dreamweaver can't find my database. I also tried using my desktop folder for both local and testing, but it didn't work either. I can work locally and upload to the web server no problem. I can't connect to dynamic content. I've tried by the wizard and the advanced systems to connect my .php page to a database. The database was created using phpMyAdmin in Uniform Server and appears to run fine. I have created a username and password, but Dreamweaver MX 2004 is not complaining about those - it says that my connection cannot find the database. I am using mySQL and PHP. "2002 A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host as failed to respond." Thanks!! -Steve
  9. SteveJ

    Server is busy

    Hello, I installed Uniform Server on my computer (Windows XP). While I was doing this, I was not asked to block or unblock port 80. When my browser opens or I try to use http://localhost, the Uniform Server web page flashes open and closed and then redirects to the apanel, which is blank. If I try to turn Apache on, it says that my server is busy. I'm assuming that my port 80 is blocked by something, but I ran the cmd and it said that my port 80 is not blocked. Do you know what could be causing this? Thanks! -Steve
  • Create New...