Im tring to add a small part to my script which will find anything after the last . at the moment it finds anything after the first dot it finds....
$type = explode(".", $file);
so i believe i need to give it a reg expressions to find the last . in the line... ive tried a few reg expr combos but nothing as worked...
Any help would be great..
$type = explode(".", $file);
so i believe i need to give it a reg expressions to find the last . in the line... ive tried a few reg expr combos but nothing as worked...
Any help would be great..