Hello,
How can i read a directory with 10 files, and than read each file in the directory, search for a specific string and replace it, save the file, and finally close the file?
Any idea how I can do this?
Thanks!
Every one of those actions is documented in the PHP manual. Look up readdir(), fopen(), fread(), fwrite(), fclose(), and str_replace().