How to unshow/ignore a prompt from web server?

Discussion in 'PHP' started by nuvar, Mar 23, 2010.

  1. #1
    Ok I got a website that allows people to post events, but after my webhost changed to a new server I get the prompt below

    Warning: chmod() has been disabled for security reasons in [path]/new_event.php on line 307

    Is there any way we can ignore the above string so that it does not show to users? I've tried changing the permissions but it doesnt work. The event still gets posted but the above string shows.

    TIA
     
    nuvar, Mar 23, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    Put symbol "@" before chmod() function like this: @chmod(...)
     
    s_ruben, Mar 23, 2010 IP
  3. nuvar

    nuvar Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks alot!
     
    nuvar, Mar 24, 2010 IP