Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*

2004-08-27 Thread Caveman
You should NEVER NEVER NEVER enabled register globals. You should never trust data comming from the client without making sure what that input is not crazy, Try using $_POST veriables. Its much much safer. Caveman > i was getting error like it, as i was sending my user name passwd > through my

Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*

2004-08-27 Thread Nayyar Ahmed
On Fri, 27 Aug 2004 08:41:11 -0500, Michael Satterwhite <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Friday 27 August 2004 08:25, Michael Satterwhite wrote: > > I'd like to blame Google, but that wouldn't be fair. > > I kept going through the pages that ref

Re: PHP4 - Apache2 - MySQL What am I missing

2004-08-27 Thread Douglas G. Phillips
Michael Satterwhite <[EMAIL PROTECTED]> writes: > When I try to open a web page that has mysql_connect, I get an error message > because I used an undefined function mysql_connect. The same web page works > fine if run on the production machine. What do you see in the output of phpinfo()? If th

Re: PHP4 - Apache2 - MySQL What am I missing

2004-08-27 Thread Marcos Carneiro da Rocha
Hi, do you have installed mysql libraries ??? Marcos Carneiro da Rocha On Fri, 2004-08-27 at 10:25, Michael Satterwhite wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > For development purposes, I have Apache2 running on a local machine. MySQL is > running on one of my main machine

Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*

2004-08-27 Thread Michael Satterwhite
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 27 August 2004 08:25, Michael Satterwhite wrote: I'd like to blame Google, but that wouldn't be fair. I kept going through the pages that referenced this error and found the (obvious) that I hadn't enabled it in php.ini. Sorry about the p