Re: [PEPr] Comment on File Formats::File_Karma
| From: | Ian Eure | Date: | Wed, 24 Aug 2005 04:37:09 +0000 |
| Subject: | Re: [PEPr] Comment on File Formats::File_Karma | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39529@lists.php.net to get a copy of this message | ||
On Monday 22 August 2005 01:57 pm, Philippe Jausions wrote:
> - You can't rely on /tmp to be the temp directory. There's probably a
> PEAR package somewhere that deals with that. I don't remember right now.
>
$tmp = getenv('TMPDIR');
or
ini_get('upload_tmp_dir');
or
dirname(tempnam());
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]