: "Prathaban Mookiah" <[EMAIL PROTECTED]>
To: PHP Mailing Lists
Sent: Wed, 19 Jul 2006 23:01:29 +0600
Subject: [PHP] Problem With Cookies
> I have run into a wierd problem with cookies. I am trying to set a
> cookie as usual:
>
> $COOKIE_EXPIRES = 3600;
> $CO
I have run into a wierd problem with cookies. I am trying to set a cookie as
usual:
$COOKIE_EXPIRES = 3600;
$COOKIE_VALID_PATH = "/mydirectory/";
$COOKIE_DOMAIN = ".myhost.com"
setcookie("mycookie1", "somevalue", time()+$COOKIE_EXPIRES,
$COOKIE_VALID_PATH, $COOKIE_DOMAIN, 0)
I want this cooki
Hello Teren,
Tuesday, March 9, 2004, 6:48:15 PM, you wrote:
T> Hey, I'm having some trouble with one of my scripts that is on
T> a new server I just launched. The scripts worked fine on the old
T> server, so i'm pretty sure it's a php configuration problem. The
T> problem is that i am using cooki
If the install on the new server is a fresh install, you might want to
start by comparing the php.ini files being used on both machines to see
where they differ.
HTH!
--Sam
Teren wrote:
> Hey, I'm having some trouble with one of my scripts that is on a new
> server I just launched. The script
Hey, I'm having some trouble with one of my scripts that is on a new server I just
launched. The scripts worked fine on the old server, so i'm pretty sure it's a php
configuration problem. The problem is that i am using cookies on the script with the
setcookie() function. It looks like the cooki
on 13/07/02 7:35 AM, Andy ([EMAIL PROTECTED]) wrote:
> I am wondering if there is a possiblity that some browsers like IE 5.1 do
> not accespt cookies by default. I am working on a session management system
> and some users report that they have not been able to login because the
> cookie has bee
ðÒÉ×ÅÔ!
Andy wrote:
> I am wondering if there is a possiblity that some browsers like IE 5.1 do
> not accespt cookies by default.
No, it's that they do not accept standards by default :) Try this and
have M$ go to hell:
// send/refresh cookie
$time = mktime()+ $lifeInDays*86400;
$
Hi there,
I am wondering if there is a possiblity that some browsers like IE 5.1 do
not accespt cookies by default. I am working on a session management system
and some users report that they have not been able to login because the
cookie has been rejected. They are running IE 5.1 Mac (and maybe
never mind, I solved the problem.
--
* Peter Knif *
[EMAIL PROTECTED]
""Peter Knif"" <[EMAIL PROTECTED]> wrote in message
9e7ror$mp0$[EMAIL PROTECTED]">news:9e7ror$mp0$[EMAIL PROTECTED]...
> Hi! I'm trying to write a simple script that would set a cookie. I keep
> receiving the following
Hi! I'm trying to write a simple script that would set a cookie. I keep
receiving the following message:
Warning: Cannot add header information - headers already sent by (output
started at e:\inetpub\wwwroot\PHP\game.php:85) in
e:\inetpub\wwwroot\PHP\game.php on line 87
Here's the code:
85 ech
/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: "wx" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Friday, March 23, 2001 6:00 PM
Subject: [PHP] Prob
Rob,
perhaps some code?
regards,
jaxon
On 3/23/01 7:03 PM, "wx" <[EMAIL PROTECTED]> wrote:
> Hello:
>
> I've set up a authentication script in PHP, and have made it to where once
> the user has been successfully authenticated, it puts the username
> ($global[username]), password ($global[
Hello:
I've set up a authentication script in PHP, and have made it to where once the
user has been successfully authenticated, it puts the username ($global[username]),
password ($global[password]), and realname ($global[realname]) into a cookie. The
included functions file (./inc/common.
13 matches
Mail list logo