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: 8,074
Thanks: 11
Thanked 88 Times in 83 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
|
My Twitter
|
HotScripts' Blog
|
HotScripts' Twitter
|
How to ask questions the smart way
Nico
View Public Profile
Visit Nico's homepage!
Find all posts by Nico