Hi Barry,
I'm not terrible au fait with the workings of SSL, but it strikes me as
potentially problematic that you are communicating in plain text over an
encrypted protocol. Might that be the problem?
David
Barry wrote:
> Hi everyone!
>
> I want to connect to an SSL server but i can't get the
Hi everyone!
I want to connect to an SSL server but i can't get the content :(
Here is the code i use:
$xml = 'Hello!';
function PostToHost($host, $path, $referer, $data_to_send) {
$fp = fsockopen($host, 443);
printf("Open!\n");
fputs($fp, "POST $path HTTP/1.1\r\n\r\n");
fputs($fp, "Hos
gt; To: [EMAIL PROTECTED]
> Subject: [PHP] problem with fsockopen
>
>
> Hi,Sir:
>
> Can I block cookies when I ftput headers ?
> following is my fsockopen() scripts,
> but it always send back "cookies".
> Is there any way to prevent fro
If you want to block the http headers sent back by the web server,use
fopen() instead.
> -Original Message-
> From: fongming [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 11:29 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] problem with fsockopen
Hi,Sir:
Can I block cookies when I ftput headers ?
following is my fsockopen() scripts,
but it always send back "cookies".
Is there any way to prevent from it ?
thanks
-
$fp = fsockopen ("XXX.XXX.XXX.XXX", 80, $errno, $errstr, 30);
if (!$
I try to connect to a site via fsockopen function and get data calling a
cgi on remote server using a script like this following.
The response is a large amount of data up to 500Kb. But every 5000
characters approximately I get arbitrary strings like numbers "1400" and
"800" and others like "7be"
Hello everyone,
I'm trying to send Email with fsockopen. It works fine but when the body
of the message is superior to 8k. Then the fputs didn't work.
I've read that the fputs had a buffer of 8k and we must use
set_file_buffer to remove buffer. But it seems not to work on a
fsockopen.
Is there
7 matches
Mail list logo