[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: I get this: Warning: MySQL Connection Fail

Re: [PHP] MySQL database

2001-05-16 Thread \[Inf\] F!RE-WALL
in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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]

Re: [PHP] MySQL database

2001-05-16 Thread \[Inf\] F!RE-WALL
s, then try it with php > > -jack > > "[Inf] F!RE-WALL" wrote: > > > > 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) >

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

Re: [PHP] session handling

2001-03-28 Thread \[Inf\] F!RE-WALL
essing 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 Eve

Re: [PHP] What is the difference between session_unset() and session_destroy()?

2001-03-28 Thread \[Inf\] F!RE-WALL
Erm...I believe session_unset unsets all variables in the session, leaving the session itself intact. While session_destroy deletes the entire session and all variables in it. But I'm not so sure. "Carfield Yim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

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 sec