php-windows Digest 15 Jul 2002 01:08:14 -0000 Issue 1241
Topics (messages 14759 through 14762):
Re: php cookie / session problem
14759 by: Johannes Hiemer
Re: Properly ending a session
14760 by: Matt Babineau
14761 by: pookster
Quick request (ereg?)
14762 by: Ross Fleming
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
look in your php.ini and check if register_globals = on.
If not so do this.
And then check your browsersecurity.
Ciao Johannes
"Mickel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i'm pretty new to php and just installed a few scripts...but i think there
> is a problem in my php.ini because everytime i try to logon i think the
> cookie is never created or something because i always can't log
> on.....please could someone help me thank you very much
>
>
--- End Message ---
--- Begin Message ---
I figured out my problem not being able to properly terminate a session.
I had to
Session_start();
Before the session_destroy;
Is there a way that I ca setup sessions so I do not have to use session
start? I always would want the ability to use sessions so is there a
setting I can change?
Matt Babineau
MCWD / CCFD
-----------------------------------------
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-----Original Message-----
From: Micha [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 14, 2002 5:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Properly ending a session
You can use session_destroy(), this will delete the session (even from
the HD).
-micha
Matt Babineau wrote:
> How can I properly terminate a session? I am working on a login/logout
> system and I need to login as a different user for testing so I want
> to be able to log myself out. I am using session variables to indicate
> my user ID when logged in. Are there any specific methods to use to
> "log myself out"?
>
> Matt Babineau
> MCWD / CCFD
> -----------------------------------------
> e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> p: 603.943.4237
> w: <http://www.criticalcode.com/> http://www.criticalcode.com PO BOX
> 601 Manchester, NH 03105
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Try setting session.auto_start to 1 - see
http://www.php.net/manual/en/ref.session.php
Mikey
> -----Original Message-----
> From: Matt Babineau [mailto:[EMAIL PROTECTED]]
> Sent: 14 July 2002 15:25
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Re: Properly ending a session
>
>
> I figured out my problem not being able to properly terminate a session.
> I had to
>
> Session_start();
>
> Before the session_destroy;
>
> Is there a way that I ca setup sessions so I do not have to use session
> start? I always would want the ability to use sessions so is there a
> setting I can change?
>
> Matt Babineau
> MCWD / CCFD
> -----------------------------------------
> e: [EMAIL PROTECTED]
> p: 603.943.4237
> w: http://www.criticalcode.com
> PO BOX 601
> Manchester, NH 03105
>
>
> -----Original Message-----
> From: Micha [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 14, 2002 5:09 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Properly ending a session
>
>
> You can use session_destroy(), this will delete the session (even from
> the HD).
>
> -micha
>
> Matt Babineau wrote:
>
> > How can I properly terminate a session? I am working on a login/logout
>
> > system and I need to login as a different user for testing so I want
> > to be able to log myself out. I am using session variables to indicate
>
> > my user ID when logged in. Are there any specific methods to use to
> > "log myself out"?
> >
> > Matt Babineau
> > MCWD / CCFD
> > -----------------------------------------
> > e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> > p: 603.943.4237
> > w: <http://www.criticalcode.com/> http://www.criticalcode.com PO BOX
> > 601 Manchester, NH 03105
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
--- End Message ---
--- Begin Message ---
Hi folks, I'm looking for a quick & easy way to strip out all characters
except alphanumerics and spaces. Is there a function specifically for this?
I know the answer probably lies with an ereg but unfortunately don't know
enough about these RE's, would appreciate any Perl geniuses out there
helping me :)
Cheers
Ross
--- End Message ---