[PHP] Cookies

2005-02-24 Thread William Stokes
Hello, If I send a session cookie to browser where it is stored in WinXP? Or is it stored as a separate file at all. I know that the script sends the cookie but I can't find it in the client computer harddrive. I am testing with Opera, IE6 and Firefox. Thanks -Will -- PHP General Mailing List

Re: [PHP] Cookies

2005-02-24 Thread Burhan Khalid
William Stokes wrote: Hello, If I send a session cookie to browser where it is stored in WinXP? Or is it stored as a separate file at all. I know that the script sends the cookie but I can't find it in the client computer harddrive. I am testing with Opera, IE6 and Firefox. In Firefox : Tools

Re: [PHP] Cookies

2005-02-24 Thread Andre Dubuc
On Thursday 24 February 2005 06:34 am, Burhan Khalid wrote: William Stokes wrote: Hello, If I send a session cookie to browser where it is stored in WinXP? Or is it stored as a separate file at all. I know that the script sends the cookie but I can't find it in the client computer

[PHP] Cookies

2004-06-15 Thread Umesh Deshmukh
Hi, I want to use cookies in one of my applications. I want to know the details about the Domain parameter of setcookie function. What is significance of Domain parameter ? How the use of Domain parameter helps us for authentication using cookie ? Please help me in this

Re: [PHP] cookies malfunctioning moving from windows to linux

2004-05-30 Thread Thomas Seifert
Ryan Schefke wrote: I don't think that is it. I believe session.save_path is only for sessions, not cookies. I'm only using cookies in the application. Can someone please help? Thanks, Ryan Yeah, tell HOW you set the cookies. There is really no difference in linux/windows-php in this cases.

RE: [PHP] cookies malfunctioning moving from windows to linux

2004-05-30 Thread Ryan Schefke
PROTECTED] Subject: Re: [PHP] cookies malfunctioning moving from windows to linux Ryan Schefke wrote: I don't think that is it. I believe session.save_path is only for sessions, not cookies. I'm only using cookies in the application. Can someone please help? Thanks, Ryan Yeah, tell HOW

Re: [PHP] cookies malfunctioning moving from windows to linux

2004-05-30 Thread Hodicska Gergely
Hi! On the server register_globals = off. Use $_COOKIE['ID'] instead of $ID. Felho u.i. always develop with register_globals = off -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cookies malfunctioning moving from windows to linux

2004-05-30 Thread Ryan Schefke
Hi All, Please consider this topic/subject closed. There was conflict with my firewall. Ryan -Original Message- From: Hodicska Gergely [mailto:[EMAIL PROTECTED] Sent: Sunday, May 30, 2004 10:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] cookies malfunctioning moving from windows

[PHP] cookies malfunctioning moving from windows to linux

