RE: [PHP] Using the fsockopen ()-function

2002-01-24 Thread Matt Schroebel
>-Original Message- >From: Björne [mailto:[EMAIL PROTECTED]] >Subject: [PHP] Using the fsockopen ()-function >- >$sp = fsockopen ( "www.php.net", 80, &$errno, &$errstr, 25 ); if ( !$sp ) { > die ( $errno . ": " . $errstr ); &

[PHP] Using the fsockopen ()-function

2002-01-24 Thread Björne
Hi! I'm having trouble with the fsockopen ()-funcion. When I'm using the code below, the page that is returned is all white. What to do? Am I doing anything wrong? - $sp = fsockopen ( "www.php.net", 80, &$errno, &$errstr, 25 ); if ( !$sp ) { die ( $errno . ": " . $errstr ); } else