Re: Re: Upload File
| From: | Peter Hoskin | Date: | Wed, 10 May 2006 15:53:28 +0000 |
| Subject: | Re: Re: Upload File | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235911@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
> Peter Hoskin wrote:
>> Renzo Clavijo wrote:
>>
>>> hi all..
>>>
>>> I'm gonna be more precise:
>>>
>>> I wrote a form with fields <text type="file" .... >, then i need to
>>> know how
>>> to upload the files to the MySQL server (postgreSQL wold be
>>> appreciated). It
>>> implies: Which field(s) must have the table where I'll save the
>>> image?. Is
>>> there an example code to upload the file(s)?
>>
>> Despite common belief, SQL is not suited to the storage of binary files.
>> SQL is based on ASCII.
>
> wtf? ASCII is a codeset, SQL is a theoretical language specification.
> it's like saying 'software is based on computers.' - completely
> besides the point.
GOOGLE DO NOT ARGUE
So, if ASCII and Binary are both codesets... which does SQL use to store
its data?
Regards,
Peter Hoskin