Hi, ok no is working... the only from is that he isn't getting all the info from the file. So i changed from fgets() to fread(). Now comming another problem...the file is made of several lines and when writing to he file on my server, it only paste the info without the correct format of the original file... any way to solve this? Miguel "David Smith" <DavidSmith@byu.net> wrote in message 1050682360.2107.1.camel@localhost">news:1050682360.2107.1.camel@localhost... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php