This class can be used to send HTTP GET and POST requests to an HTTP server.
With this class you can:
- Download data from the HTTP server using the GET or POST methods
- Add form fields values to POST requests
- Get and set cookies
- Set the request referer URL
- The cHTTPMultiPart class extends cHTTP to make it possible to upload fields through multipart/form-data parts.
Quem já se aborreceu ao ter que enviar mensagem através do site da OI? Aquelas páginas ‘pesadas’ dificultam o envio rápido. Pensando nisso, resolvi criar esta classe em PHP para facilitar o envio.