RE: [PHP-GENERAL] ImageGif newbie question

[email protected] (jessica lee tishmack)
Newsgroups php.general
Message-ID <[email protected]>
thanks...you were right

Jessica

On Mon, 15 May 2000, Liz Kimber wrote:

> Yes, to create a file you would need permissions to write to the directory..
> Normally under unix if the file is writeable itself, then that would be OK,
> but PHP seems to stop you, so you would need to do the whole directory.
> 
> > -----Original Message-----
> > From: jessica lee tishmack [mailto:[email protected]]
> > Sent: 15 May 2000 22:16
> > To: [email protected]
> > Subject: [PHP-GENERAL] ImageGif newbie question
> >
> >
> > 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
> >
> >
> > --
> > PHP General 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]
> >
> 
> 
> -- 
> PHP General 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]
>
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.