The PHP function tempnam is failing to create a temporary file in the directory i'm passing to the function and falling back to /tmp/
I have error reporting turned on but no errors are actually being thrown, what should i check?
Thanks.
The PHP function tempnam is failing to create a temporary file in the directory i'm passing to the function and falling back to /tmp/
I have error reporting turned on but no errors are actually being thrown, what should i check?
Thanks.
Make sure the directory is writable by the appropriate user. If you're doing this on a web server, it's the web server user: www or apache or whatever.