Using passthru is probably not the right way to do this. Curl would be better.outpernet said:The "Viewing Package Details" is disable by default for any special reason?
Warning: passthru() has been disabled for security reasons in /usr/local/directadmin/plugins/pear/user/index.html on line 52
Could you please explain more on it?sullise said:Using passthru is probably not the right way to do this. Curl would be better.
To get it to work, you need to go to /usr/local/lib/php.ini and remove passthru from the disable_functions option.
Thanks for the script though.. Kudos.
This plugin does not retrieve anything from outside.curl is a command line tool for transferring files with URL syntax
>php -v PHP 5.2.17 (cli) (built: Mar 18 2011 11:30:01) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH