your better off googling first before you ask a question like that on a forum. After you can't find the answer on there then ask here.
You guys are mean. Here's how you do it:
echo "<meta http-equiv='Set-Cookie' content='cookiename=cookievalue' />\n";
You guys are mean. Here's how you do it:
echo "<meta http-equiv='Set-Cookie' content='cookiename=cookievalue' />\n";
You haven't really seen mean yet.
But on another note, you totally failed since that's not how you do it in PHP as was asked by the OP (just because you echo an html meta tag doesn't make it the PHP method).
"How we set a cookies in Php language" shouldn't be limited to narrow-minded solutions like setcookie and header.