Jump to content

Scan a webpage for content?


lostprophetpunk

Recommended Posts

Is there a way to scan a webpage without using the file_get_contents().

 

I mean like if you have a webpage that contains the text 'foo', is it possible to search and store that 'foo' in a variable with the file_get_contents() function. I am not looking for a javascript solution, only php.

 

I am trying to do this as the admin of my website has disabled this function in the phpinfo().

 

If anyone could help, that woould be awesome.

Link to comment
https://forums.phpfreaks.com/topic/171525-scan-a-webpage-for-content/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.