|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Add/Edit/Del text file content
I would like to enable a user to add/edit/delete a text file or files using php. Just to keep an events page on their website.
I don't need any security aspects such as pword protection, I can do that, but don't know how to go about the text file issue. When adding or editing the textfile I want it to display 'normal text', no html tags. Any ideas? |
|
#2
|
|||
|
|||
|
Do you want to display the contents of the textfile in a TEXTAREA?
To ensure that no HTML/PHP tags are displayed, you can check out the functionality of the strip_tags function. Are you having trouble opening, reading/writing, and closing the file, or do you understand how to do that?
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
I don't really know how to go about it, to be honest...
|
|
#4
|
|||
|
|||
|
I would recommend checking out the PHP manual for all the different functions you can use...
Also, check out Mitch's article: Working With Text Files in PHP If you have any other problems, let us know... |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Add/Edit/Del text file content |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|