Help with these warnings please.....

Discussion in 'PHP' started by chrisj, Oct 2, 2007.

  1. #1
    Upon uploading on my web page I received these:

    Warning: fopen(upload_log.txt) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\http\upload1.php on line 49

    Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\http\upload1.php on line 51

    Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\http\upload1.php on line 52

    Can you tell me what they mean and how to remedy them?

    Thanks.
     
    chrisj, Oct 2, 2007 IP
  2. andrew1810

    andrew1810 Peon

    Messages:
    13
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your script doesn't have permission to open C:\Inetpub\wwwroot\http\upload_log.txt

    The other two errors are just because it didn't open the file at the start
     
    andrew1810, Oct 2, 2007 IP