![]() |
Read file and modify line by line before echo ??
Good day to you all,
I'm working on a script wich permit me to read a file line by line and echo it. Here is my code now: PHP Code:
My problem is I need to be able to add or edit each and every line seperatly and differently before echo everyting. How can I do so ? Thanks! |
Hey there,
So basically you are wanting an online file editor ? (thats the way I understand it) Have a look http://www.hotscripts.com/listing/si...p-file-editor/ or http://www.dreamincode.net/code/snippet99.htm |
why not use the file or file_get_contents functions.
php Code:
I haven't tested this code, but I think those functions would be better to use. |
| All times are GMT. The time now is 02:37 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0