Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Regular expression quick question


Message #1 by meu <csvega@d...> on Mon, 26 Nov 2001 15:54:02 +0800 (HKT)
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



  Return to Index