e', "$user");";
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
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
http://us2.php.net/manual/en/fun
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
Hi Jason,
1. I don't think you need the quotes around the values.
2. is the user cookie set?
bastien
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
I am trying to set a c
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
MIME-Vers
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
At
relos; [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
&g
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']
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
> javascr
Right, but in my example HTML line
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
news:[EMAIL PROTECTED]
> Hello Maris,
>
> Th
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 c
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
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
> grad
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 multip
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
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 cookie
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 inqui
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
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
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 multip
ldwell'" <[EMAIL PROTECTED]>; <[EMAIL 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
i
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 c
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
> hello all,
>
> just wondering if there's a way to delete/unset a previously set cookie.
>
> thanks
Yep - have a look here:
http://www.php.net/manual/en/function.setcookie.php
jason
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
> 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
"ne
Tobbe:
Make sure you haven't echoed any other content to the browser: the
cookie headers must be sent BEFORE any other headers.
-- David Balatero
-Original Message-
From: Tobbe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 1:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Co
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 co
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 thi
Have a look on PHP manual there is good information on mail functions,
setcookie function, and other stuff.
HTH
Jayme.
-Mensagem Original-
De: Matthew Cothier <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: domingo, 25 de fevereiro de 2001 17:13
Assunto: [PHP-DB] cookies, email
Matthew,
Aren't we all. There's code at www.zend.com which deals with user logins,
mailing form information, cookies, storing data etc. Have a look at
www.thickbook.com, also WeberDev, DevShed and www.phpbuilder.com
Sessions are pretty easy to use, and you may want to consider them rather
tha
> 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
IL PROTECTED]]
> Sent: Saturday, 20 January 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);
& Server Admin
Planet Netcom
Best Regards,
Bob Irwin
Domain & Server Admin
Planet Netcom
> -Original Message-
> From: Jerry [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 20 January 2001 3:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] Cookies on a Macintosh
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 th
34 matches
Mail list logo