1

I'm having trouble finding the tmp dir of a particular host and I'm wondering if there is any reason not to just stick it inside the Drupal root.

  • 1
    Not sure, but sys_get_temp_dir() will get you the path to the system tmp folder – Clive Sep 12 '12 at 15:26
  • 1
    Thank you! Been writing php for 5 years and still discovering functions like this all the time. – Kevin Sep 12 '12 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.