SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot websalacarta's Avatar
    Join Date
    May 2003
    Location
    Spain
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problems with php suexec

    Hi,

    Ive 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.

    Ive heard I have to add some lines in the php files.

    Any idea about it?

    Thanks very much

  2. #2
    La la la la la bronze trophy lieut_data's Avatar
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •