php-windows Digest 23 Feb 2005 12:04:11 -0000 Issue 2588

Topics (messages 25657 through 25658):

not so php related
        25657 by: Joakim Ling

Cookie Problems on Localhost
        25658 by: Joseph L. Mueller

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Hi,

 

Is there a way to add hosts in IIS6 and alias in DNS hosts from php or
cmd. It would help me alot when I register a new customer.

 

I know its not php related but if someone know please share.

 

cheers

Jocke


--- End Message ---
--- Begin Message --- 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.
<?php
setcookie("vegetable", "artichoke", time()+3600, "/", "127.0.0.1", 0);
?>

I tried using "localhost" and "127.0.0.1" for the domain parameter, but that does not seem to work. I have tried this with botn Mozilla 1.7.3 and Internet Explorer to no avail.

Any pointers would be welcome.

Thnaks in advance.
--
Joseph L. Mueller

--- End Message ---

Reply via email to