Hi, would someone kind to explain to me that:
let say there is a directory called images, and under it there
are bunches of files. The naming of files are based on differnt job
numbers input by a user.
I want to write a script to delete files ending with a specifice job no
let say it's $jobnumber
how do I use preg_match functions or something to do that?
My question is I don't know how to put a variable inside the preg_match
statement.
I think it's possible but I dunno how. Help~~
thanks in advance.
sam