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
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]
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)
>
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
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
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]...
>
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
7 matches
Mail list logo