to
run a DNS name server for the LAN.
Randy Clamons
Systems Programming
Novaspace.com
Original Message
From: "tony yau" <[EMAIL PROTECTED]>
To: php-windows@lists.php.net
Date: Fri, Feb-25-2005 12:41 PM
Subject: Re: [PHP-WIN] Re: Cookie Problems on Localho
ame server for the LAN.
Randy Clamons
Systems Programming
Novaspace.com
> Original Message
> From: "tony yau" <[EMAIL PROTECTED]>
> To: php-windows@lists.php.net
> Date: Fri, Feb-25-2005 12:41 PM
> Subject: Re: [PHP-WIN] Re: Cookie Problems on L
is your browser blocking the cookie?
"Joseph L. Mueller" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Luis Moreira wrote:
>
> > You can always try to set a cookie, but wether the browser allows it
> > or not, it's a whole different ball game.
> > I believe your problem lies here.
Luis Moreira wrote:
You can always try to set a cookie, but wether the browser allows it
or not, it's a whole different ball game.
I believe your problem lies here.
Anyway, the two scripts I attach, I have just tried, and the cookie
was set by the first, WITH A MESSAGE FROM THE BROWSER ASKING IF
On 23 Feb 2005 M. Sokolewicz wrote:
> both 'localhost' and any ip are not accepted as valid
> domain-identifiers in cookies (as per RFC). This simply means you're
> best off leaving them empty.
As far as I can tell this is incorrect. I think the relevant RFCs are
2109 and 2695. Both strongly
You can always try to set a cookie, but wether the browser allows it or
not, it's a whole different ball game.
I believe your problem lies here.
Anyway, the two scripts I attach, I have just tried, and the cookie was
set by the first, WITH A MESSAGE FROM THE BROWSER ASKING IF I ALLOWED IT.
The s
> Don't know if this will work, but have you tried setting an
> entry in your hosts file (C:\WINDOWS or
> C:\WINNT\system32\drivers\etc) for your machine name that
> points to 127.0.0.1?
>
> Eg:
> 127.0.0.1 mymachine
Whoops! Forgot to say that you should then access your site using
http:/
> That still leaves the problem of how to test cookies and
> sessions on a local system.
Don't know if this will work, but have you tried setting an entry in your
hosts file (C:\WINDOWS or C:\WINNT\system32\drivers\etc) for your machine
name that points to 127.0.0.1?
Eg:
127.0.0.1 mymachin
M. Sokolewicz wrote:
Joseph L. Mueller wrote:
I am testing some PHP code (example 15.5 from Sams Teach Yourself PHP
MySQL, PHP and Apache in 24 Hours). I am running running PHP 5.0.3
and Apache 2.0.43 on my WinXp Home system.
My problem is I cannot seem to set a cookie.
I tried using "localhost
Joseph L. Mueller wrote:
I am testing some PHP code (example 15.5 from Sams Teach Yourself PHP
MySQL, PHP and Apache in 24 Hours). I am running running PHP 5.0.3 and
Apache 2.0.43 on my WinXp Home system.
My problem is I cannot seem to set a cookie.
I tried using "localhost" and "127.0.0.1" for
10 matches
Mail list logo