Dear All, I am having an requirement as, Connect to remote machine and execute ddtssql binary to query DDTS oracle database and return data to local client using php. Machine 2 # ddtssql -f file where, file is having queries. machine1 ---- php --> machine2 (DDTS server) I was trying with expect script using system() in php which is taking 2+ minutes to get the result like, Machine1(php) -> system(script.exp) -> .... Machine2 -> query.sh -----> query DDTS server Thanks for your time on this. Best Regards. -Muthu -- Mail: zenmuthu@xxxxxxxxx | www: http://geocities.com/kmuthu_gct/