View Single Post
  #5 (permalink)  
Old 07-01-09, 03:08 PM
Nico's Avatar
Nico Nico is online now
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 7,536
Thanks: 5
Thanked 20 Times in 18 Posts
Read the file contents with file_get_contents().
Replace the name with nothing, using str_replace().
Put the contents back to the file using file_put_contents().
Reply With Quote