You are here: fopen url with using post variable « PHP Programming Language « IT news, forums, messages
fopen url with using post variable

Posted by unknown; on 12/30/06 09:53

hello

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

www.OpenThisURL.com/site.php?a=aa&b=bb

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("www.OpenThisURL.com/site.php?a=aa&b=bb", "r");
$str = "";
while(! feof($fp))
$str .= fread($fp, 128);

fclose($fp);


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

thank you

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация