Can someone please help with a simple function please

Results 1 to 6 of 6
  1. #1
    Member peru is offline
    MemberRank
    Jul 2010 Join Date
    52Posts

    sad Can someone please help with a simple function please

    My web is now working on my web host but it sais Warning: touch() [function.touch]: Unable to create file userlogs/9a5 because Permission denied in d:\Sites\vhosts\mysite.com\httpdocs\secure\shield.php on line 71

    how can i fix it please?


  2. #2
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: Can someone please help with a simple function please

    wow,wow wait.. You said you host the website on a free host?
    How do you plan to connect to your datbase and stuff?

    Also how can we fix it without showing your source?

  3. #3
    Proficient Member Zewa is offline
    MemberRank
    Nov 2009 Join Date
    EstoniaLocation
    183Posts

    Re: Can someone please help with a simple function please

    I see he has .com domain so its not free or wut

    anyway like I sayd in your other post...

    can you post line 71? from secure\shield.php

  4. #4
    Member peru is offline
    MemberRank
    Jul 2010 Join Date
    52Posts

    Re: Can someone please help with a simple function please

    yes touch($iplogdir.$ipfile,$newtime);

  5. #5
    igunz.net Dawson is offline
    LegendRank
    Feb 2010 Join Date
    ::1 (Canada BC)Location
    2,581Posts

    Re: Can someone please help with a simple function please

    update the CHMOD on the files and or directory it can't gain access to.

  6. #6
    Proficient Member Zewa is offline
    MemberRank
    Nov 2009 Join Date
    EstoniaLocation
    183Posts

    Re: Can someone please help with a simple function please

    hmm touch($iplogdir.$ipfile,$newtime);

    maybe try
    touch($iplogdir,$ipfile,$newtime);

    if no then do what DawsonByrd sayd
    Last edited by Zewa; 20-08-10 at 07:19 PM.



Advertisement