Hi,
I know this is a naive question, but I can't seem to solve it on my own, so thanks in advance.
I need to send a secure request to a remote server. To do this, I establish a connection like this one:
$myServer = "www2.foo.edu";
$myPort = 443;
$myTimeOut = 60;
$my_handle = fsockopen($myServer, $myPort, $errno, $errstr, $myTimeOut);
Now, assuming the connection is good, I need to go to a new directory on the remote server, go to an asp page, and pass in a bunch of parameters. This is more or less what this looks like:
$my_string= "/somewhere/something.asp?parm_1=123456&parm2=ABC
And my fputs statement looks like this:
fputs($my_handle,"GET /$my_string HTTP/1.0\r\n\r\n");
This does not seem to be working. Any help greatly appreciated!