RE: [PHP-GENERAL] ImageGif newbie question

From: Date: Mon, 15 May 2000 21:22:12 +0000
Subject: RE: [PHP-GENERAL] ImageGif newbie question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78@lists.php.net to get a copy of this message
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:jlt29707@sci.tamucc.edu] > > Sent: 15 May 2000 22:16 > > To: php-general@lists.php.net > > 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: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#78) next »