[PHP] Sessions in PHP... where to start???

2006-02-27 Thread Kostas Tsirigos
Hi everybody! I have a problem and I was told to check out the sessions part in PHP. What I want to deal with is the following : I have a PHP page with a form, where the user writes some data. These data are then written into a file which is then used in a system command as input for an external

Re: [PHP] Sessions in PHP... where to start???

2006-02-27 Thread Philip Hallstrom
Hi everybody! I have a problem and I was told to check out the sessions part in PHP. What I want to deal with is the following : I have a PHP page with a form, where the user writes some data. These data are then written into a file which is then used in a system command as input

Re: [PHP] Sessions in PHP... where to start???

2006-02-27 Thread Curt Zirzow
Well for the latter part of your question.. 'Where to start??' the first thing to start with is to NOT reply to a topic and change your subject to ask something else, instead click the icon in your email application that indicates a new message and compose your question addressed to

[PHP] Sessions and PHP

2004-03-26 Thread Patrik Fomin
, March 25, 2004 2:05 AM Subject: Sessions and PHP Hi,, is there anyway to get the number of people connected to the site? in asp you just use Application and session_terminate to accomplish this is there anyway to do this in PHP ? regards patrick -- PHP General Mailing List (http

Re: [PHP] Sessions and PHP

2004-03-26 Thread John W. Holmes
Patrik Fomin wrote: Let me rephrase it, i got a login page, once logged in you you got the session $_SESSION['in'] = true; i want to be able to count the number of people that are logged in atm, so when they logout with either logout button or close the window, i want to then decrese the number.

Re: [PHP] Sessions and PHP

2004-03-26 Thread Patrik Fomin
how do i determine if a session has been destroyed/created ? patrick John W. Holmes [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Patrik Fomin wrote: Let me rephrase it, i got a login page, once logged in you you got the session $_SESSION['in'] = true; i want to be

[PHP] Sessions and PHP

2004-03-24 Thread Patrik Fomin
Hi,, is there anyway to get the number of people connected to the site? in asp you just use Application and session_terminate to accomplish this is there anyway to do this in PHP ? regards patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Sessions and PHP

2004-03-24 Thread Filip de Waard
On Mar 25, 2004, at 2:05 AM, Patrik Fomin wrote: is there anyway to get the number of people connected to the site? in asp you just use Application and session_terminate to accomplish this is there anyway to do this in PHP Hi Patrick, As far as I know this is not possible with default PHP

Re: [PHP] Sessions and PHP

2004-03-24 Thread Chris Shiflett
--- Patrik Fomin [EMAIL PROTECTED] wrote: is there anyway to get the number of people connected to the site? in asp you just use Application and session_terminate to accomplish this is there anyway to do this in PHP? Taken literally, you are asking about the number of active connections,

[PHP] sessions and php

2003-09-18 Thread Patrik Fomin
Hi, can anyone help my list the ways to create/view a session, i need to find out if my host supports any of em (kinda strange host), eg: page1.php start_session[test] register_session[test2] etc page2.php retrive session 1, 2 etc and display their contents regards patrick -- PHP General

Re: [PHP] sessions and php

2003-09-18 Thread Chris Shiflett
--- Patrik Fomin [EMAIL PROTECTED] wrote: start_session[test] register_session[test2] Please read this: http://www.php.net/session Hope that helps. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List

Re: [PHP] sessions and php

2003-09-18 Thread Justin French
Assuming PHP = 4.1 page1.php ? // continue or create a session session_start(); // set some session vars $_SESSION['color'] = 'red'; $_SESSION['name'] = 'Justin'; ? page2.php ? // continue or create a session session_start(); // echo some session vars echo Hello {$_SESSION['name']}, your