ImageGif newbie question

[email protected] (jessica lee tishmack)
Newsgroups php.general
Message-ID <[email protected]>
I am trying to write a gif image to a file...when I use ImageGif, I am
able to view the newly generated file just fine...but when I try this:

$filegif = fopen("images/myfile.gif", "w"); 
ImageGif($im, "images/myfile.gif");
fclose($filegif);                                              

I get a permission denied message...to give some background, the
myfile.gif does not exist, so the "w" should create it, so I have read.
The question I have is, since this is a permissions issue, do I have to
change the permissions on the images directory, in order to write to it?
I don't want to have to give write permissions to the world, and since
this is server side, I didn't think I had to...anyone have a clue about
this?

Thanks in Advance,
Jessica
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.