in reply to Re: invoke tempdir() failed
in thread invoke tempdir() failed

Ideally, when the tempdir() is called, a temporary directory like /tmp/vIpIrMQg5r would be created. The question is that I can't find the /tmp/vIpIrMQg5r after calling tempdir(). Generally, user would invoke the function to create a directory from Microsoft IE. Is there any privilege issue regarding to the apache ?

Replies are listed 'Best First'.
Re^3: invoke tempdir() failed
by Anonymous Monk on Sep 30, 2011 at 09:02 UTC

    Lets try again :)

    When you say After I invoke $temp_dir = tempdir();, the corresponding temporary directory can not be found inside /tmp

    How do you know the corresponding temporary can not be found inside /tmp?

      I tried to use 'ls -l /tmp/newly_created_dir' to find the directory, but failed.