Name
tmpfile
Synopsis
int tmpfile()
Creates a temporary file with a unique name, opens it with
read-write privileges, and returns a resource to the file, or false
if an error occurred. The file is
automatically deleted when closed with fclose()
or at the end of the current
script.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.