I haven't tried this, but why don't you just use fopen with a URL, especially if you don't what to have to deal with the http header.
I would think that if you do the fsockopen to port 80, you will need to use the handshake protocol required by that server which involves the get/put http headers. fopen should handle all that for you. http://www.php.net/manual/en/function.fopen.php Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -----Original Message----- From: wm [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:50 AM To: [EMAIL PROTECTED] Subject: [PHP] fsockopen this might be a stupid question, but what the hell... can a web page be called and diplayed using the fsockopen and fputs/fgets functions? so instead of just using a normal href call i use a script and fsockopen (not header(Location: ....) ) etc.? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php