I have a simple PHP script that needs to parse the content of another webpage. What is the easiest way to put the HTML code into a PHP variable?
3
-
what have you tried? looking e.g. here: stackoverflow.com/questions/3885760/… should give you some starting infocodeling– codeling2012-09-06 07:27:01 +00:00Commented Sep 6, 2012 at 7:27
-
I've looked into CURL, but I've spent a few hours with it, and it seems unnecessarily complex.Bashevis– Bashevis2012-09-06 07:29:09 +00:00Commented Sep 6, 2012 at 7:29
-
see, that's the info that you should put into the question ;)codeling– codeling2012-09-06 07:30:29 +00:00Commented Sep 6, 2012 at 7:30
Add a comment
|