Jump to content

Check a webpage..


rockinaway

Recommended Posts

You'll first need to get the contents of the webpage which can, in most cases, be achieved with the use of the file_get_contents() function. In some cases you'll need to use cURL, however.

 

You'll then need to use regular expressions to find your text/hyperlink: preg_match()

Link to comment
https://forums.phpfreaks.com/topic/72667-check-a-webpage/#findComment-366383
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.