SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: problems with php suexec
-
Oct 1, 2003, 03:43 #1
problems with php suexec
Hi,
I´ve installed a script (http://deltascripts.com/phpclassifieds/) wich works perfectly on my server.
I need to install it on another server wich has php suexec installed (which means that php runs as cgi)
The problem is that when I upload an image using this script, the images have wrong permissions.
I´ve heard I have to add some lines in the php files.
Any idea about it?
Thanks very much
-
Oct 1, 2003, 10:13 #2
- Join Date
- Jun 2003
- Location
- Waterloo, ON
- Posts
- 1,517
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Wouldn't chmod suffice?:
PHP Code:chmod('image.png', 0755);
My name is Steve, and I'm a super-villian.
Bookmarks