> Read the file, addslashes(), and then insert it > Rather, read the file, don't touch addslashes, then insert it.
AddSLashes is not for binary data... -Sterling > Naif Al-Otaibi wrote: > > >How can I insert a file into a binary field in sql server 2000. Do I > >need some function in the query like upload or just read the file and > >insert it. > > > >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