Re: [PHP] cookie secure argument?

2003-03-04 Thread Hans Prins
thank you :) "Rasmus Lerdorf" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > Means the cookie will only be sent over an HTTPS connection. > > On Wed, 5 Mar 2003, Hans Prins wrote: > > > Can anyone tell me what the secure argument in the setcookie() function > > does? > > > > setco

Re: [PHP] cookie secure argument?

2003-03-04 Thread Rasmus Lerdorf
Means the cookie will only be sent over an HTTPS connection. On Wed, 5 Mar 2003, Hans Prins wrote: > Can anyone tell me what the secure argument in the setcookie() function > does? > > setcookie ( string name [, string value [, int expire [, string path [, > string domain [, int secure]) > >

Re: [PHP] cookie problemes (solved with javascript)

2003-02-25 Thread Awlad Hussain
Thanks Kale, I'll have a go with your code - Original Message - From: "kale" <[EMAIL PROTECTED]> To: "Php. Net" <[EMAIL PROTECTED]> Cc: "'Awlad Hussain'" <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 9:29 AM Subject: R

RE: [PHP] cookie problemes (solved with javascript)

2003-02-25 Thread kale
___ __ // end kale's code __ -Original Message- From: Awlad Hussain [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 11:15 AM To: kale Subject: Re: [PHP] cookie problemes Hi Kale, I have the same problem with cookie, i

RE: [PHP] cookie problemes

2003-02-24 Thread kale
24, 2003 8:11 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] cookie problemes > $path = "/"; > $domain = ".mydomain.ro"; > And in my cookie folder i find a cookie named: [EMAIL PROTECTED] > But other computer (with > problems) i don't ha

RE: [PHP] cookie problemes

2003-02-24 Thread Gonzo
> $path = "/"; > $domain = ".mydomain.ro"; > And in my cookie folder i find a cookie named: > [EMAIL PROTECTED] But other computer (with > problems) i don't have any cookie with same name. > And if i reload the page and print > $HTTP_COOKIE_VARS[$n_sessid] > it's nothing. I have 12 computers and 10

RE: [PHP] cookie problemes

2003-02-24 Thread kale
computers and 10 are ok. kale -Original Message- From: Gonzo [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 1:30 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] cookie problemes > :( don't work. > I put "Setcookie($n_sessid, $sessid, >

RE: [PHP] cookie problemes

2003-02-24 Thread Gonzo
> :( don't work. > I put "Setcookie($n_sessid, $sessid, > time()+$cookie_life, $path, > $domain, 0);" > In script but don't work. Same. No cookie in cookie > folder. > Other idea? Nothing other than 1) What are in the $path and $domain variables? and 2) did you grep in your cookies folder? Someti

RE: [PHP] cookie problemes

2003-02-24 Thread kale
12:13 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] cookie problemes > What "path" and what "domain"? See "path" and "domain" here: http://php.net/setcookie Gonzo -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] cookie problemes

2003-02-24 Thread Gonzo
> What "path" and what "domain"? See "path" and "domain" here: http://php.net/setcookie Gonzo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cookie problemes

2003-02-24 Thread kale
What "path" and what "domain"? Thanks. Kale -Original Message- From: Gonzo [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:04 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] cookie problemes > hy, > i have a probleme with

Re: [PHP] cookie problemes

2003-02-24 Thread Gonzo
> hy, > i have a probleme with cookie. > this is my code "Setcookie($n_sessid, $sessid, > time()+$cookie_life);" and work, 80%. > some machines (all windows - 98 and XP) with internet explorer > (ver.5 and 6, some with the last upgrade) can write the cookie. > same machines have > cookie enable bec

RE: [PHP] cookie problem....

2003-02-13 Thread Bryan Lipscy
>From your code snip it looks like you are missing ?> after the if contruct. Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookie problem....

2003-02-13 Thread Rick Emery
I always use 4 parameters in my setcookie(cookie_name,cookie_value,time,"/") Also, verify that $HTTP_POST_VARS['Name'] exists by printing it - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, F

Re: [PHP] cookie problem....

2003-02-13 Thread Marek Kilimajer
This cannot be the problem, session_start is for sessions Jason Wong wrote: >On Thursday 13 February 2003 16:07, Terry Lau wrote: > > >>Hello, >>I created a PHP page that included cookie, here is the PHP code: >>>if (isset($HTTP_POST_VARS['Name'])) { >>setcookie("Name", $HTTP_POST_VARS['Nam

Re: [PHP] cookie problem....

2003-02-13 Thread Jason Wong
On Thursday 13 February 2003 16:07, Terry Lau wrote: > Hello, > I created a PHP page that included cookie, here is the PHP code: > if (isset($HTTP_POST_VARS['Name'])) { > setcookie("Name", $HTTP_POST_VARS['Name'], time()+86400*10); > } [snip] > But when I called the cookie variable in anothe

Re: [PHP] Cookie, header, output problems

2003-01-14 Thread Vahan Yerkanian
You should not add any output after doing a "Location:" redirect. It's recommended to add an exit() after the header(). Proper browsers should halt their renderer and redirect when they find a Location: header. HTH, Vahan J. Alden Gillespy wrote: I'm creating an e-commerce website, and I just ne

Re: [PHP] Cookie, header, output problems

2003-01-14 Thread Chris Shiflett
--- "J. Alden Gillespy" <[EMAIL PROTECTED]> wrote: > I'm creating an e-commerce website, and I just need > clarification as to whether a MySQL query is > considered as "browser output". It is not. However, a MySQL error is indeed output. Make sure your query is successful. My suggestion would be

Re: [PHP] cookie expiring with session

2002-12-13 Thread John Nichel
Set it without a expire time, then it will expire whenever the user closes their browser windows. If the jsp that needs to read the cookie on the same domain for wich it's set, it shouldn't have any problem reading it, but yes, you won't be able to use php's $_SESSION in jsp. Andrea wrote: I u

Re: [PHP] cookie expiring with session

2002-12-13 Thread Sean Burlington
Andrea wrote: I urgently need to store a cookie that expires with session. This cookie has to be read by a section written in jsp, therefore I don't think I can use $_SESSION variables. Can anyone help me? Andrea to set a cookie that expires with the session do setcookie (name, value) thi

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
, and I can continue using Header: calls .. hmm. Thanks for all the help, Jaime and Chris, much appreciated. Chad -Original Message- From: Jaime Bozza [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 10:22 AM To: 'Chad Day' Cc: 'php general' Subject: RE: [P

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Jaime Bozza
y big issue for me there. CSS and Dynamic HTML support are horrible in NS4.x!) Jaime > -Original Message- > From: Chad Day [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 9:11 AM > To: Jaime Bozza > Cc: 'php general' > Subject: RE: [PHP] Cookie h

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
er 10, 2002 9:33 AM To: 'Chad Day' Cc: 'php general' Subject: RE: [PHP] Cookie handling, NS 4.x? The original cookie specifications required that the domain in the cookie has at least 2 (or 3 for domains not in the primary tlds) periods in it. (So as to stop someone from usin

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Jaime Bozza
that and it doesn't work) Jaime > -Original Message- > From: Chad Day [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 8:17 AM > To: Jaime Bozza > Cc: 'php general' > Subject: RE: [PHP] Cookie handling, NS 4.x? > > > domain.com, but w

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
rap. >:( Chad -Original Message- From: Jaime Bozza [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 9:07 AM To: 'Chad Day' Cc: 'php general' Subject: RE: [PHP] Cookie handling, NS 4.x? Hello, By any chance, is your website named http://domain.com or is

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Jaime Bozza
Hello, By any chance, is your website named http://domain.com or is it http://www.domain.com ? Jaime Bozza > -Original Message- > From: Chad Day [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 8:09 AM > To: [EMAIL PROTECTED]; php general > Subject: R

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
2002 5:30 PM To: Chad Day; php general Subject: RE: [PHP] Cookie handling, NS 4.x? --- Chad Day <[EMAIL PROTECTED]> wrote: > I'm not sure how this would matter since the cookie is > never set at all.. it's not an issue of it reading the > cookie, as it can't read

RE: [PHP] Cookie handling, NS 4.x?

2002-12-09 Thread Chris Shiflett
--- Chad Day <[EMAIL PROTECTED]> wrote: > I'm not sure how this would matter since the cookie is > never set at all.. it's not an issue of it reading the > cookie, as it can't read what is never set. I'll give > it a shot when I get home though anyway. Read my response again, and you'll see that w

RE: [PHP] Cookie handling, NS 4.x?

2002-12-09 Thread Chad Day
ECTED]] Sent: Monday, December 09, 2002 4:31 PM To: Chad Day; php general Subject: Re: [PHP] Cookie handling, NS 4.x? --- Chad Day <[EMAIL PROTECTED]> wrote: > I am having a fairly confusing problem with setcookie() > in NS 4.x. > > My script: > > nscookie.php: > &

Re: [PHP] Cookie handling, NS 4.x?

2002-12-09 Thread Chris Shiflett
--- Chad Day <[EMAIL PROTECTED]> wrote: > I am having a fairly confusing problem with setcookie() > in NS 4.x. > > My script: > > nscookie.php: > > setcookie("NSUSERNAME", 'cday', time()+2592000, '/', > ".mydomain.com"); > Header("Location: nscookie2.php"); > exit(); > > nscookie2.php: > > ech

Re: [PHP] Cookie

2002-10-02 Thread Max Buvry
Thanks for your response. The doc isn't explicit when it explains this two methods and don't focus on the register globals function for the first method. So I use the second method only. Thanks mb Bob Irwin wrote: > > I'm pretty sure this is a global variables problem. > > There is an

RE: [PHP] Cookie

2002-10-01 Thread Smith, Benjamin
The register globals function must be turned ON in your php.ini for the first method to work. -Original Message- From: Max Buvry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 2:38 AM To: [EMAIL PROTECTED] Subject: [PHP] Cookie Hi, I use : apache 1.3.26, php 4.2.3, post

Re: [PHP] Cookie

2002-10-01 Thread Bob Irwin
I'm pretty sure this is a global variables problem. There is an option in your ini.php file that refers to 'global variables' You need to set this on, otherwise reference to them with the absolute variable name. Best Regards Bob Irwin Server Admin & Web Programmer Planet Netcom - Original M

Re: [PHP] COOKIE Question.

2002-09-18 Thread Tom Ray
Discovered my cookie issue. I wasn't setting the path in setcookie() so it defaulted to what ever directory the script ran in. I set it so it loads from the root of the website now, and it's working like a charm. Thanks to all that helped! John Holmes wrote: >>I do the print $_COOKIE["Accces

RE: [PHP] COOKIE Question.

2002-09-17 Thread John Holmes
> I do the print $_COOKIE["Acccess]"; and I still don't see any data print. Did you typo in your code like you did here?? Try to dump the whole $_COOKIE[] array and see what's in it. print_r($_COOKIE); Did you mention what version of PHP you were using? ---John Holmes... -- PHP General Ma

Re: [PHP] COOKIE Question.

2002-09-17 Thread Krzysztof Dziekiewicz
> I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't > seem to retrieve data from them. > First I set the cookie like so: > setcookie ("Access", "Test_Value",time()+31536000); Try this: setcookie("Access", "Test_Value",time()+31536000,"/"); - slash as 4th parametr. -- Krzys

Re: [PHP] COOKIE Question.

2002-09-16 Thread Tom Ray
I do the print $_COOKIE["Acccess]"; and I still don't see any data print. Leif K-Brooks wrote: > First of all, the second try should be print $_COOKIE["Access"]; with > no second $. But, more importantly, I would reccomend you change the > cookie name to access. This may not be the problem,

Re: [PHP] COOKIE Question.

2002-09-16 Thread Leif K-Brooks
First of all, the second try should be print $_COOKIE["Access"]; with no second $. But, more importantly, I would reccomend you change the cookie name to access. This may not be the problem, but case in names seems to generally cause problems. Tom Ray wrote: > I'm having some issue's with $

Re: [PHP] Cookie array

2002-08-10 Thread Bob Lockie
>How can I stoor array in to a cookie ? > >Do I just define an array and stoore it in a cookie ? Yes. >How do I access the data in the array then ? $_COOKIE['array element']; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookie ?

2002-07-10 Thread Alberto Serra
ðÒÉ×ÅÔ! [EMAIL PROTECTED] wrote: > hi all, > (yes it's me again) > i've got an other problem. > i've got an login system, and it has to put an cookie, but it seems he > doesn't do it. 1) users may block your cookie. 2) browsers (they often do) may not respond properly to a setcookie() comma

RE: [PHP] cookie ?

2002-07-10 Thread César Aracena
Hi Richard. It is very probable I will not be able to solve this kind of problems with my few knowledge, but in order to save everybody's time (specially yours), I will have to advise you that more advanced writers will ask you for a more accurate description of your problem such as Server's Softw

RE: [PHP] cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread Rick Emery
Direct answer: No, you cannot read a cookie on the same page that creates it. The question is: why would you want to? After all, you already have the data available to you that you would read from the cookie because you had to use it to create the cookie on that page. -Original Message

Re: [PHP] cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread Erik Price
On Tuesday, March 26, 2002, at 11:42 AM, Miguel Cruz wrote: > There is no chance for the server to re-read the cookies from the > browser > after step 2 above, unless, as you've observed, you refresh the page, > which in effect just repeats both steps. One ugly way that I've gotten around thi

Re: [PHP] cookie problem. Not possible to set and read a cookie onthe same page?

2002-03-26 Thread Miguel Cruz
On Tue, 26 Mar 2002, andy wrote: > I am wondering if it is possible to send a cookie and read it on the same > page. > > Following environment: > > There is a cookie already on the machine of the client, but expired. > Now I am setting a new cookie and reading it on the same page via $sess_id =

Re: [PHP] Cookie Woes

2002-03-19 Thread scott furt
because the first argument of Setcookie is the name of the cookie you want to set. (and what the variable will be called on subsequent pages) SetCookie('username', $username ...) will do what you're expecting. Jesse Warden wrote: > I performed a: > setCookie($username, $username, time()+3600,"",

Re: [PHP] COOKIE HEADER????

2002-02-15 Thread Michael Sims
At 02:33 PM 2/15/2002 +0100, marcbey wrote: >i dont know how i have to send it back, because i dont kown where and how to >put the >ASPSESSIONIDKJHKJHHKJH=HJVHJGHJGJGHJGJHGKJ information (in the header?) This document may help: http://developer.netscape.com:80/docs/manuals/js/client/jsref/cookie

Re: [PHP] Cookie Name=Value Pairs

2001-12-17 Thread Bas van Rooijen
I don't know! But if you're only accesing the cookie from PHP you could use serialize()/unserialize() or *sessions*, they both work even on full objects. bvr. On Mon, 17 Dec 2001 16:30:28 -0700, Zach Curtis wrote: >What is the syntax to set multiple name=value pairs in a cookie? > >Thanks.

Re: [PHP] Cookie

2001-12-12 Thread Rasmus Lerdorf
How is exactly is SetCookie() broken? Compare your header() call to the same SetCookie() calls and you will see that yours produces: Set-Cookie: username=Rasmus; expires=Wed, 12-Dec-2001 21:58:55 GMT; path=/; domain=www.php.net Set-Cookie: password=d41d8cd98f00b204e9800998ecf8427e; expires=W

Re: [PHP] Cookie

2001-12-12 Thread Casey Allen Shobe
Mine's working great. setcookie() is broken pretty badly though...so I use header instead...here's my whole authentication system. I home that it will be of use to you. This works in every browser that supports cookies. I've tested NN6-6.2, NN4.77, IE5.0-6.0, and Konqueror 2.2.1. On Wedne

Re: [PHP] Cookie

2001-12-12 Thread Andrey Hristov
Yes it is visible only in the domain and subdomains Set-Cookie : foo=bar; Domain=.cnn.com; Path=/; Expires _some_date_ This cookie is for cnn.com or the subdomains(i.e. weather.cnn.com) also it is valid for evey path because "Path" is set to "/".If it was "/members" it will be accessible only in

RE: [PHP] Cookie Retrieval

2001-12-11 Thread Johnson, Kirk
I think this approach should work as long as register_globals is set to 'on' in php.ini. If it isn't, then reference the cookie as $HTTP_COOKIE_VARS['poccd_session']. Kirk > Can someone tell me if there is a bit of code I need to put > on pages so I > can retrieve a cookie. > The cookie was set

Re: [PHP] cookie not set anymore by IE5 (localhost)

2001-10-03 Thread Richard Baskett
I wrote this cookie script to work with every platform and every browser.. since I was having the same cookie problems you were having and a lot of people have had in this forum. So far I have found it to work with everything. Give it a try, if anybody finds that it does not work with a platform

RE: [PHP] cookie not set anymore by IE5 (localhost)

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
No formatting a developing station is a really stupid thing to do ;-) Have you looked into your C:/docs/you/cookies? It should be there. Hey, why instead don't you try to remove it? Set it to nothing - that's it. Logic: if at least a friend of yours sees it - means it works. Cookies could be a

Re: [PHP] Cookie problem

2001-09-20 Thread Richard Baskett
It depends on which browser you are using and on what platform. On the MacOS in IE you can view cookies by going to Edit -> Preferences -> Cookies in Netscape you can also view the cookies with the Preferences menu. On the PC it's a little more difficult. In IE you go to Tools -> Internet Optio

Re: [PHP] Cookie problem

2001-09-20 Thread Murat
your header line works fine, but where are cookie files written? i didn't see any cookie file about it in my windows/cookie directory after it had been created?? thanks Richard Baskett wrote: > Here use this cookie that I wrote, it works in every browser, every os. > > ---

Re: [PHP] Cookie problem

2001-09-19 Thread Richard Baskett
Here use this cookie that I wrote, it works in every browser, every os. function NextYear () { $today = gmdate("l, d-M-"); $today .= gmdate("Y")+1; $today .= gmdate(" H:i:s")." GMT"; return $today; } $on

Re: [PHP] cookie error

2001-09-08 Thread Julie Meloni
Saturday, September 08, 2001, 5:40:46 PM, you wrote: AM> when i submit a form and try to have it post a cookie in the php thing i get AM> this error message: AM> Warning: Cannot add header information - headers already sent by (output AM> started at /usr/local/www/data/vi2dev/root/layout/functio

Re: [PHP] Cookie Help

2001-08-13 Thread Richard Baskett
header("Set-Cookie: cookiemonster=$cookiedata; expires=$expire; path=/; domain="domain.com", secure); or go to http://home.netscape.com/newsref/std/cookie_spec.html to view even more specs on it. I just found this way of setting cookies to always work compared to the php setcookie command which

Re: [PHP] cookie help

2001-07-24 Thread McShen
thanks! "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > in order to prevent my visitors from seeing more than one popup in less than > > 120 second, I added this to my php page(index.php) > > -- > > setcookie("popup",1,time()+120)

Re: [PHP] cookie help

2001-07-24 Thread Rasmus Lerdorf
> in order to prevent my visitors from seeing more than one popup in less than > 120 second, I added this to my php page(index.php) > -- > setcookie("popup",1,time()+120); > if ($popup!=1) > > echo "http://www.peel.net/frames/PMNforce.js>"; > } > - > > When I reload i

Re: [PHP] Cookie Not Setting..

2001-07-11 Thread Magnus Hammar
t; > To: "Jeff Lewis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Wednesday, July 11, 2001 9:30 AM > Subject: Re: [PHP] Cookie Not Setting.. > > >> Try this: >> >> $cookie_name= "wwblCookie"; >> $value

Re: [PHP] Cookie Not Setting..

2001-07-11 Thread Jeff Lewis
PROTECTED]> > To: "Jeff Lewis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Wednesday, July 11, 2001 9:30 AM > Subject: Re: [PHP] Cookie Not Setting.. > > > > Try this: > > > > $cookie_name= "wwblCookie"; > > $valu

RE: [PHP] Cookie Expiry Dates?

2001-07-11 Thread Adrian Ciutureanu
int setcookie (string name [, string value [, int expire [, string path [, string domain [, int secure]) expire = time() + 3600*24*30; Note that 'expire' is the client relative to GMT time. So, if the client has the local time set to 01/01/1985, your cookie will be born dead ;) > -Origina

Re: [PHP] Cookie ?

2001-06-30 Thread Jon Yaggie
i had this problem a while back. the problem with this is cookies work by the users time not the servers time. so if the server is in america and my computer is on japanese time even a cookie set for time()+18000 will be valid because my computer is actually +50400 for a server in EST. i have

Re: [PHP] Cookie Expire Problem

2001-04-08 Thread Christian Reiniger
On Sunday 08 April 2001 06:15, you wrote: > Your cookie is set to expire in the year 2280. You think that's a > little overkill? > > > And it runs into the UNIX-style Y2K problem which is...um...13 years > from now? Well anyway... 2038 with a 32bit processor -- Christian Reiniger LGDC Webmaste

Re: [PHP] Cookie Expire Problem

2001-04-07 Thread Jeffrey Paul
actually, the offending line is: $cookie_expire = "$time*3"; it may be set too high if you triple it, but i think what might be happening is that it's setting $cookie_expire to '986703865*3' which would be invalid. if this is the case (i dont think you can multiply inside of quotes), then t

Re: [PHP] Cookie Expire Problem

2001-04-07 Thread Plutarck
The problem is that it is too far in the future. Your cookie is set to expire in the year 2280. You think that's a little overkill? And it runs into the UNIX-style Y2K problem which is...um...13 years from now? Well anyway... Make your cookie's expire time a little more reasonable. Like 5 year

Re: [PHP] cookie working only 90% array missing one var and sql query burns [YIKES!]

2001-04-05 Thread Plutarck
Correct line: > setcookie ("user_reg[1]" , "$pass_w", $lifetime, "/", ".mydotcom.com"); Now look at this line: > setcookie ("user_reg[2]" , "$full_name", $lifetime, ".mydotcom.com"); Don't you just hate it when you forget a "/"? ;) -- Plutarck Should be working on something... ...bu

Re: [PHP] Cookie not getting set in IE 5 but no problem in Netscape

2001-03-28 Thread Joe Stump
Ah yes, the infamous IE cookie problem - look at the expire time - I be it destroys the cookie as soon as it gets it because the expire time is either on or before the time the cookie was sent. --Joe On Wed, Mar 28, 2001 at 07:16:52PM +0800, Floyd Piedad wrote: > My program works really well wit

Re: [PHP] Cookie problem

2001-03-27 Thread Martin Skjöldebrand
Thanks everyone for all the responses. I think I'll look into sessions in the future. Meanwhile I'll have to see what others come up with. Thanks, Martin S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [PHP] Cookie problem

2001-03-26 Thread Chris Lee
I have to agree Nuno, sessions are alot easier/simpler. -- Chris Lee [EMAIL PROTECTED] "Nuno Silva" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, short: try removing the third parameter to setcookie and if the errors go away you know it's a co

Re: [PHP] Cookie problem

2001-03-25 Thread Nuno Silva
Hello, short: try removing the third parameter to setcookie and if the errors go away you know it's a cookie problem :) long: you're setting auth based in the (server's) time + 600sec. If the client (or even the server) has a clock skew... well bad luck :) removing the third parameter mak

RE: [PHP] Cookie References?

2001-02-25 Thread PHPBeginner.com
Yes it can : here's what I once was doing to assign a user with a cookie containing a Session ID: $uniqid = md5 (uniqid (rand())); if(!isset($sid)) { $time = time(); setcookie ("sid", $uniqid, $time*3); } time()+time() makes it really, really LONG ... (62 years?), of course i

Re: [PHP] Cookie References?

2001-02-24 Thread mwaples
Jeff Oien wrote: > > Could you give me some URLs for tutorials related > to cookies and good reference material? www.cookiecentral.com/faq/ has some good general info rfc2109 - more technical but useful http://www.cis.ohio-state.edu/htbin/rfc/rfc2109.html > > One question I have is can a cook

Re: [PHP] Cookie References?

2001-02-24 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Sat, 24 Feb 2001 16:42:09 -0600 > > Could you give me some URLs for tutorials related > to cookies and good reference material? Not directly, but there are a number of tutorial links at:

Re: [PHP] Cookie stored but cannot trigger the function...

2001-02-23 Thread Richard Lynch
> Before redirecting it will also store a cookie in the > browser named camefrom. > > SO then On the login.php page a user enters username > and pasword and Submits.. if user is found then It has > to get the Cookie value like this: > > $goto = $HTTP_COOKIE_VARS['camefrom']; > > header ("Location:

Re: [PHP] Cookie with Netscape

2001-01-30 Thread Teodor Cimpoesu
"Eugene Yi (InfoSpace Inc)" wrote: > > Thank you for your feedback! I tried it but it didn't make a difference. I > printed the var right after the set and it returns null. > > setcookie("cbcookie1",$domain,0,"/","mydomain.com"); > $domain = $HTTP_COOKIE_VARS["cbcookie1

RE: [PHP] Cookie with Netscape

2001-01-29 Thread Eugene Yi (InfoSpace Inc)
- > From: Aaron D. Turner [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 29, 2001 2:42 PM > To: Eugene Yi (InfoSpace Inc) > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Cookie with Netscape > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > That's be

RE: [PHP] Cookie with Netscape

2001-01-29 Thread Aaron D. Turner
$domain)"; > > > -Original Message- > > From: Aaron D. Turner [mailto:[EMAIL PROTECTED]] > > Sent: Monday, January 29, 2001 2:29 PM > > To: Eugene Yi (InfoSpace Inc) > > Cc: [EMAIL PROTECTED] > > Subject: Re: [PHP] Cookie with Netscape > >

RE: [PHP] Cookie with Netscape

2001-01-29 Thread Eugene Yi (InfoSpace Inc)
bcookie1"]; echo "domain($domain)"; > -Original Message- > From: Aaron D. Turner [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 29, 2001 2:29 PM > To: Eugene Yi (InfoSpace Inc) > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Cookie with Netscape > > > -

Re: [PHP] Cookie with Netscape

2001-01-29 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 29 Jan 2001, Eugene Yi (InfoSpace Inc) wrote: > I set up a cookie using the following command and it works fine under IE but > not in Netscape. Am I doing something wrong? > > setcookie("mycookie[1]",$domain,"","/","mydomain.com"); Should

Re: [PHP] Cookie semi-security.

2001-01-25 Thread April
" <[EMAIL PROTECTED]> To: "April" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]> Sent: Wednesday, January 24, 2001 4:07 PM Subject: Re: [PHP] Cookie semi-security. > Enable track_vars in php's config and use > $PHP_COOKIE_VARS['

Re: [PHP] Cookie semi-security.

2001-01-24 Thread Alex Black
PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] ("Toby Butzon") > Newsgroups: php.general > Date: 24 Jan 2001 14:10:40 -0800 >

Re: [PHP] Cookie semi-security.

2001-01-24 Thread Toby Butzon
Enable track_vars in php's config and use $PHP_COOKIE_VARS['cookie_id'] to get the value of the cookie. --Toby - Original Message - From: "April" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Wednesday, January 24, 2001 5:06 PM Subject: [PHP] Cookie semi-security. > S

RE: [PHP] cookie paths are really confusing me...please help!

2001-01-21 Thread Jason Murray
> scenario: im browsing a file in lets call directory 'test'. > this file is including a file in the parent directory. this included > file is setting a cookie. The point here is that the file is being *included*, therefore the cookie will only be local to that "test" directory, regardless of w

Re: [PHP] cookie stopped working???

2001-01-13 Thread Rasmus Lerdorf
> SetCookie("cpvin","$vin","time()+1500"); SetCookie("cpvin",$vin,time()+1500); Note though that such short expiry times make you very prone to people having their clocks set wrong. It is a better idea to embed your server's timestamp in the value of the cookie and when you get the cookie back

Re: [PHP] cookie stopped working???

2001-01-13 Thread Richard Lynch
> I left the php list a few years ago when I lost the clients who wanted > (could afford) php scripts (I'm still using 2.12b..lol). Several > scripts are still running well after all these years. You probably should consider upgrading... > Now, I'm building an online programming resume for myse

<    1   2