Re: [PHP-DB] Cookies with databases

2004-10-22 Thread Bastien Koert
);; Bastien From: Jason T. Davidson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Cookies with databases Date: Thu, 21 Oct 2004 22:38:02 -0500 Bastien- I took out the quotes (as I noticed after the fact that I didn't need them) however this did not help

Re: [PHP-DB] Cookies with databases

2004-10-21 Thread Jason T. Davidson
Bastien- I took out the quotes (as I noticed after the fact that I didn't need them) however this did not help. is the user cookie set This I do not know as I am trying to test this on that second page. I get nothing, so I am assuming that it isn't set, however the first one $cid is working

Re: [PHP-DB] Cookies with databases

2004-10-21 Thread Jason T. Davidson
Tyler- I have been to that section of php.net many times. My first cookie ($cid) doesn't have them domain listed and works just fine. Don't see I would need it for the cookie ($user)? -- Jason Davidson Tyler Replogle wrote: Yes you need to set the string domain

RE: [PHP-DB] Cookies with databases

2004-10-20 Thread Tyler Replogle
Yes you need to set the string domain http://us2.php.net/manual/en/function.setcookie.php that url should help you From: Jason T. Davidson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP-DB] Cookies with databases Date: Wed, 20 Oct 2004 19:54:54 -0500

Re: [PHP-DB] Cookies ?

2004-02-09 Thread Chris Wright
Try using $_COOKIE['cookie_name'] - Original Message - From: Omelin Morelos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 12:55 AM Subject: [PHP-DB] Cookies ? Friends Is there a way to read a cookie's with php , that were generated with javascript ?

RE: [PHP-DB] Cookies ?

2004-02-09 Thread Omelin Morelos
I have already tried it , It's not working. Thanks -Mensaje original- De: Chris Wright [mailto:[EMAIL PROTECTED] Enviado el: Monday, February 09, 2004 5:09 PM Para: Omelin Morelos; [EMAIL PROTECTED] Asunto: Re: [PHP-DB] Cookies ? Try using $_COOKIE['cookie_name'] - Original

RE: [PHP-DB] Cookies ?

2004-02-09 Thread Miles Thompson
; [EMAIL PROTECTED] Asunto: Re: [PHP-DB] Cookies ? Try using $_COOKIE['cookie_name'] - Original Message - From: Omelin Morelos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 12:55 AM Subject: [PHP-DB] Cookies ? Friends Is there a way to read a cookie's with php

RE: [PHP-DB] Cookies ?

2004-02-09 Thread Omelin Morelos
yes , i tried accesing the cookie from an other page. thank you -Mensaje original- De: Miles Thompson [mailto:[EMAIL PROTECTED] Enviado el: Monday, February 09, 2004 5:37 PM Para: [EMAIL PROTECTED] Asunto: RE: [PHP-DB] Cookies ? Did you refresh the page after setting the cookie? mt

Re: [PHP-DB] cookies

2003-12-04 Thread Richard Davey
Hello Maris, Thursday, December 4, 2003, 10:40:33 AM, you wrote: MK Could you share with your experience and point out where MK is the problem here. I tried different variations for MK domain parameter in setcookie command but it didnt help It's a security mechanism built into cookies. They

Re: [PHP-DB] cookies

2003-12-04 Thread Maris Kalnins
Right, but in my example HTML line img nocache border=0 width=2 height=1 src=http://www.cookiedomain.com/cookies/cookies.php isnt it refering and setting cookie for www.cookiedomain.com even if this HTML file is on another domain? Maris Richard Davey [EMAIL PROTECTED] wrote in message

Re: [PHP-DB] Cookies problems

2003-01-22 Thread Paul Burney
on 1/21/03 10:37 PM, Sabina Alejandr Schneider at [EMAIL PROTECTED] appended the following bits to my mbox: Hello people!!! This time I have a problem with cookies. I tried to send a cookie from one page with the function sendcookie(chat,$mail) to a page in another directory, but when I tried

Re: [PHP-DB] cookies multiple pages

2002-07-03 Thread Jeffrey_N_Dyke
Is this a issue with register _globals = off. try referencing it with $_COOKIE['user_data']. Also isn't 3600 only an hour. 60secs * 60mins? i think 6 weeks would be... 151200 60 * 60 * 42days does that work? Jeff

Re: [PHP-DB] cookies multiple pages

2002-07-03 Thread John Fishworld
Banging my head against a wall with this ! Hope someone can help ! Using MySQL Trying to list cities with events for that month I've correctly (i think) formatted my date to a datetime style for MySQL $month is there chosen one $tosearch = date(Y-$month-d 00:00:00); And then this is my

Re: [PHP-DB] cookies multiple pages

2002-07-03 Thread Terry Romine
1) no, the commented setcookie(user_data,,time()+(3600));// set for 6 weeks *24*7*6 I would move the *24*7*6 back into the (3600) to make it so. I just want to test for an hour 2) so maybe this is a problem with the server? I've been tearing my hair out because neither cookies

Re: [PHP-DB] cookies multiple pages

2002-07-03 Thread Terry Romine
as in if (!isset($_COOKIE['user_data'])) { setcookie(user_data,,time()+(3600));// set for 6 weeks *24*7*6 } ?? nah.. that doesn't work either. It still creates a new cookie. On Wednesday, July 3, 2002, at 10:05 AM, [EMAIL PROTECTED] wrote: Is this a

Re: [PHP-DB] cookies multiple pages

2002-07-03 Thread Khristopher_Klaich
and it should work...but I am not in a position to put non-stable things in production. HTH-- Khris Terry Romine [EMAIL PROTECTED] 07/03/2002 11:32 AM To: [EMAIL PROTECTED] cc: php-db [EMAIL PROTECTED] Subject:Re: [PHP-DB] cookies multiple pages 1

Re: [PHP-DB] cookies multiple pages

2002-07-03 Thread Terry Romine
just checked and the server is running Apache 1.6.19 and PHP 4.0.6 Terry On Wednesday, July 3, 2002, at 09:52 AM, [EMAIL PROTECTED] wrote: Trust me this does not work with php 4.2.1 and apache 2.0.39 from what I am told if you get the cvs for apache 2.0.4 it should but I just down graded

RE: [PHP-DB] cookies and Global variables

2002-06-06 Thread Gary . Every
When you get the Header already sent error, that means that you are trying to send header info, e.g. cookie info AFTER you've already sent some header info. This is usually seen when your php script has an include in it (above your cookie stuff) that contains some html. Check your includes, and

RE: [PHP-DB] Cookies ???

2001-09-19 Thread Rick Emery
He's not trying to set multiple cookies...only one. -Original Message- From: Mark Collin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 4:01 PM To: Rick Emery; 'Jason Caldwell'; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Cookies ??? instead of setting multiple cookies, why

Re: [PHP-DB] Cookies ???

2001-09-18 Thread Mark Collin
PROTECTED] Sent: Monday, September 17, 2001 6:29 PM Subject: RE: [PHP-DB] Cookies ??? Q1. If you simply wish to READ the cookie from each web page, you need do nothing. It is created atuomatically as a variable for you. For instance, a cookie named mycookie is available as $mycookie. Q2

Re: [PHP-DB] Cookies ???

2001-09-17 Thread Justin Buist
On Mon, 17 Sep 2001, Jason Caldwell wrote: I've been reading the threads under SETCOOKIE (from php.net) -- some people are saying that setcookie doesn't seem to work for all browsers all of the time. Then some others go into how it seems to actually be the TIME format (unix time vs. GMT

RE: [PHP-DB] Cookies ???

2001-09-17 Thread Rick Emery
Q1. If you simply wish to READ the cookie from each web page, you need do nothing. It is created atuomatically as a variable for you. For instance, a cookie named mycookie is available as $mycookie. Q2. The Cookie Path is the reference point on the web server. I creates a context for the

RE: [PHP-DB] Cookies

2001-06-26 Thread Kristian Duske
this doesnt work :echo $HTTP_COOKIE_VARS[nameCookie] code to set cookie: setcookie(newsLogin,$value,time()+ 3348000); if i ask from the same page I get the values I need but not from a different page... You are asking the wrong variable name. If you set a cookie variable named newsLogin,

Re: [PHP-DB] Cookies

2001-04-25 Thread johndmiller
I believe that the cookie part needs to be sent to the browser before the html. You can put the set cookies any where in the php portion as long as the first thing you send is the cookie stuff setcookie.. html header info... html not html header info. setcookie html.. Hopes

Re: [PHP-DB] Cookies

2001-04-25 Thread Miles Thompson
Tobbe, The cookie information has to the first thing sent to the browser, ahead of everything else. You sometimes get trapped by having a single empty line at the top of your file. The page has to be reloaded for content of cookies to be read by the browser. Netscape has a short article on

RE: [PHP-DB] cookies, email and passwords

2001-02-25 Thread Matt Williams
Sorry for putting three topics in one but they all go together so I thought I would. I am setting up a user login/members area! * Firstly how do I generate a random password? * Then how do I email it to the user? * And now I need to know how to set a cookie with their username

RE: [PHP-DB] Cookies on a Macintosh

2001-01-21 Thread Noodles Grizzly
2001 2:07 AM To: Noodles Grizzly Subject: Re: [PHP-DB] Cookies on a Macintosh On Thursday, January 18, 2001, at 06:39 PM, Noodles Grizzly wrote: setcookie("randint", "$ran3", time()+9000); snip It sets the cookie, but refuses to use the variable contained within.

Re: [PHP-DB] Cookies on a Macintosh

2001-01-19 Thread Jerry
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("Noodles Grizzly") wrote: I'm using the setcookie function with the follwing. setcookie("randint", "$ran3", time()+9000); It sets the cookie, but refuses to use the variable contained within. I can't find any reference to it in the books