Returns the type of the content of the last opened stream. It is a mime-type.
Returns the data attached with a field whose name is specified by header. If the field doesn't exist, it will return an empty string and not a NULL string.
Note
The header is not case-sensitive, i.e. "CONTENT-TYPE" and "content-type" represent the same header.
Returns an input stream that can be used with stream_read() to fetch the file from the url.
Connects to a server using the specified address host:port.
Sets data of a field to be sent during the next request to the HTTP server. The field name is specified by header and the content by data. This is a low level function and it assumes that you know what you are doing.