Find the answer to your Linux question:
Results 1 to 5 of 5
Hi All, Am using apache and php to build a web application and am trying to create the file outside my working directory but its not creating Anybody knows what ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    3

    file creation problem in linux for web application

    Hi All,

    Am using apache and php to build a web application and am trying to create the file outside my working directory but its not creating

    Anybody knows what is the solution for this

    It'll be great helpful for me

  2. #2
    Linux Enthusiast
    Join Date
    Apr 2004
    Location
    UK
    Posts
    658
    Hi there,

    Can you give us more details about what you are trying to do here? A code sample that re-creates the problem along with the error you are getting would be ideal.

    If it's possible, can you also tell us the result you are trying to achieve? There might be a better way to go about it.

    Let us know how you get on
    To be good, you must first be bad. "Newbie" is a rank, not a slight.

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    3
    Hi,

    Am creating a file inside my working directory to copy some contnents from other file which is one step above the working directory

  4. #4
    Linux Enthusiast
    Join Date
    Apr 2004
    Location
    UK
    Posts
    658
    Hi there,

    Can you post the error you get when you try, along with the code that is breaking?

    Let us know how you get on
    To be good, you must first be bad. "Newbie" is a rank, not a slight.

  5. #5
    Just Joined!
    Join Date
    Aug 2006
    Posts
    14
    Generally, when working with files outside the webserver directories, you access them by symbolic links from the webserver directory to the external directory containing the files. You have to make sure the directory and file permissions and ownership are ok. Apache user and group may be specified in the apache config file.

Posting Permissions

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