Query: sys_get_temp_dir
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYS_GET_TEMP_DIR(3) 1 SYS_GET_TEMP_DIR(3) sys_get_temp_dir - Returns directory path used for temporary filesSYNOPSISstring sys_get_temp_dir (void )DESCRIPTIONReturns the path of the directory PHP stores temporary files in by default.RETURN VALUESReturns the path of the temporary directory.EXAMPLESExample #1 sys_get_temp_dir(3) example <?php // Create a temporary file in the temporary // files directory using sys_get_temp_dir() $temp_file = tempnam(sys_get_temp_dir(), 'Tux'); echo $temp_file; ?> The above example will output something similar to: C:WindowsTempTuxA318.tmpSEE ALSOtmpfile(3), tempnam(3). PHP Documentation Group SYS_GET_TEMP_DIR(3)
Related Man Pages |
---|
tempnam(3c) - opensolaris |
tempnam(3p) - centos |
tmpfile(3) - redhat |
tempnam(3) - php |
tempfile(1) - suse |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Denial Of Service Attack Update |
Please Welcome Nicki Paul to the Moderator Team! |