Re: [PHP-DB] database connection timeout

2005-03-24 Thread Martin Norland
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. )

RE: [PHP-DB] database connection timeout

2005-03-24 Thread Juffermans, Jos
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

Re: [PHP-DB] database connection timeout

2005-03-24 Thread Martin Norland
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

[PHP-DB] database connection timeout

2005-03-22 Thread Juffermans, Jos
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

[PHP-DB] Database connection

2003-07-16 Thread Martin
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:

Re: [PHP-DB] Database connection

2003-07-16 Thread colbey
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);

RE: [PHP-DB] Database Connection

2002-02-05 Thread Andrew Hill
-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

Re: [PHP-DB] Database Connection

2002-02-05 Thread Jerry
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

RE: [PHP-DB] Database Connection

2002-02-05 Thread Mark Newnham
); # 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

Re: [PHP-DB] Database Connection Properties

2002-01-07 Thread Miles Thompson
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

Re: [PHP-DB] Database Connection Properties

2002-01-07 Thread Indioblanco
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

Re: [PHP-DB] Database Connection Properties

2002-01-07 Thread patrick gibson
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

Re: [PHP-DB] Database Connection Properties

2002-01-07 Thread patrick gibson
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

[PHP-DB] Database Connection Properties

2002-01-06 Thread patrick gibson
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