Pleas Help Me (File Upload and delete)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Damodhar

    Pleas Help Me (File Upload and delete)

    hi any one help me to .. fix this problem


    I am using Windows Xp using Xamp to run my php application

    while unlink the file i received one error like Access denied in my
    local machine how can i give write permission to this particular
    folder.

    how can i solve please any one help me to fix.

  • Erwin Moller

    #2
    Re: Pleas Help Me (File Upload and delete)

    Damodhar schreef:
    hi any one help me to .. fix this problem
    >
    >
    I am using Windows Xp using Xamp to run my php application
    >
    while unlink the file i received one error like Access denied in my
    local machine how can i give write permission to this particular
    folder.
    >
    how can i solve please any one help me to fix.
    >
    Hi Damodhar,

    PHP is just a process, so it runs as a certain user.
    Since you installed Xamp, you run Apache.
    I am not very knowledgable when it comes to Xamp (I install all by
    hand), but I never saw an Apache with a username other that:
    - www-data
    - nobody
    - apache

    Look them up in your useradministrat ion thingy.

    Then you know which user runs PHP (via Apache).

    Make sure that user has rights on the directory or file you want to unlink.

    Regards,
    Erwin Moller

    Comment

    • Jerry Stuckle

      #3
      Re: Pleas Help Me (File Upload and delete)

      Damodhar wrote:
      hi any one help me to .. fix this problem
      >
      >
      I am using Windows Xp using Xamp to run my php application
      >
      while unlink the file i received one error like Access denied in my
      local machine how can i give write permission to this particular
      folder.
      >
      how can i solve please any one help me to fix.
      >
      >
      Try a Windows newsgroup. They can help you with Windows settings.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?=

        #4
        Re: Pleas Help Me (File Upload and delete)

        Damodhar escribió:
        I am using Windows Xp using Xamp to run my php application
        >
        while unlink the file i received one error like Access denied in my
        local machine how can i give write permission to this particular
        folder.
        As you've already been told, this is off-topic.

        Right click on the folder icon, choose "Properties " and go to the
        "Security" tab. Add there the appropriate user and grant the desired
        permissions.

        What's the user? If you run Apache as a regular program then the user is
        *you*. If you run Apache as service then you must find out. Hit Win+R
        and type "services.m sc". Find "Apache" in the list and double click on
        it. The user is specified in the second tab ("Iniciar sesión" in
        Spanish, not sure about English versions of Windows). If you're hitting
        permission issues I suggest you create a Windows user for Apache and set
        it there, rather than using the LOCAL_SYSTEM default user.



        --
        -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
        -- Mi sitio sobre programación web: http://bits.demogracia.com
        -- Mi web de humor al baño María: http://www.demogracia.com
        --

        Comment

        • C. (http://symcbean.blogspot.com/)

          #5
          Re: Pleas Help Me (File Upload and delete)

          On 2 May, 11:15, "Álvaro G. Vicario"
          <alvaroNOSPAMTH A...@demogracia .comwrote:
          Damodhar escribió:
          >
          I am using Windows Xp using Xamp to run my php application
          >
          while unlink the file i received one error like Access denied in my
          local machine how can i give write permission to this particular
          folder.
          >
          As you've already been told, this is off-topic.
          >
          ... make sure nothing else is using the file. File locking in
          MSWindows is very greedy.

          C.

          Comment

          Working...