[PHP] Error in retrieving a BLOB from DB.

2002-11-27 Thread Naif Al-Otaibi
Hi all, I use the following: 1) Win XP. 2) Oracle personal eddition 8.1.6.0.0. 3) IIS. 4) php-4.2.3-Win32 runs in cgi mode. When I retrieve a blob from my DB, I got the following error: Fatal error: Call to undefined function: load() in c:\inetpub\wwwroot\php1\ora52.php on line 6 -

[PHP] Insert file into sql server binary field.

2002-11-23 Thread Naif Al-Otaibi
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] Some error in file upload.

2002-11-23 Thread Naif Al-Otaibi
I copy a complete example from a book to upload file and I got this message error when I browse the file: Parse error: parse error, unexpected '!', expecting T_VARIABLE or '$' in c:\inetpub\wwwroot\php5\file_upload.php on line 32 Here is the content of the file (file_upload.php):