On Jul 23, 2013, at 9:55 AM, Daniel Brown <danbr...@php.net> wrote: >> > > If it's /tmp, it's /tmp. The leading slash indicates that it's in > the filesystem root. However, if it's just tmp, then it could - and > probably is - under the client's home directory. Unless they're > chrooted; then it could be displayed as /tmp, but would actually be > virtualized by the OS, where /tmp isn't really /tmp, but could be > /var/virtfs/user/tmp. > > Confusing? Sure. Off-topic for the list? Sort of, but that's > easy enough to change. > > Since you can't use get_sys_temp_dir() on 4.3.10, you should > instead see if $_ENV contains an array key for TMP, TMPDIR, or TEMP. > Or, if you'd rather, you can use getenv('TMP') and the like. It > doesn't mean that you'll get any useful information back (or anything > at all, necessarily), but it's another thing to try when using such an > antiquated version (I believe it was released at the end of 2004).
Thanks Daniel. tedd _____________________ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php