Showing posts with label php5. Show all posts
Showing posts with label php5. Show all posts

Monday, April 4, 2011

Poke URL with PHP for Response and Stay Sane

I recently had a project to parse the response of a web URL using PHP and based on that, to perform an action. The confusing part isn't which action to take once the URL is processed, but how to obtain the response from the URL, when the response is merely 0 (zero/false) or 1 (one/true).