How do you pass an arg to a script on an ssl server?
Posted: Tue Aug 22, 2006 9:42 am
What is the proper way to pass the foo argument from a script on Server A to a script on Server B.
Server A is not running SSL
Server B is running SSL
If I'm going about this all wrong please don't assume that I have a good reason
My script is running on server A. It needs to pass an argument to a script on Server B. The following two attempts have given confusing results:
Attempt1:
This resulted in my browser trying to download the script. Very strange.
Attempt2:
This resulted in the following error...
ERROR 2: file(): SSL operation failed with code 1. OpenSSL Error messages: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG...
What is the proper way to pass the foo argument to a script on Server B? Thanks in advance.
Server A is not running SSL
Server B is running SSL
If I'm going about this all wrong please don't assume that I have a good reason
Attempt1:
Code: Select all
include('https://securedomaincom/script.php?foo=bar');Attempt2:
Code: Select all
$result = file('https://securedomaincom/script.php?foo=bar');ERROR 2: file(): SSL operation failed with code 1. OpenSSL Error messages: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG...
What is the proper way to pass the foo argument to a script on Server B? Thanks in advance.