Using Glob to set a filename into a variable?

I am simply trying to set a variable to a filename, I know the start and end of the filename, but part of the filename is date stamped and is therefore variable.However this simple test gives me an error\[code\]<?php $apps = (glob('/var/www/vhosts/smartphonesoft.com/httpdocs/fred/epf/file*.tbz');echo $apps;?>\[/code\]\[quote\] PHP Parse error: syntax error, unexpected ';' in /var/www/vhosts/smartphonesoft.com/httpdocs/fred/showfile.php on line 8\[/quote\]
 
Back
Top