For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > April 2005 > command line









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author command line
Jean Pierre Daviau

2005-04-27, 3:56 am

Hi,

Can we set a cookie from the command line.
I have tried
<?php
setcookie('TestCookie','allo',time()+360
0);
echo "->".isset($_COOKIE['TestCookie']);
?>

echo gives: ->

--

X trême newbe
.......
masm32
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com