php problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hyper
    Confirmed User
    • Mar 2002
    • 5294

    #1

    php problem

    im reading a html page
    writing to a temp page
    then writing to a html page

    but i get an unlink error
    unlink() failed (Permission denied)

    the pages are chmod to 777

    here is the code

    http://www.mysql.com/articles/ddws/71.html
  • Babaganoosh
    ♥♥♥ Likes Hugs ♥♥♥
    • Nov 2001
    • 15841

    #2
    How about permissions on the directory containing the file you are attempting to write to?
    I like pie.

    Comment

    • boldy
      Macdaddy coder
      • Feb 2002
      • 2806

      #3
      Do you know on which unlink you're getting the message ?

      if not put like :

      echo "First unlink";

      on top of the first and

      echo "second unlink";

      on top of the second ...

      If its the first please check if you have the @ sign in as first char
      MacDaddy Coder.

      Comment

      • boldy
        Macdaddy coder
        • Feb 2002
        • 2806

        #4
        Originally posted by Armed & Hammered
        How about permissions on the directory containing the file you are attempting to write to?
        Good one

        chmod 777 dir/
        MacDaddy Coder.

        Comment

        • hyper
          Confirmed User
          • Mar 2002
          • 5294

          #5
          ahh stupid me.. thats the problem



          thats what i am doing so comus tgp doesnt generate on the fly

          Comment

          Working...