<?php echo( "Cookie created? : " . setcookie("cookie_name", "cookie_data" ) ); ?> <html> <head> <title>Cookie</title> </head> <body> </body> </html>