fopen url with using post variable

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

i'm using a php script opening en parsing a url like

this url and website are not mine but i'm only using some information
from the site.

now this site has changed and the GET variable a=aa   & b=bb  have
changed into POST variable. (i know because before i go to that page
i've to fill in a form and see that this form post method is POST)

the script i used was something like this:

    $fp = fopen("", "r");
    $str = "";
    while(! feof($fp))
      $str .= fread($fp, 128);


how do i do something like that opening an url with some POST

thank you

Re: fopen url with using post variable

Do some research on CURL.
It will do the trick.


unknown; wrote:
Quoted text here. Click to load it

Site Timeline