Thanks for all of your help.
This actually isn’t for site users to see. I’m making a little script that uses file_get_contents() (or cURL, it’s easy to change between the two) to scrape Google search results to find out what my website’s position is in Google for different search terms. It takes about 50 seconds to execute. Is there a way I can extend the PHP timeout value?