> if(($srcfp=fopen($blob,"r")) && ($attfp=$article->openattachment($name))) {
> if(fwrite($attfp,fread($srcfp,$blob_size))==$blob_size) {
> fclose($attfp); fclose($srcfp);

> It is added to blobs table but:
> [08-Aug-2001 13:11:24] PHP Warning:  fopen("path/to/my/file","r") - No such file or 
>directory in dodaj on line 4
> the file exist. I do not get it.....

Was $blob the result of a file upload? Does its location match the PHP
upload directory?

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to