![]() |
|
#1
|
|||
|
|||
saving html textI'm trying to save html text to a file after being retrieved through a form.
So a textarea displays html text, which is sent via post and stored in a variable. The html file is then deleted and a new one is made with the new edited html text. What happens with my code is that when you edit the html text in the textarea, it doesn't seem to be saving. Here's my code: PHP Code:
What seems to be the problem? The html text seems to be sent and saved correctly, becuase the file is deleted and then saved. But the html text saved is exactly what the original text was. www.sportstar.co.za to view this script in action. Try edit the html text and save, then reload the script and see what happens. I'm lost pls can someone help me peace, Rich |
|
#2
|
|||
|
|||
|
doh!!!
I forgot to change file permissions for temp1.html It works fine now...www.sportstar.co.za silly me I don't understand why the server didn't give an write to file error, doesn't matter now i guess. |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| burning problems PLEASE PLEASE HELP | kelticeire | Computer Hardware Forum | 4 | 01-Dec-2006 15:39 |
| working with html HELP | dopee | MySQL / PHP Forum | 10 | 18-Jan-2005 04:31 |
| converting text files to html files | kensenb | C Programming Language | 13 | 09-Nov-2004 11:33 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The