Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Mike

Running Slakware linux 2.4.7 kernel... if you want more info you can go to
http://www.funyon.com/phpinfo.php and see the phpinfo page.
Thanks,
Mike

- Original Message -
From: Naintara Jain [EMAIL PROTECTED]
To: Mike [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 12:22 PM
Subject: RE: [PHP] CANT GET STUFF TO WORK


 what OS are you running on?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 t]On Behalf Of Mike
 Sent: Tuesday, July 09, 2002 12:37 PM
 To: Jay Blanchard; [EMAIL PROTECTED]
 Subject: Re: [PHP] CANT GET STUFF TO WORK


 I have read that, I am still confused, I have made it so that the
 session_start is at the top of all the pages, and I can't get some of the
 variables out of the script (i.e. I set a variable with
 session_register('user')) and on the next page I could not get the user
 variable out of the session on the next page.. does that help out?
 Thank You,
 Mike

 - Original Message -
 From: Jay Blanchard [EMAIL PROTECTED]
 To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, July 09, 2002 3:25 PM
 Subject: RE: [PHP] CANT GET STUFF TO WORK


  http://www.php.net/manual/en/ref.session.php
 
  Start there, and then when you can tell us what the more specific
problems
  are with your sessions we will be able to help.
 
  Jay
 
  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 09, 2002 2:20 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] CANT GET STUFF TO WORK
 
 
  Hello, I am wondering if you could help me... I can't seem to figure out
 how
  to get sessions working.
  Thank You,
  Mike
 
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Jason Wong

On Wednesday 10 July 2002 21:58, Mike wrote:

Please do not top post (ie add your comments/reply at the top), it makes it 
difficult to follow who said what and when.

 Running Slakware linux 2.4.7 kernel... if you want more info you can go to
 http://www.funyon.com/phpinfo.php and see the phpinfo page.

Have you managed to get the examples in the manual to work? Always start with 
something simple and work your way up. The examples in the manual are an 
ideal reference point as they _should_ work, so if they don't work for you 
you'll know you're doing something wrong.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
I'm mentally OVERDRAWN!  What's that SIGNPOST up ahead?  Where's ROD
STERLING when you really need him?
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Mike

- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 10:25 AM
Subject: Re: [PHP] CANT GET STUFF TO WORK


 On Wednesday 10 July 2002 21:58, Mike wrote:

 Please do not top post (ie add your comments/reply at the top), it makes
it
 difficult to follow who said what and when.

  Running Slakware linux 2.4.7 kernel... if you want more info you can go
to
  http://www.funyon.com/phpinfo.php and see the phpinfo page.

 Have you managed to get the examples in the manual to work? Always start
with
 something simple and work your way up. The examples in the manual are an
 ideal reference point as they _should_ work, so if they don't work for you
 you'll know you're doing something wrong.


I figured it out... it was me being stupid ;( I was looking for the docs and
didn't have the most recent version of php. therefore I was using $_SESSION
when I should have been using $HTTP_SESSION_VARS.. I talked to my isp and
they don't want to upgrade the version of php that is running ;(
Thanks,
Mike

 --
 Jason Wong - Gremlins Associates - www.gremlins.com.hk
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *

 /*
 I'm mentally OVERDRAWN!  What's that SIGNPOST up ahead?  Where's ROD
 STERLING when you really need him?
 */


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Jay Blanchard

http://www.php.net/manual/en/ref.session.php

Start there, and then when you can tell us what the more specific problems
are with your sessions we will be able to help.

Jay

-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] CANT GET STUFF TO WORK


Hello, I am wondering if you could help me... I can't seem to figure out how
to get sessions working.
Thank You,
Mike



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike

I have read that, I am still confused, I have made it so that the
session_start is at the top of all the pages, and I can't get some of the
variables out of the script (i.e. I set a variable with
session_register('user')) and on the next page I could not get the user
variable out of the session on the next page.. does that help out?
Thank You,
Mike

- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 3:25 PM
Subject: RE: [PHP] CANT GET STUFF TO WORK


 http://www.php.net/manual/en/ref.session.php

 Start there, and then when you can tell us what the more specific problems
 are with your sessions we will be able to help.

 Jay

 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 09, 2002 2:20 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] CANT GET STUFF TO WORK


 Hello, I am wondering if you could help me... I can't seem to figure out
how
 to get sessions working.
 Thank You,
 Mike





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Jay Blanchard

How did you do it, POST? GET? Is there a form involved? Can you show us the
code from the two pages? Maybe my ESP will kick in :^)

-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:37 PM
To: Jay Blanchard; [EMAIL PROTECTED]
Subject: Re: [PHP] CANT GET STUFF TO WORK


I have read that, I am still confused, I have made it so that the
session_start is at the top of all the pages, and I can't get some of the
variables out of the script (i.e. I set a variable with
session_register('user')) and on the next page I could not get the user
variable out of the session on the next page.. does that help out?
Thank You,
Mike

- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 3:25 PM
Subject: RE: [PHP] CANT GET STUFF TO WORK


 http://www.php.net/manual/en/ref.session.php

 Start there, and then when you can tell us what the more specific problems
 are with your sessions we will be able to help.

 Jay

 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 09, 2002 2:20 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] CANT GET STUFF TO WORK


 Hello, I am wondering if you could help me... I can't seem to figure out
how
 to get sessions working.
 Thank You,
 Mike








-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Lee

I am new to PHP  Sessions myself.

But I think $_SESSION['varname'] may be what you are looking for.

e.g. $_SESSION['count'] = 2;

- Original Message -
From: Mike [EMAIL PROTECTED]
To: Jay Blanchard [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 8:37 PM
Subject: Re: [PHP] CANT GET STUFF TO WORK


 I have read that, I am still confused, I have made it so that the
 session_start is at the top of all the pages, and I can't get some of the
 variables out of the script (i.e. I set a variable with
 session_register('user')) and on the next page I could not get the user
 variable out of the session on the next page.. does that help out?
 Thank You,
 Mike

 - Original Message -
 From: Jay Blanchard [EMAIL PROTECTED]
 To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, July 09, 2002 3:25 PM
 Subject: RE: [PHP] CANT GET STUFF TO WORK


  http://www.php.net/manual/en/ref.session.php
 
  Start there, and then when you can tell us what the more specific
problems
  are with your sessions we will be able to help.
 
  Jay
 
  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 09, 2002 2:20 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] CANT GET STUFF TO WORK
 
 
  Hello, I am wondering if you could help me... I can't seem to figure out
 how
  to get sessions working.
  Thank You,
  Mike
 
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike

I used both a post and a get (using  print a
href=\$PHP_SELF\.session_name().=.session_id(). click here/a;) and
a post, but they don't seem to work.
Mike
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 3:43 PM
Subject: RE: [PHP] CANT GET STUFF TO WORK


 How did you do it, POST? GET? Is there a form involved? Can you show us
the
 code from the two pages? Maybe my ESP will kick in :^)

 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 09, 2002 2:37 PM
 To: Jay Blanchard; [EMAIL PROTECTED]
 Subject: Re: [PHP] CANT GET STUFF TO WORK


 I have read that, I am still confused, I have made it so that the
 session_start is at the top of all the pages, and I can't get some of the
 variables out of the script (i.e. I set a variable with
 session_register('user')) and on the next page I could not get the user
 variable out of the session on the next page.. does that help out?
 Thank You,
 Mike

 - Original Message -
 From: Jay Blanchard [EMAIL PROTECTED]
 To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, July 09, 2002 3:25 PM
 Subject: RE: [PHP] CANT GET STUFF TO WORK


  http://www.php.net/manual/en/ref.session.php
 
  Start there, and then when you can tell us what the more specific
problems
  are with your sessions we will be able to help.
 
  Jay
 
  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 09, 2002 2:20 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] CANT GET STUFF TO WORK
 
 
  Hello, I am wondering if you could help me... I can't seem to figure out
 how
  to get sessions working.
  Thank You,
  Mike
 
 
 







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Jay Blanchard

Let's see the code from the pages

