Login   Register  
PHP Classes
elePHPant
Icontem

help - I need very simple Samples

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP HTTP protocol client  >  All threads  >  help - I need very simple Samples  >  (Un) Subscribe thread alerts  
Subject:help - I need very simple Samples
Summary:pls.. very simple example
Messages:3
Author:David B
Date:2011-12-29 07:59:20
Update:2011-12-29 09:23:01
 

  1. help - I need very simple Samples   Reply   Report abuse  
Picture of David B
David B
2011-12-29 07:59:20
Very awesome class!! but too complicated use! I need very simple samples of use.

No html debug, only silent code.

Someone can help me with this very simple function.

I need:

Step 1: Get whole HTMLbody (raw format) $http->ReadWholeReplyBody($body);

Step 2: Keep connection with page.

Step 3: Send POST values at other page and Accept Cookies.


It's all.

  2. Re: help - I need very simple Samples   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2011-12-29 08:35:30 - In reply to message 1 from David B
The class does already all that, you just need to look at the comments of the examples and change or remove any code you do not need.

For instance, if you do not need to see the debug output, just set the debug variable to 0 instead of 1 as in the examples.

  3. Re: help - I need very simple Samples   Reply   Report abuse  
Picture of David B
David B
2011-12-29 09:23:01 - In reply to message 2 from Manuel Lemos
Thanks! I got what I wanted ! :)