Re: Temporary folder

From: Date: Fri, 26 Sep 2003 15:08:24 +0000
Subject: Re: Temporary folder
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22086@lists.php.net to get a copy of this message
Yavor Shahpasov wrote:
http://pear.php.net/manual/en/core.pear.system.mktemp.php |$tempdir = System::mktemp("-d prefix"); $tempdir is the path to the temp dir you want will be deleted after script finishes
Note that if you want your script to run in a path with spaces, you should use: $tempdir = System::mktemp(array('-d', 'prefix')); :) Greg

« previous php.pear.dev (#22086) next »