I have been playing with this at home.
Perhaps this makes it a bit easier.
boolean setcookie ( string name [, string value [, int expire [, string
path [, string domain [, int secure])
boolean setcookie (name, value, expire, path, domain, secure)
Fwiw, a solution from another project:
, February 13, 2003 12:57 PM
Subject: [PHP] problems with cookies and PHP
This is driving me nuts... it won't set or reset the cookie
no errors no nothing...
I've learned quite a bit about cookies and PHP thus far but something important must
still be
eluding me. I've read the m
This is driving me nuts... it won't set or reset the cookie
no errors no nothing...
I've learned quite a bit about cookies and PHP thus far but something important must
still be eluding me. I've read the manual entry on it, is there any other tutorial out
there that's better?
what am I doing wron
oes not change the cookie file itself.
what must I do to accomplish that?
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Fireborn Silvaranth" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 9:41 AM
Subject: Re: [PHP] problems
setcookie("userinfo","userid",NULL,"/");
- Original Message -
From: "Fireborn Silvaranth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 11:58 AM
Subject: [PHP] problems with c
sh that?
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Fireborn Silvaranth" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 9:41 AM
Subject: Re: [PHP] problems with cookies and PHP
>
> >print "$_COOKIE['userInf
I'm having problems with cookies and PHP and I'm not sure how to solve them.
I've been working on a user tracking system for our site and I need to have the site
remember them after they close their browser then come back. The only way I can think
to do that is with cookies. I need to have PHP se
A couple problems may exist:
1) If you're trying to do this all in the same script, it's not going to
work. You can't set a cookie and use it (with the value you've just
set) in the same script (in the same request). You can only use cookies
that have been sent back to your script from th
Hi all,
I'm using a cookie like this: <>
at the top of my script. <<$domin>> is a text field that belongs to a post form. This
form is in <> well, i try use <<$domin>> in <>
writing <<$_COOKIE['cookiename1'];>> Here you are the code:
--- HTML code ---
--- HTML code ---
--- HTML code ---
-
Rite, a user logs in at http://localhost/employers/login.php and PHP sets a
cookie, eusername, that has his username, funnily enough.
then he clicks on to the /employers/search.php, submits his query and clicks
on the page of http://localhost/freelancers/some_guy/index.php
When I have a bit of P
Sveiki, php-general,
I want to put cookies to know how I have to open window (new window
or same window), but I'm making some mistake. Please help me.
Here is the code
--- Pasirinkite ---
Same Window
New Window
11 matches
Mail list logo