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

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
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

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