Small PHP-script for checking concert tickets availability

Small PHP-script for checking concert tickets availability

I’m waiting for some concert tickets to be available for purchase (the Steve Vai concert at Las Vegas Hilton in May). Instead of checking the Steve Vai tour dates web page ever day, I wrote a small script to do it for me every time I visit my own site (just for fun, of course). First, let’s execute the script to check the availability of the concert tickets:

This is the script:

(In the code output above I stripped the php tags from the code so that it woudn’t execute withing this page itself.)

That’s it! Now all I have to do is to wait for the script to output something different from “Tickets on sale soon!”. A cool improvement would be to add the script to a cron type of scheduling system and have the script email the result, but I’ve had my share of fun for the time being. 🙂

2 thoughts on “Small PHP-script for checking concert tickets availability

Leave a Reply

%d bloggers like this: