<p>How can I set the cookies in my <code>PHP apps</code> as <code>HttpOnly cookies</code>?</p>

Explanation here from Ilia... 5.2 only though
httpOnly cookie flag support in PHP 5.2
As stated in that article, you can set the header yourself in previous versions of PHP
```
```
header("Set-Cookie: hidden=value; httpOnly");
```
```