title: tempnam falling back to /tmp
body: <p>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/ </p>
  
  <p>I have error reporting turned on but no errors are actually being thrown, what should i check?</p>
  
  <p>Thanks.</p>