Welcome to WebmasterWorld Guest from 18.207.136.184

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

.TXT file editing

     
10:05 pm on Nov 22, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 22, 2005
posts:388
votes: 0


I have a flash file that take text from a .txt file and uses it dynamically. I'd like to create a PHP page that will let a user edit the .txt file so that the new text can be loaded into the flash file. (Basically saving the upload process.)
12:09 am on Nov 23, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 13, 2003
posts:775
votes: 0


Welcome to WebmasterWorld inveni0,

A lot of turtorials on the web for something like this. I googled for 'php file handling'. Check out [free2code.net...]

Tim

8:40 am on Nov 23, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


Hi inveni0, welcome to Webmaster World. :)
9:42 pm on Nov 23, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 22, 2005
posts:388
votes: 0


Thanks for the welcome. Is there better way than PHP to do this?
3:11 pm on Nov 24, 2005 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12555
votes: 3


You can do it with any server-side processing tool of choice. You just happened to ask in the PHP Forum ;)

PHP makes it quite easy actually. You read the file, output the value to a textarea, do any edit-checking or security checks you want, and write the file back out. Give it a whirl, if you get stuck on anything there are plenty of folks here that will offer assistance while you learn.

4:04 pm on Nov 24, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 22, 2005
posts:388
votes: 0


I'll give it a whirl at work tomorrow and update on the progress, thanks!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members