Update qr.php

ereg is deprecated in PHP 5.3, replaced with preg_match
Update qr.php

preg_match requires delimiters
http://stackoverflow.com/questions/2217850/how-to-replace-ereg
Merge pull request #1 from micahwalter/master

ereg