Update barcode.php

Modified to be included and act like a function
barcode("test.png","testing"); 
return on screen or in a file.