Thread
:
Match $var in text file ?
View Single Post
#
5
(
permalink
)
07-01-09, 03:08 PM
Nico
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().
__________________
Zend Certified Engineer
Image Rotator
Nico
View Public Profile
Visit Nico's homepage!
Find all posts by Nico