RE: [PHP-GENERAL] cookie retrieval from another server
| From: | aj | Date: | Thu, 01 Jun 2000 11:26:19 +0000 |
| Subject: | RE: [PHP-GENERAL] cookie retrieval from another server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-784@lists.php.net to get a copy of this message | ||
> This is what I do on the first page.
> Someone comes on my site through a banner on another site, hence the
> "refid".
> +++++++++++++++++
> if ($refid)
> SetCookie("refid", $refid, time() +7200);
> ++++++++++++++++
> which leaves something like this on my computer:
> ++++++++++++
> refid
> blu
> eztest.com/
> +++++++++++++++
> Then on my secureserver I do this
> ++++++++++++++++
> <?
> if (isset($refid))
> print"$refid";
> ?>
> +++++++++++++++++++++
> but it never prints the refid.
> How do I get the refid into the script on my secure server ??
>
> If your first server is www.eztest.com and your secure server is
> secure.eztest.com, then you'll be okay -- so long as you
> *specify* the domain "eztest.com" in your call to the setcookie()
> function.
No, first is eztest.com.
Second is www.secureserver.nl
Any other way to do this ??
Thanx
aj