PHP Cookies

Status
Not open for further replies.

torok

Ars Tribunus Militum
2,000
For some strange reason this can't work. It's so simple, and yet I cannot see why it's not actually setting a cookie on my machine. I've got another script I can run, and that sets a cookie, but this does not. Nor does anything else I try to code. Anyone have any ideas? Thanks.

Code:
<?
setcookie('testCookie','testValue');

echo "<html>I just sent a cookie!</html>";
?>
 
Status
Not open for further replies.