Hi, ive got two hard questions for you guys.
1. I'm trying to load an extension dynamically using DL():
if(!extension_loaded('gtk')){ dl('php_gtk.'.PHP_SHLIB_SUFFIX); }
The problem with this is that i can't load the extension correctly since
the software is running from a USBKEY. These removable medias do not
necessarely always have the same drive letter and i can't ask people to
copy the software on their machine since the software will write back on
the key at a specific location.
2. Further more, i can't seem to find a way to know from which path or
drive my usbkey is operating. There is maybe something i missed
somewhere that's why im asking. Anyone ever found something about the
CLI current run path in $_ENV or $_SERVER var?
Mathieu Dumoulin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php