[PHP] MySQL database

2001-05-16 Thread \[Inf\] F!RE-WALL
Yo, I'd like to use a MySQL database on my website. If I look at the PHP details of my site (see for yourself at http://infinity.shrimpwars.be/phpinfo.php) it says under the MySQL section: enabled. Well, if I create a testpage with this as content: ? mysql_connect(localhost, , ) or die (unable

Re: [PHP] MySQL database

2001-05-16 Thread \[Inf\] F!RE-WALL
. first off, is the MySQL database running? you can do a ps -xa | grep mysql to see... second you need to enter a username and password on the mysql_connect line.. Hope this helps, Julia Quoting [Inf] F!RE-WALL ([EMAIL PROTECTED]): Yo, I'd like to use a MySQL database on my website. I

Re: [PHP] MySQL database

2001-05-16 Thread \[Inf\] F!RE-WALL
Huh? What about Windows? Jack Dempsey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... setup an account with a username and password and flush your privileges...see if you can login on the command line...after that works, then try it with php -jack

Re: [PHP] sessions and cookies

2001-03-31 Thread \[Inf\] F!RE-WALL
I don't recommend putting the Session ID in the URL. Subscibed members could pass URL's to eachother and that way they could have eachother's settings. ""David Hynes"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am using sessions to password protect a

[PHP] session handling

2001-03-28 Thread \[Inf\] F!RE-WALL
Every time I want to initiate a session i get this: Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) failed: m (2) in e:\webserver\phptest\page1.php on line 2 Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed

Re: [PHP] session handling

2001-03-28 Thread \[Inf\] F!RE-WALL
symbols, unix uses / windows on the oder hand \, fix this in php.ini and it will work -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [Inf] F!RE-WALL Sent: Wednesday, March 28, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: [PHP] session handling Every time I want