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
Hi,
I'm trying to connect to an Oracle database (using ocilogon) which is in a
different country and connected to our serverfarm via a VPN (the database
has no public access). Unfortunately the VPN or the database is not always
available. In those cases I will present the visitor with a page
I'm trying to use PHP 4.2.3 in a database application.
?php
print Connected?;
$dbcnx = mysql_connect(localhost,root,asda);
if (!$dbcnx) {
echo(pUnable to connect to database server./p);
exit();
}else {
print Connected!;
}
?
Gives
Connected?
Fatal error: Call to undefined function:
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);
-Original Message-
From: Jerry [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 10:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Database Connection
Hi,
I have IBM DB2 V7.2 on a windows 2000 server
I have IBM DB2 Client/Administration Client Development Client V7.2 on a
Linux
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
I'm new to PHP, and I have a question regarding the storage of connection
properties to the database. I have a site on a shared (Unix) server. I'm
adding some PHP to a section which will be database-driven. I'm concerned
about storing the username and password to my database (some of the data
14 matches
Mail list logo