Changing 3 lines of code to php from c#
<p>Can any give me some idea on how to write the following code in PHP because the below code is in C#</p>

<pre><code>var response = HttpContext.Current.Response;
response.Clear();
response.AppendCookie(new HttpCookie("fileDownloadToken", downloadTokenValue); 
response.AddHeader("Content-Disposition", string.Format("attachment; filename={0}",
desiredFileName)); 
response.Flush();
</code></pre>

<p>Thanks in advance</p>
