Re: [PHP-DB] connection from Linux/Apache/PHP/Freetds to MSSQL

2005-06-15 Thread Luis Morales
Hi, I have some experience with odbtp project. This project offer an better api to connect MSSQL databases than freetds. Take an look on : http://odbtp.sourceforge.net/ you can also verify the examples on this page: http://odbtp.sourceforge.net/examples.html It's very easy to use. Have a nice

RE: [PHP-DB] PHP/MySQL with Javascript

2005-06-15 Thread Bastien Koert
you can supply the value to js as a hidden variable in the form bastien From: "Chris Payne" <[EMAIL PROTECTED]> To: Subject: [PHP-DB] PHP/MySQL with Javascript Date: Wed, 15 Jun 2005 16:55:32 -0400 Hi there everyone, Just a quick question, I have a login system that stores whether you are

Re: [PHP-DB] PHP/MySQL with Javascript

2005-06-15 Thread Frank M. Kromann
You can have PHP generate a small javascript section where you define the variables or you can use cookies. - Frank > Hi there everyone, > > > > Just a quick question, I have a login system that stores whether you are > logged in or not with a PHP Session. However, I need it so when people >

[PHP-DB] connection from Linux/Apache/PHP/Freetds to MSSQL

2005-06-15 Thread Fülöp Tamás
I have a problem, with the connection and query listed in subject. In the 30-40% of cases, the query is not working, the explorer shows the Page not found message. After 3-4 refresh the query works properly one times. Who can help me to repair the settings (Apache? PHP? Freetds??)? Fülöp Ta

[PHP-DB] PHP/MySQL with Javascript

2005-06-15 Thread Chris Payne
Hi there everyone, Just a quick question, I have a login system that stores whether you are logged in or not with a PHP Session. However, I need it so when people submit a form to add an item to their cart that Javascript can pickup the PHP Value of whether people are logged in or not. I don'

[PHP-DB] ODBC extra parameters

2005-06-15 Thread Robert Binneman
Hi all, I have an application that needs to connect to an ODBC datasource which requires additional parameters to allow the connection. In VB the connection string takes the following form: "DSN=DATASOURCE;GR_UID=USERNAME;GR_PWD=PASSWORD" I can see no way to pass the GR_UID and GR_PWD parameters

RE: [PHP-DB] unable to login to oracle database using php.

2005-06-15 Thread Bastien Koert
Duno what you want but from your description its working...$conn will return a HANDLE to the connection and that is the "Resource id #5 " message. On failure its shoudl return false which is correct also. I think you want to change your script to return $conn to the main script to be able to u

[PHP-DB] unable to login to oracle database using php.

2005-06-15 Thread babu
Hi, I have a small problem. I am trying to connect to oracle using php.i get strange results.please see the code below. code: function check_database($login,$password) { global $db; echo"checking authentication "; $conn = ocilogon($login,$password,$db); echo "$conn"; if (!$conn) { echo("Error