Remote DDTS server connection

Remote DDTS server connection

am 17.07.2006 12:31:27 von MuthuKumar

------=_Part_534_9674310.1153132287437
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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@gmail.com | www: http://geocities.com/kmuthu_gct/

------=_Part_534_9674310.1153132287437--

Re: Remote DDTS server connection

am 18.07.2006 02:03:14 von Chris

Muthukumar wrote:
> 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.

Why not use the native oracle libraries
(http://www.php.net/manual/en/ref.oci8.php) or at least use an odbc
(http://www.php.net/manual/en/ref.uodbc.php) connection? It will save
you tons and tons of headaches over trying to get your system to work.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php