> Hi, I need get the extension in bytea type, my web system save in
> database one file, the file can be many extensions, i need get de
> extension from this file for the users can download this file..
If you're not saving the filename you'll have to resort to saving the
file & then using something like:
exec('file /path/to/file', $out);
to work it out.
Postgresql & php tutorials
In response to
pgsql-php by date
|Next:||From: 李彦 Ian Li||Date: 2007-06-08 08:44:10|
|Subject: [newbie] How to do "batch insert"?|
|Previous:||From: Junior||Date: 2007-05-28 19:33:52|
|Subject: Get Extension in Bytea Type|