On 1/26/06, Justin Cook <jcook@xxxxxxxxxxxx> wrote: > > We need to connect to a database on our AS400. Would this be best > accomplished with ODBC? If not, what is the preferred method? Thanks! > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Talking from a Windows point of view, you will need the AS400 Client Access software (or similar - I think it has a new name now!) installed on the machine you are trying to connect from. Once this is done, you need to set up a data source in ODBC - System DSN works best, then use the standard ODBC calls within PHP to access the database. If you need further detail, I should be able to help you once I get to work in about 8 hours!