I can run htdig and htmerge (under windows) from a command prompt without a problem.
I've made a batch file to run them both - that works fine from the command prompt.
However, when I try to run htmerge from PHP (using the batch or htmerge direct)htmerge stops without error just after "htmerge sorting.."
Are you running through PHP as the same user, and with the same environment, as used when things work correctly? The htmerge program attempts a sort that likely uses a directory outside of your ht://Dig install as a work area. If a TMPDIR environment variable is specified, that is used as the working directory. Otherwise the system's sort command uses whatever happens to be its default working directory. If the environment/user is different in the two cases, there might be some sort of access issues involved.
Also, at the point where htmerge appears to be hanging, the system sort command is called via popen. This involves a fork and invocation of a shell in order to process the command. I have no idea whether this would be a problem with your use of PHP, but it seems the most likely place for a hang if things are stopping after "htmerge: Sorting...".
Jim
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

