[PHP-DB] storing PDF in a database

2002-03-24 Thread Alain DESEINE

Hello,

For many different reasons, like security ans soĆ¹me other one, i need to 
store PDF files in a database.

- Does anybody have already do this ?
- What kind of field type should i use (image filed type ???) ?

I'm currently using an ASE 12 (64 bits) SYBASE server on a HP-UX 11.00 
(64 bits) box.

The application server is a linux server with apache and PHP.

Any feedback about doing somethin like this will be valuable ...

Many thanks for responses.

Best regards,

Alain DESEINE.


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] ASE serversRe: [PHP-DB] php4 and sybase-ct seg fault

2001-05-12 Thread Alain DESEINE



Paul Kozlenko wrote:
 
 Reporting errors to the web page I get;
 Warning: Sybase: Server message: Changed database context to 'pcs1prod'.
 (severity 10, procedure N/A) in /pcs/pk.php on line 10
 (where line 10 is actually the first line shown here - sybase_connect)
 
 Data does come back however after a long period.
 Does anybody have any clues I might look for?
 
 I appreciate any help here from anybody.

The problem is that the standard install of php set the
sybct.min_server_severity to 10, and 10 is definitively not the first
level of error reporting for SYBASE servers. For example when you issue
a use mydatabase SQL statement, you got a message of severity 10 to
tell you that the database switching is ok ... 

The first real level of warning for a SYBASE server is 11 so you'll have
to edit your php.ini file and set the correct value to this parametters
!

Here is my own configuration :

sybase.min_server_severity  =   11  ; minimum server message
severity to display
sybase.min_client_severity  =   11  ; minimum client message
severity to display

Attention apparently these values doni't do anything with PHP4, or there
are here for compatibility from older version of PHP :

sybase.min_error_severity   =   11  ; minimum error severity
to display
sybase.min_message_severity =   11  ; minimum message
severity to display


Hope this will help you !

Alain.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]