Hi can some one with alittle php knowlegde....

Discussion in 'PHP' started by flippa, Nov 12, 2009.

  1. #1
    please take a look at this for me,

    I have installed a script,and everything seemed to go all right,then i started getting this error mesage:

    Warning: tempnam() has been disabled for security reasons in /home/org/public_html/smarty/libs/internals/core.write_file.php on line 28

    This is what is on line 28:

    {php}$_tmp_file = tempnam($_dirname, 'wrt');{php}

    any help would be greatfully received
     
    flippa, Nov 12, 2009 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    More than likely you have safe mode set on php on your server. contact your host to see why tempnam is not allowed
     
    JAY6390, Nov 12, 2009 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #3
    Yea ur host has safe mode on. either ask ur host to change it or shift to another host
     
    Bohra, Nov 12, 2009 IP
  4. flippa

    flippa Guest

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks i will do that

    thanks again
     
    flippa, Nov 12, 2009 IP