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;
echochecking authentication br;
$conn = ocilogon($login,$password,$db);
echo $conn;
if (!$conn) {
echo(Error
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
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.
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
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??)?
Flp
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
you can supply the value to js as a hidden variable in the form
bastien
From: Chris Payne [EMAIL PROTECTED]
To: php-db@lists.php.net
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
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