-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:56 PM
To: Jay Blanchard; [EMAIL PROTECTED]
Subject: Re: [PHP] CANT GET STUFF TO WORK


I used both a post and a get (using  print a
href=\$PHP_SELF\.session_name().=.session_id(). click here/a;) and
a post, but they don't seem to work.
Mike
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 3:43 PM
Subject: RE: [PHP] CANT GET STUFF TO WORK


 How did you do it, POST? GET? Is there a form involved? Can you show us
the
 code from the two pages? Maybe my ESP will kick in :^)

 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 09, 2002 2:37 PM
 To: Jay Blanchard; [EMAIL PROTECTED]
 Subject: Re: [PHP] CANT GET STUFF TO WORK


 I have read that, I am still confused, I have made it so that the
 session_start is at the top of all the pages, and I can't get some of the
 variables out of the script (i.e. I set a variable with
 session_register('user')) and on the next page I could not get the user
 variable out of the session on the next page.. does that help out?
 Thank You,
 Mike

 - Original Message -
 From: Jay Blanchard [EMAIL PROTECTED]
 To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, July 09, 2002 3:25 PM
 Subject: RE: [PHP] CANT GET STUFF TO WORK


  http://www.php.net/manual/en/ref.session.php
 
  Start there, and then when you can tell us what the more specific
problems
  are with your sessions we will be able to help.
 
  Jay
 
  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 09, 2002 2:20 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] CANT GET STUFF TO WORK
 
 
  Hello, I am wondering if you could help me... I can't seem to figure out
 how
  to get sessions working.
  Thank You,
  Mike
 
 
 










-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Lee

I am new to PHP  Sessions myself.

But I think $_SESSION['varname'] may be what you are looking for.

e.g. $_SESSION['count'] = 2;

Regards

Lee.
- Original Message -
From: Mike [EMAIL PROTECTED]
To: Jay Blanchard [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 8:37 PM
Subject: Re: [PHP] CANT GET STUFF TO WORK


 I have read that, I am still confused, I have made it so that the
 session_start is at the top of all the pages, and I can't get some of the
 variables out of the script (i.e. I set a variable with
 session_register('user')) and on the next page I could not get the user
 variable out of the session on the next page.. does that help out?
 Thank You,
 Mike

 - Original Message -
 From: Jay Blanchard [EMAIL PROTECTED]
 To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, July 09, 2002 3:25 PM
 Subject: RE: [PHP] CANT GET STUFF TO WORK


  http://www.php.net/manual/en/ref.session.php
 
  Start there, and then when you can tell us what the more specific
problems
  are with your sessions we will be able to help.
 
  Jay
 
  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 09, 2002 2:20 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] CANT GET STUFF TO WORK
 
 
  Hello, I am wondering if you could help me... I can't seem to figure out
 how
  to get sessions working.
  Thank You,
  Mike
 
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Lee

From the work I have done,  I have found that in the event PHP doesn't do
this automatically (such as in some javascript code), you need to ensure you
include a PHPSESSID varible in the URL something like:

print www.mysite.net?PHPSESSID=  . session_id();

- Original Message -
From: Mike [EMAIL PROTECTED]
To: Jay Blanchard [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 8:56 PM
Subject: Re: [PHP] CANT GET STUFF TO WORK


 I used both a post and a get (using  print a
 href=\$PHP_SELF\.session_name().=.session_id(). click here/a;)
and
 a post, but they don't seem to work.
 Mike
 - Original Message -
 From: Jay Blanchard [EMAIL PROTECTED]
 To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, July 09, 2002 3:43 PM
 Subject: RE: [PHP] CANT GET STUFF TO WORK


  How did you do it, POST? GET? Is there a form involved? Can you show us
 the
  code from the two pages? Maybe my ESP will kick in :^)
 
  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 09, 2002 2:37 PM
  To: Jay Blanchard; [EMAIL PROTECTED]
  Subject: Re: [PHP] CANT GET STUFF TO WORK
 
 
  I have read that, I am still confused, I have made it so that the
  session_start is at the top of all the pages, and I can't get some of
