$mysqlPicture = addslashes(fread(fopen ($Picture, r), $PSize)); Taco Ekkel wrote : 62Storing files in a DB is definitely the way to go, i successfully used it in a lot of environments and file types before (great for file consitency, file checking, etc.).