Hi. Thanks for the comments.
For points one through three, I've made the appropriate changes for version 1.6.4 of PhpDig. For point two, I've added an option in the config file whether to use the is_executable command. For point three, I've added an option in the config file to set the length of the temp filenames and set a check for uniqueness just in case.
To your questions, are the files remaining in the temp directory empty? If so, in the robot_functions.php file find:
PHP Code:
if (!$retval) {
and within this if statement, change:
PHP Code:
if (is_array($result)) {
to the following:
PHP Code:
if ((is_array($result)) && (count($result) > 0)) {
EDIT: The above doesn't quite take care of the empty files. PhpDig version 1.6.4 has addressed this problem.
If the files remaining in the temp directory are not empty, what are the file extensions and what external binaries are you using?
For point four, is it that space is changed to %20 in the search results, or where do you see this? If you could, please post your mod to give me a better idea of what you mean.