Posted by hugenin on 01/12/06 12:00
Hello
This is my problem:
I hava a php script which collect data from a remote IBM DB2 AS400 ,
and puts them on a local MYSQL server.
Calling it from a browser, it's fine.
I want to launch it from command line using CLI ($php script.php)
to put it in a cron job.
Not working!
It gives an error line like: " odbc_connect(): SQL error: , SQL state
è\@ø in SQLConnect".
After "SQL state" are not readable characters.
The error seems to be in the odbc_connect() statement?
Any ideas?
Can I solve it, or have to go back to PERL? (Don't want to!)
thanks
huge
[Back to original message]
|