Hi a guess..... are you using $filehandle = fopen ("filename", "r"); to open the file http://www.php.net/manual/en/function.fopen.php for more...... if not, that may be the reason, otherwise post the code you are using and lets go from there Peter -----Original Message----- From: Chris Mach [mailto:cjmach@learn.senecac.on.ca] Sent: 01 May 2003 05:44 To: php-db@lists.php.net Subject: Connected Socket I'm trying to open a simple text file with php and i'm getting a warning that says... A socket must be already connected... Does any one know why i'm getting this? or how to fix it? Thanks :o) - Chris -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php