Juffermans, Jos wrote:
Hi,
[snip]
Hello, again.
I'm afraid phrasing a question multiple ways over a course of days tends
not to have much success. In an effort to avoid populating google with
just the question, I will give to you what I would try.
( please note the irony of this now. )
Hi,
Martin Norland wrote:
MN I'm afraid phrasing a question multiple ways over a course of days tends
MN not to have much success. In an effort to avoid populating google with
MN just the question, I will give to you what I would try.
I understand your point but since I wasn't getting any
Juffermans, Jos wrote:
I understand your point but since I wasn't getting any response and never
received a confirmation email from the system telling me that my email
account had been verified, I wasn't sure that the original post was actually
sent to the community. Oddly enough I got an email
undefined function means you don't have mysql support compiled in...
prefixing any function with @ suppresses any error messages...
On Thu, 17 Jul 2003, Martin wrote:
I'm trying to use PHP 4.2.3 in a database application.
?php
print Connected?;
$dbcnx = mysql_connect(localhost,root,asda);
Jerry,
Installing DB2 Client will allow you to use the ODBC functions in PHP, but
be aware that you are not actually using any ODBC Drivers in this instance.
PHP allows hiding of certain database specific functions under a Unified
ODBC that uses the ODBC functions without using true ODBC
Thanks Andrew for your answer.
In the environment variables I have already:
DB2INSTANCE=db2inst1
LD_LIBRARY_PATH=:/home/db2inst1/sqllib/lib
Is it correct ? Or does it need to point to the DB2 Client directory
/usr/IBMdb2/V7.1/lib
Thanks.
Jerry
Andrew Hill [EMAIL PROTECTED] wrote in
);
#
HTH
Mark
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 9:43 AM
To: Jerry; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Database Connection
Jerry,
I believe it's the sqllib dir, but you can try
Set the username and password for your database to whatever you want. It
doesn't have to be nobody/nobody.
Pass the username and password from an include file.
Miles Thompson
At 09:31 PM 1/6/2002 -0800, patrick gibson wrote:
I'm new to PHP, and I have a question regarding the storage of
Store the connection strings in an include file preferably outside the
wed root. You can include files with a fully resolved path, or using the
php include_path variable if you have access to the configuration.
Alternately, if you don't have access to directories outside the
webroot, put the
Store the connection strings in an include file preferably outside the
wed root. You can include files with a fully resolved path, or using the
php include_path variable if you have access to the configuration.
Alternately, if you don't have access to directories outside the
webroot, put the
Given that the data are on a shared server, then your info is available to
anybody else with root access to the database directories. A previous
web-site I had allowed me open access to other users mysql databases. I
could have blown those databases away.
Thankfully, I happen to be that
11 matches
Mail list logo