I'm doing some work in php with curl. Specifically I need to specify the http header used in a request.

I know I can curl_setopt alot of header values, but what I'm really interested in is specifying the header myself with a string or an array or something. How would I go about specifying the header manually?

Thank you.