Parameter proxy php


#1

Hi,

I have a problem with twitter streaming API. This code doesn’t work :

$ip = “my_proxy”; // proxy IP, change this according to your proxy setting
$port = my_port; // proxy port, change this according to your proxy setting

		$fp = fsockopen($ip,$port); // connect to proxy
		fputs($fp, "POST Host:ssl://stream.twitter.com:443\r\n\r\n");</code>

Can you help me ?
sorry for my english !

thank you