2004-05-29 Thread Ryan Schefke
Hi, I developed a Poll system that uses cookies. It works fine under Windows (Apache and MySQL), but it does not work properly under Linux. - I transitioned my site from my windows based server to a linux machine. Cookies does not work properly when I use the system under Linux (Apache and

Re: [PHP] cookies malfunctioning moving from windows to linux

2004-05-29 Thread Daniel Clark
Apache must have read and write privs on the tmp directory. Hi, I developed a Poll system that uses cookies. It works fine under Windows (Apache and MySQL), but it does not work properly under Linux. - I transitioned my site from my windows based server to a linux machine. Cookies does not work

RE: [PHP] cookies malfunctioning moving from windows to linux

2004-05-29 Thread Ryan Schefke
-General-Help; Ryan Schefke Subject: Re: [PHP] cookies malfunctioning moving from windows to linux Apache must have read and write privs on the tmp directory. Hi, I developed a Poll system that uses cookies. It works fine under Windows (Apache and MySQL), but it does not work properly under Linux. - I

[PHP] Cookies

2004-04-19 Thread Fidencio Monroy
Hi all, is there a way to check is a browser is accepting my cookies? Tnx

RE: [PHP] Cookies

2004-04-19 Thread Chris W. Parker
Fidencio Monroy mailto:[EMAIL PROTECTED] on Monday, April 19, 2004 2:35 PM said: Hi all, is there a way to check is a browser is accepting my cookies? yes that's easy. set the cookie and then test for it. if you can read the cookie back you're all set! if not, the person is not accepting

Re: [PHP] Cookies

2004-04-19 Thread Jordi Canals
Fidencio Monroy wrote: Hi all, is there a way to check is a browser is accepting my cookies? Tnx Take a look to the function get_browser(), perhaps could help. Regards, Jordi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookies

2004-04-07 Thread Wykis
Does Any One Knows How To Set And Get Cookies? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookies

2004-04-07 Thread Larry E . Ullman
Does Any One Knows How To Set And Get Cookies? The PHP manual is really good for stuff like this. Check out the setcookie() function. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Cookies

2004-04-07 Thread Tyler Replogle
yes i do but here is a really good tutorial on it http://www.phpfreaks.com/tutorials/120/0.php From: Wykis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Cookies Date: Fri, 2 Apr 2004 16:52:23 +0100 Does Any One Knows How To Set And Get Cookies? -- PHP General Mailing List (http

Re: [PHP] Cookies

2004-03-01 Thread Chris Shiflett
--- Paul Higgins [EMAIL PROTECTED] wrote: Miva uses cookies, which is fine. However, the Miva pages would be accessed by my PHP pages on the website. Therefore, the cookies have nowhere to go. You can set cookies on the client with the Set-Cookie header or with the setcookie() function.

[PHP] Cookies

2004-02-29 Thread Paul Higgins
Hi everyone, I have a bit of a dilemma. I am using a Miva Shopping Cart, not through any desire of mine but my client wants it, at least for now. However, instead using the provided Store front, we want to create our own. Here is the dilemma: Miva uses cookies, which is fine. However, the

[PHP] Cookies

2004-01-21 Thread Rolf van de Krol
Hi all, When I try to set a cookie, an error occurs: 'Cookie already set'. Does anybody know why this error occurs?? I don't know. Rolf van de Krol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Cookies

2004-01-21 Thread Jay Blanchard
[snip] When I try to set a cookie, an error occurs: 'Cookie already set'. Does anybody know why this error occurs?? I don't know. [/snip] Because the cookie is already set. http://us3.php.net/manual/en/function.setcookie.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] cookies

2003-12-04 Thread Maris Kalnins
Let's assume that we have an html page where we plant a call to cookie registering php script. This is done by the following html line which is placed on that page we would like to have cookies stats for: html ... body .. img nocache border=0 width=2 height=1

Re: [PHP] cookies

2003-12-04 Thread Chris Shiflett
--- Maris Kalnins [EMAIL PROTECTED] wrote: img nocache border=0 width=2 height=1 src=http://www.cookiedomain.com/cookies/cookies.php [snip] Php cookie registering script has the following cookie set operation: setcookie(test, 1, time() + 3600, /, ); The problem is that when executing

[PHP] Cookies Vs Sessions...?

2003-10-03 Thread Tristan . Pretty
Age old question...? Please don't flame if it is I currently remember my visitors on my site by setting a cookie thusly: setcookie(logged, yes); On each protected page, put an IF ($logged == yes) { //show page etc } else {//show login form etc } All good, works fine hooray for me...

Re: [PHP] Cookies Vs Sessions...?

2003-10-03 Thread Robert Cummings
On Fri, 2003-10-03 at 11:31, [EMAIL PROTECTED] wrote: Age old question...? Please don't flame if it is I currently remember my visitors on my site by setting a cookie thusly: setcookie(logged, yes); On each protected page, put an IF ($logged == yes) { //show page etc } else

Re: [PHP] Cookies Vs Sessions...?

2003-10-03 Thread Eugene Lee
On Fri, Oct 03, 2003 at 04:31:23PM +0100, [EMAIL PROTECTED] wrote: : : I currently remember my visitors on my site by setting a cookie thusly: : : setcookie(logged, yes); : : On each protected page, put an IF ($logged == yes) { //show page etc } : else {//show login form etc } You should use

Re: [PHP] Cookies Vs Sessions...?

2003-10-03 Thread Chris Shiflett
--- [EMAIL PROTECTED] wrote: 1. Can sessions work in the same way as my cookies? (Just remember a value to a variable, accross many page) Yes, they address the same challenge: persisting data. Also, please realize that sessions can use cookies for identification. One of the benefits of using

Re: [PHP] Cookies Vs Sessions...?

2003-10-03 Thread Chris Shiflett
--- Eugene Lee [EMAIL PROTECTED] wrote: setcookie(logged, yes); On each protected page, put an IF ($logged == yes) { //show page etc } else {//show login form etc } You should use $_COOKIE['logged'] instead. :-) While we're talking about should, you should also never trust what the

Re: [PHP] Cookies Vs Sessions...?

2003-10-03 Thread Eugene Lee
On Fri, Oct 03, 2003 at 08:57:17AM -0700, Chris Shiflett wrote: : : --- Eugene Lee [EMAIL PROTECTED] wrote: : : On each protected page, put an IF ($logged == yes) { //show page etc } : else {//show login form etc } : : You should use $_COOKIE['logged'] instead. :-) : : While we're

[PHP] cookies under php 4.06

2003-09-04 Thread Chris Kranz
okay, i know this is stupid, and i'm gonna kick myself when someone points out the obvious... i've just put a site online, and found the server's running an older version of php (4.06). it's virtual hosting, so i have no control over this... also can't tell you what OS it's running, but it is

[PHP] Cookies Hidden Image

2003-09-02 Thread Nicole
Hi, I am working on a script that uses cookie to store some info on the client side. The user will click a link that contains info about where the link was placed. The script will then store that info so that when the user returns later and makes a purchase, I can see where they came from. The

Re: [PHP] cookies and redirection

2003-08-14 Thread Chris Shiflett
--- Joaco [EMAIL PROTECTED] wrote: I set a cookie in my code and then redirect the user using a header function. When I do this, my cookie is not created. If i remove the header function, then it is. Is there a way around this? If you are using IIS, read this:

Re: [PHP] cookies and redirection

2003-08-14 Thread Chris Shiflett
--- Chris Boget [EMAIL PROTECTED] wrote: You can't use any functions that send headers to the browser (and that includes setcookie()) before you use: header( 'location: http://blah' ); The browser will choke. I'm not sure what gave you this idea, but this is false. What browser were you

Re: [PHP] cookies and redirection

2003-08-14 Thread Chris Boget
I have a small problem was wondering if anyone out there knew anyhting about this. I set a cookie in my code and then redirect the user using a header function. When I do this, my cookie is not created. If i remove the header function, then it is. Is there a way around this? Yeah, set the

Re: [PHP] cookies and redirection

2003-08-14 Thread Chris Boget
--- Joaco [EMAIL PROTECTED] wrote: I set a cookie in my code and then redirect the user using a header function. When I do this, my cookie is not created. If i remove the header function, then it is. Is there a way around this? If you are using IIS, read this:

[PHP] cookies and redirection

2003-08-14 Thread Joaco
I have a small problem was wondering if anyone out there knew anyhting about this. I set a cookie in my code and then redirect the user using a header function. When I do this, my cookie is not created. If i remove the header function, then it is. Is there a way around this? -- PHP General

[PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
I still can't figure something out. I am using WinXP/Apache 1.3.24/PHP 4.2.3 on my laptop and my cookies still don't work like they should. Hopefully someone can explain to me why. ? $cookhost=$_SERVER[HTTP_HOST]; header(Set-Cookie: aa_host=$cookhost;); setcookie (aa_host,

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Tom Rogers
Hi, Friday, August 1, 2003, 8:53:51 AM, you wrote: SB I still can't figure something out. I am using WinXP/Apache 1.3.24/PHP SB 4.2.3 on my laptop and my cookies still don't work like they SB should. Hopefully someone can explain to me why. SB ? SB $cookhost=$_SERVER[HTTP_HOST]; SB

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Jeff Harris
On Jul 31, 2003, Steve Buehler claimed that: |I still can't figure something out. I am using WinXP/Apache 1.3.24/PHP |4.2.3 on my laptop and my cookies still don't work like they |should. Hopefully someone can explain to me why. |? |$cookhost=$_SERVER[HTTP_HOST]; |header(Set-Cookie:

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Chris Shiflett
--- Steve Buehler [EMAIL PROTECTED] wrote: $cookhost=$_SERVER[HTTP_HOST]; header(Set-Cookie: aa_host=$cookhost;); setcookie (aa_host, $cookhost,0,/,$cookhost); setcookie (aa_host, localhost,0,/,localhost); setcookie ('aa_host', 'localhost',0,'/','localhost'); ... I can set the cookie with

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
h. Just found out what was wrong. These are the specs that php.net says a setcookie function can have: setcookie ( string name [, string value [, int expire [, string path [, string domain [, int secure]) Well, if I take off the string domain part, it will work just fine. The problem

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Steve Buehler
Something else I found out now. I think it was Cpt John W. Holmes (not sure though) that said I couldn't have a cookie as an array like this the following. So i am not sure if it is something that is going away or not. setcookie (admin_access[host], $cookhost,0,/,$cookhost); setcookie

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Chris Shiflett
--- Steve Buehler [EMAIL PROTECTED] wrote: Well, if I take off the string domain part, it will work just fine. This is what I was trying to explain. The cookie wasn't being returned, because the browser didn't think the hostname matched. By leaving it out, the browser will use whatever it

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Chris Shiflett
--- Steve Buehler [EMAIL PROTECTED] wrote: Something else I found out now. I think it was Cpt John W. Holmes (not sure though) that said I couldn't have a cookie as an array like this the following. So i am not sure if it is something that is going away or not. setcookie (admin_access[host],

Re: [PHP] Cookies on WinXP

2003-07-31 Thread Curt Zirzow
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): --- Steve Buehler [EMAIL PROTECTED] wrote: Something else I found out now. I think it was Cpt John W. Holmes (not sure though) that said I couldn't have a cookie as an array like this the following. So i am not sure if it is something that

[PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
I have PHP/Apache/MySQL installed on my WinXP laptop. I do this so that I can write programs when not connected to the Internet (like when traveling). I am trying to set a cookie from the http://localhost site on my computer and it doesn't get set. Does this sound like something wrong in my

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread CPT John W. Holmes
I have PHP/Apache/MySQL installed on my WinXP laptop. I do this so that I can write programs when not connected to the Internet (like when traveling). I am trying to set a cookie from the http://localhost site on my computer and it doesn't get set. Does this sound like something wrong in

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
Sorry about that. Here is my code: if(isset($coach_access[login_id])){ }elseif(($lusername) ($lpassword)) { if(($lusername==me) AND ($lpassword==apass)){ $cookhost=$_SERVER[HTTP_HOST]; setcookie (coach_access[login_id],

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Chris Shiflett
Can you try this example? Let's call the file cookie_test.php ? if (!empty($_COOKIE['test'])) { echo The test cookie was sent by the browser\n; } else { header('Set-Cookie: test=true'); echo Trying to set the test cookie.br /\n; echo a href=\./cookie_test.php\Test/a\n; } ? I

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
h. This seemed to set the cookie just fine. Does this mean that either localhost in the browser or Apache/PHP on a windows box has to set the cookie differently than on RedHat/Apache/PHP? I am going on vacation next week and need to keep working on a project that is working fine on the

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread CPT John W. Holmes
h. This seemed to set the cookie just fine. Does this mean that either localhost in the browser or Apache/PHP on a windows box has to set the cookie differently than on RedHat/Apache/PHP? I am going on vacation next week and need to keep working on a project that is working fine on the

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
hm. Looks like on my localhost I can't seta cookie like this: setcookie (coach_access[login_id], coach,0,/,$cookhost); if I change it to just: setcookie (coach_access_login_id, coach,0,/,$cookhost); it will work. But then my script won't work without a lot of re-writing because it uses

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Chris Shiflett
--- Steve Buehler [EMAIL PROTECTED] wrote: h. This seemed to set the cookie just fine. I thought it might. :-) Does this mean that either localhost in the browser or Apache/PHP on a windows box has to set the cookie differently than on RedHat/Apache/PHP? Nope, it just means that the

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread CPT John W. Holmes
From: Steve Buehler [EMAIL PROTECTED] hm. Looks like on my localhost I can't seta cookie like this: setcookie (coach_access[login_id], coach,0,/,$cookhost); if I change it to just: setcookie (coach_access_login_id, coach,0,/,$cookhost); it will work. But then my script won't work

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Chris Shiflett
--- Steve Buehler [EMAIL PROTECTED] wrote: header('Set-Cookie: coach_access[login_id]=coach'); Well, that is ugly, but it is actually a valid name. The name of a cookie, as described by http://wp.netscape.com/newsref/std/cookie_spec.html, is a sequence of characters excluding semi-colon, comma

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Rob Adams
Cpt John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Steve Buehler [EMAIL PROTECTED] hm. Looks like on my localhost I can't seta cookie like this: setcookie (coach_access[login_id], coach,0,/,$cookhost); if I change it to just: setcookie

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
That still won't work for me for some reason. I am just going to rewrite parts of the script to use a cookie name with out a [something] IN the name. I will rename it to ca_id or something like that. Thanks for your help Steve At 01:38 PM 7/30/2003 -0700, you wrote: --- Steve Buehler [EMAIL

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Steve Buehler
At 04:37 PM 7/30/2003 -0400, you wrote: You'd be better of if you re-wrote your code to make it correct, but you could just put: $coach_access['login_id'] = $_COOKIE['coach_access[login_id]']; I guess I will rewrite my code. I still can't understand it working on the RedHat and not the Windows,

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Curt Zirzow
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): --- Steve Buehler [EMAIL PROTECTED] wrote: header('Set-Cookie: coach_access[login_id]=coach'); Well, that is ugly, but it is actually a valid name. The name of a cookie, as described by http://wp.netscape.com/newsref/std/cookie_spec.html, is

Re: [PHP] cookies on localhost WinXP

2003-07-30 Thread Chris Shiflett
--- Curt Zirzow [EMAIL PROTECTED] wrote: Now, when a browser sends this, it will be something like this: Cookie: coach_access[login_id]=coach A cookie name can only be a HTTP/1.1 tolken as defined in rfc2109: Well, this isn't the case. You see, neither RFC 2109 nor RFC 2965 are

[PHP] cookies in asp

2003-07-24 Thread Carlos Castillo
HI, I have the following problem, i have a website with php and asp files, in one asp file i create some cookie that i need to access on another php file.do you have any idea.??? Thanks, Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED]

Re: [PHP] cookies in asp

2003-07-24 Thread John W. Holmes
Carlos Castillo wrote: HI, I have the following problem, i have a website with php and asp files, in one asp file i create some cookie that i need to access on another php file.do you have any idea.??? $_COOKIE['cookie_name'] Who cares where the cookie was made. If the page is on the

Re: [PHP] Cookies and Macs

2003-06-28 Thread Justin French
There should be no differences in PC/Mac/Linux implementations of cookies, for common browsers. I've never had a problem. - which browsers were you testing with? - did those browsers have cookies switched on, with a security level low enough to accept yours? - can you show us a small test

[PHP] Cookies and Macs

2003-06-27 Thread Joshua Chapman
I wrote a script that used cookies to track users (the cookie contains the user's ID#). However, there was a problem when it came to the Mac users, the cookie that was assigned to them never stuck so every time they hit a page the script generated a new ID for them, made it very difficult to

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-20 Thread Don Read
On 19-Jun-2003 Steve Keller wrote: At 6/19/2003 02:10 PM, Sparky Kopetzky wrote: 2. How do you put 2 items that you want to save in the cookie and retrieve?? Smuch 'em together into a single variable with a delimiter you're sure won't show up in either value, something like #@@#,

[PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Sparky Kopetzky
Yes, this question is about PHP cookies. Two questions: 1. How do you setup a cookie that will not expire?? 2. How do you put 2 items that you want to save in the cookie and retrieve?? Examples in the PHP manual only show how to work with a single value. Thanks! Robin E. Kopetzky Black Mesa

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Thu, 19 Jun 2003 at 21:13, lines prefixed by '' were originally written by you. Yes, this question is about PHP cookies. Two questions: 1. How do you setup a cookie that will not expire?? You can't, but you can use an expiry date

RE: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Henning Sittler
it in your script, so that you determine the two seperatevalues actually stored there. Henning Sittler www.inscriber.com -Original Message- From: Sparky Kopetzky [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:10 PM To: PHP General Subject: [PHP] Cookies- peanut butter or chocolate

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Brent Baisley
, at 04:10 PM, Sparky Kopetzky wrote: Yes, this question is about PHP cookies. Two questions: 1. How do you setup a cookie that will not expire?? 2. How do you put 2 items that you want to save in the cookie and retrieve?? Examples in the PHP manual only show how to work with a single value. Thanks

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread CPT John W. Holmes
1. How do you setup a cookie that will not expire?? You can't. 2. How do you put 2 items that you want to save in the cookie and retrieve?? Examples in the PHP manual only show how to work with a single value. You can't. Use an array or two cookies. ---John Holmes... -- PHP General

RE: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Dan Joseph
Hi, 1. How do you setup a cookie that will not expire?? You can't however you could just set the year into the distance future a few years. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Milan Reznicek
$name == $valuebr\n; } } - Original Message - From: Sparky Kopetzky [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:10 PM Subject: [PHP] Cookies- peanut butter or chocolate?? Yes, this question is about PHP cookies. Two questions: 1. How do you setup

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Steve Keller
At 6/19/2003 02:10 PM, Sparky Kopetzky wrote: 2. How do you put 2 items that you want to save in the cookie and retrieve?? Smuch 'em together into a single variable with a delimiter you're sure won't show up in either value, something like #@@#, between them. Then, when you read the cookie

Re: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Joseph Szobody
that you determine the two seperatevalues actually stored there. Henning Sittler www.inscriber.com -Original Message- From: Sparky Kopetzky [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:10 PM To: PHP General Subject: [PHP] Cookies- peanut butter or chocolate

[PHP] COOKIES Question?

2003-06-06 Thread Joaco
I was wondering if anyone out there knew if there was any code you could add to your page that would allow the user to accept a cookie from your site even though the browser has denied it due to security settings. Basically, can I add a button that will allow a viewer to allow cookies on their

[PHP] cookies and iexplorer

2003-06-06 Thread Omar
I have this login page, if the login is correct, i create 3 cookies: - user = $login - password = $pass - seepage = 1 on the other pages, i placed a condition: if $seepage != 1 go to login page else show page It works fine to some people (works fine for me), but there are other people who

RE: [PHP] cookies and iexplorer

2003-06-06 Thread Boaz Yahav
:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 8:41 PM To: [EMAIL PROTECTED] Subject: [PHP] cookies and iexplorer I have this login page, if the login is correct, i create 3 cookies: - user = $login - password = $pass - seepage = 1 on the other pages, i placed a condition: if $seepage != 1 go

Re: [PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-04 Thread Monty
Guys, that's exactly what the SID predefined constant is for -- it's defined only when a session is active, and it has the value sessionname=sessionid (e.g. PHPSESSID=1afd764ecb938274) if and only if the session id was passed in the URL -- otherwise it contains the empty string. So you can

[PHP] Cookies and Expirations

2003-06-04 Thread Tom Ray [Lists]
Simple question: How do I check the expiration of a cookie that has been set? I can't seem to find it on php.net, if it is there..please provide the proper link for me and I will read up on it. Thanks, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Cookies and Expirations

2003-06-04 Thread Leif K-Brooks
The browser simply doesn't provide this information. You may be able to do it with javascript, but certainly not PHP. Tom Ray [Lists] wrote: Simple question: How do I check the expiration of a cookie that has been set? I can't seem to find it on php.net, if it is there..please provide the

Re: [PHP] Cookies - recomendation please

2003-06-03 Thread Justin French
http://au3.php.net/manual/en/features.cookies.php (not intended as a smart-arse post) on 01/06/03 11:56 PM, Ryan A ([EMAIL PROTECTED]) wrote: Hi everyone, Some time back I had no idea about sessions and I asked this list to give me a few links on the web where i can learn about them,

Re: [PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-03 Thread Monty
I have a member site that uses sessions. People who have their browser cookies turned off, however, cannot use our site. I read somewhere that to avoid this, I'd have to manually append the PHPSESSID var to every URL when redirecting in a script. One way around this would be to write a

Re: [PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-03 Thread Justin French
H, Theory only here: If there is a GET value of PHPSESSID (or whatever your sessions are named), then the user is more than likely taking advantage of trans-sid (sid's in the URLs), and cookies are not available. So, we only want to append the sid to URLs in a redirect IF the sid is found

RE: [PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-03 Thread Ford, Mike [LSS]
-Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: 03 June 2003 06:34 To: Monty; [EMAIL PROTECTED] Subject: Re: [PHP] Cookies and Sessions: What's the Best Recipe? H, Theory only here: If there is a GET value of PHPSESSID (or whatever your sessions

Re: [PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-03 Thread Justin French
on 03/06/03 9:43 PM, Ford, Mike [LSS] ([EMAIL PROTECTED]) wrote: -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: 03 June 2003 06:34 To: Monty; [EMAIL PROTECTED] Subject: Re: [PHP] Cookies and Sessions: What's the Best Recipe? H, Theory

[PHP] Cookies - recomendation please

2003-06-02 Thread Ryan A
Hi everyone, Some time back I had no idea about sessions and I asked this list to give me a few links on the web where i can learn about them, thanks to you guys I understand sessions and use them without any problem. Now I have the same problem with cookies, I of course first went to our friend

Re: [PHP] Cookies - recomendation please

2003-06-02 Thread Awlad Hussain
PHP Manual has good section on cookie... have you tried the manual? good luck awlad - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 1:56 PM Subject: [PHP] Cookies - recomendation please Hi everyone, Some time back I had no idea

[PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-01 Thread Monty
I have a member site that uses sessions. People who have their browser cookies turned off, however, cannot use our site. I read somewhere that to avoid this, I'd have to manually append the PHPSESSID var to every URL when redirecting in a script. Is this really the best or only way to avoid this

Re: [PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-01 Thread Justin French
on 01/06/03 6:01 AM, Monty ([EMAIL PROTECTED]) wrote: I have a member site that uses sessions. People who have their browser cookies turned off, however, cannot use our site. I read somewhere that to avoid this, I'd have to manually append the PHPSESSID var to every URL when redirecting in a

[PHP] Cookies Probelm,

2003-05-31 Thread Haseeb Iqbal
hi guys i am having this strange problem.i want to store quite a lot of data in cookie as an array but the problem is when ever my arrays size get equal to 4 it starts over. what could be the problem? here is the array that i get Array ( [Cart] = Array ( [14] = Array

RE: [PHP] Cookies Probelm,

2003-05-31 Thread Jay Blanchard
[snip] hi guys i am having this strange problem.i want to store quite a lot of data in cookie as an array but the problem is when ever my arrays size get equal to 4 it starts over. what could be the problem? [/snip] There are size limits for cookies dependent upon the browser. I am going to

Re: [PHP] Cookies Probelm,

2003-05-31 Thread Haseeb Iqbal
thanx for the information. how can i overcome this ? any idea? Haseeb - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Haseeb Iqbal [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:01 PM Subject: RE: [PHP] Cookies Probelm, [snip] hi guys i am having

RE: [PHP] Cookies Probelm,

2003-05-31 Thread Jay Blanchard
Google for cookie information -Original Message- From: Haseeb Iqbal [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Cookies Probelm, thanx for the information. how can i overcome this ? any idea? Haseeb - Original Message

Re: [PHP] Cookies Probelm,

2003-05-31 Thread Catalin Trifu
for the information. how can i overcome this ? any idea? Haseeb - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Haseeb Iqbal [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:01 PM Subject: RE: [PHP] Cookies Probelm, [snip] hi guys i am having this strange

[PHP] cookies

2003-05-27 Thread chris sherwood
Hi all I have a cookie on the system and I know the name of the var set in it but I seem to be unable to retrieve the info in the cookie. any pointers? Chris Sherwood Nortia Learning Systems (604)717-4323 office [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Paul Kraus
I am working through the beginning php 4 book by wrox and I can not get the example to work. It is reading and passing the form data but the cookies is not being written or read here is my code. Also why can I not place these variables in line with the echo statement. If I do it doesn't work. I

RE: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Paul Kraus
the lines there do I need to turn of warnings or something? Paul -Original Message- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 9:42 AM To: [EMAIL PROTECTED] Subject: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283 I am working through

RE: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Ford, Mike [LSS]
-Original Message- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: 04 April 2003 15:42 Also why can I not place these variables in line with the echo statement. If I do it doesn't work. I thought I could just echo face=$_POST['type_sel'] - but it does not work. Please read

RE: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Ford, Mike [LSS]
-Original Message- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: 04 April 2003 15:44 Also when I first run this at the top I get this error... Notice: Undefined index: typeset in c:\inetpub\wwwroot\testing\cookies.php on line 4 Notice: Undefined index: size_sel in

RE: [PHP] Cookies not being read - begging php 4 chapter 8 pg 283

2003-04-04 Thread Paul Kraus
Long... I have included everything in an attempt not to leave anything out. I think this book is dated and causing me some issues. Following is data before and after form data My source Code The php generated source code. Paul Kraus I have made the changes. Here is my output before any form

<    1   2   3   4   >