Page 1 of 1

Ouvrir une URL complexe comme fichier ?

Posted: Tue Dec 10, 2002 2:59 am
by viseurr
I want to open a complex URL (with parameters) like http://www.google.be/search?q=marketing ... l=fr&meta= with PHP as a file, in order to parse the result. I try with fopen et fopensocket but without success. Any idea ?
Thank you in advance.[/i]

Posted: Tue Dec 10, 2002 4:21 am
by Traduim
I would use:

$pagina = show_source('http://123.45.67.89/folder/file.php?par ... 2=good+bye');

And then, parse $pagina.