> > > And do the permissions of the file and the directories
> > > leading to the file permit the apache process to see it?
> >
> > What files?
>
> The file you're trying to read. 'su' to the user apache runs as and
> see if you can cat the file.
>From my local hard drive?
uh! I went two steps forward:
<form> name , title, blob </form>
<?
$article = mgd_get_article($id);
$attid=$article->createattachment($name, $title, "image/gif");
if ($attid) {echo "ok created" ;}
// returns ok
$attfp=$article->openattachment($name,"r+");
if ($attfp) {echo "ok opened";}
// returns ok
fwrite ($name,$attfp);
// Supplied argument is not a valid File-Handle resource
// what should be exactly my file content in this case?
fclose($attfp);
?>
Piotras
_________________________
http://www.infoglob.pl/sklep
http://www.milinski.com.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]