please show me how to use FPUTS to send HTTP reguests to a server...... i need to get the charset and type of a page....
-m
In the PHP documentation for the socket functions, there is an example of a simple HTTP client (Example 2). It uses socket_write() and socket_read(), but I think it will do what you need.