Re: Insert file into sql server binary field.
| From: | Sterling Hughes | Date: | Sun, 24 Nov 2002 17:49:45 +0000 |
| Subject: | Re: Insert file into sql server binary field. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125818@lists.php.net to get a copy of this message | ||
> 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
>