[PHP-DB] ODBC

2003-10-14 Thread Ricardo C. Fernandez de C.
Hi all, I have been trying to connect to a windows ODBC controller with PHP, and after reading some of the documentation, I can't make the connection This is the Code I'm using: And i get this Warning Message: Warning: Wrong Parameter count for odbc_connect in c:\apache2\htdocs\od_connect.php

RE: [PHP-DB] ODBC

2003-10-14 Thread Ricardo C. Fernandez de C.
t; to the DB. Assuming you have none, try this: > > $conn=odbc_connect("Driver={Microsoft Fox Pro Driver};Server= > 127.0.0.1;Database=telefonia","",""); > > -Original Message- > From: Ricardo C. Fernandez de C. [mailto:[EMAIL PROTECTED] > S

RE: [PHP-DB] ODBC

2003-10-15 Thread Ricardo C. Fernandez de C.
pages. > Otherwise, you might want to look into using DSN-less connections instead. > > -Original Message- > From: Ricardo C. Fernandez de C. [mailto:[EMAIL PROTECTED] > Sent: 14 October 2003 16:22 > To: php-db > Subject: RE: [PHP-DB] ODBC > > > Ok, it

Re: [PHP-DB] ODBC

2003-10-15 Thread Ricardo C. Fernandez de C.
create the DSN (you can check how to make an dsn > on http://www.weberdev.com) > 3) Check your php to verify foxpro api is installed (write an info php file > and find foxpro api over dump file info) > 4) Try connect to the data base > > Regards, > > LM > &g

[PHP-DB] ODBTP - ODBC - FOXPRO.

2003-10-17 Thread Ricardo C. Fernandez de C.
Hi all, After reading your emails I installed ODBTP so I could access my ODBC server from my linux box, but i'm still getting some errors, this is my code: (the first IP is the IP of my ODBTP/ODBC server). And this is the Error i get: (part is in spanish, i'm sorry for it) Warning: [S1000][1