I'm wanting to store very small files to mysql tabels etc. I can find many examples which show you how to do this, however they use FORMS to browse for the file and select it.
what i'm wanting to do is just point to the file using the following method
$file="file.dat"
Could someone be kind enough to show me how i should read the file in to an varible so i can then store it in to the mysql.
Thanks