Ouvrir une URL complexe comme fichier ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
viseurr
Forum Newbie
Posts: 1
Joined: Tue Dec 10, 2002 2:59 am

Ouvrir une URL complexe comme fichier ?

Post 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]
User avatar
Traduim
Forum Newbie
Posts: 11
Joined: Tue Dec 10, 2002 4:21 am
Location: Catalunya

Post by Traduim »

I would use:

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

And then, parse $pagina.
Post Reply