A PHP script and a bash script to get data from a webpage