Re: [PHP] fopen() using non-standard port

2002-11-09 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can't use fopen, but you can use fsockopen ( php.net/fsockopen ). $fp = fsockopen ( "www.domain.com", 2734); fputs($fp, "GET / HTTP/1.0\r\n\r\n"); while ( !feof($fp) ) echo fgets($fp, 256); CURL is kinda overkill, sockets are overkill and

Re: [PHP] fopen() using non-standard port

2002-11-09 Thread Khalid El-Kary
hi, i suggest that you use CURL, check the PHP manual if CURL did't help you can use the lower-level PHP sockets extension also check the PHP manual khalid _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.