the
  variables out of the script (i.e. I set a variable with
  session_register('user')) and on the next page I could not get the user
  variable out of the session on the next page.. does that help out?
  Thank You,
  Mike
 
  - Original Message -
  From: Jay Blanchard [EMAIL PROTECTED]
  To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Tuesday, July 09, 2002 3:25 PM
  Subject: RE: [PHP] CANT GET STUFF TO WORK
 
 
   http://www.php.net/manual/en/ref.session.php
  
   Start there, and then when you can tell us what the more specific
 problems
   are with your sessions we will be able to help.
  
   Jay
  
   -Original Message-
   From: Mike [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, July 09, 2002 2:20 PM
   To: [EMAIL PROTECTED]
   Subject: [PHP] CANT GET STUFF TO WORK
  
  
   Hello, I am wondering if you could help me... I can't seem to figure
out
  how
   to get sessions working.
   Thank You,
   Mike
  
  
  
 
 
 
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike

It starts here ...
http://counter.funyon.com/autocounter/signup/signup.phps
then goes to here ...
http://counter.funyon.com/autocounter/signup/Signup1.phps
or here... (both included from the signup page)
http://counter.funyon.com/autocounter/signup/admin.phps
included in admin is:
http://counter.funyon.com/autocounter/include/getcounters.phps
which makes links to:
http://counter.funyon.com/autocounter/signup/editcounter.phps

There you go, I hope that I can get some insight ;)
Mike



- Original Message -
From: Lee [EMAIL PROTECTED]
To: Mike [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 3:59 PM
Subject: Re: [PHP] CANT GET STUFF TO WORK


 I am new to PHP  Sessions myself.

 But I think $_SESSION['varname'] may be what you are looking for.

 e.g. $_SESSION['count'] = 2;

 Regards

 Lee.
 - Original Message -
 From: Mike [EMAIL PROTECTED]
 To: Jay Blanchard [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Tuesday, July 09, 2002 8:37 PM
 Subject: Re: [PHP] CANT GET STUFF TO WORK


  I have read that, I am still confused, I have made it so that the
  session_start is at the top of all the pages, and I can't get some of
the
  variables out of the script (i.e. I set a variable with
  session_register('user')) and on the next page I could not get the user
  variable out of the session on the next page.. does that help out?
  Thank You,
  Mike
 
  - Original Message -
  From: Jay Blanchard [EMAIL PROTECTED]
  To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Tuesday, July 09, 2002 3:25 PM
  Subject: RE: [PHP] CANT GET STUFF TO WORK
 
 
   http://www.php.net/manual/en/ref.session.php
  
   Start there, and then when you can tell us what the more specific
 problems
   are with your sessions we will be able to help.
  
   Jay
  
   -Original Message-
   From: Mike [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, July 09, 2002 2:20 PM
   To: [EMAIL PROTECTED]
   Subject: [PHP] CANT GET STUFF TO WORK
  
  
   Hello, I am wondering if you could help me... I can't seem to figure
out
  how
   to get sessions working.
   Thank You,
   Mike
  
  
  
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Naintara Jain

what OS are you running on?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
t]On Behalf Of Mike
Sent: Tuesday, July 09, 2002 12:37 PM
To: Jay Blanchard; [EMAIL PROTECTED]
Subject: Re: [PHP] CANT GET STUFF TO WORK


I have read that, I am still confused, I have made it so that the
session_start is at the top of all the pages, and I can't get some of the
variables out of the script (i.e. I set a variable with
session_register('user')) and on the next page I could not get the user
variable out of the session on the next page.. does that help out?
Thank You,
Mike

- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: 'Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 3:25 PM
Subject: RE: [PHP] CANT GET STUFF TO WORK


 http://www.php.net/manual/en/ref.session.php

 Start there, and then when you can tell us what the more specific problems
 are with your sessions we will be able to help.

 Jay

 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 09, 2002 2:20 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] CANT GET STUFF TO WORK


 Hello, I am wondering if you could help me... I can't seem to figure out
how
 to get sessions working.
 Thank You,
 Mike





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php