Archives: php

Downloading a Webpage Using Selenium & PHP
October 6, 2023 | By David Selden-TreimanWondering how to control Chrome using PHP? Want to extract all of the visible text from a webpage? In this tutorial, we use Selenium and PHP to do this!

Web Crawler Development Techniques
July 15, 2019 | By David Selden-TreimanLooking for some quick code to build your web crawler in PHP? Here's some code we use a lot here at Potent Pages to make our development a lot easier!

Creating a Polite PHP Web Crawler: Checking robots.txt
May 31, 2018 | By David Selden-TreimanIn this tutorial, we create a PHP website spider that uses the robots.txt file to know which pages we're allowed to download. We continue from our previous tutorials to create a robust web spider and expand on it to check for download crawling permissions.

Creating a Simple PHP Web Crawler
May 24, 2018 | By David Selden-TreimanLooking to download a site or multiple webpages? Interested in examining all of the titles and descriptions for a site? We created a quick tutorial on building a script to do this in PHP. Learn how to download webpages and follow links to download an entire website.

Downloading a Webpage using PHP and cURL
May 24, 2018 | By David Selden-TreimanLooking to automatically download webpages? Here's how to download a page using PHP and cURL.