How to Open & Edit file in List Content of Directory.

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

phporbhb
New php-forum User
New php-forum User
Posts: 1
Joined: Sat Dec 07, 2013 2:32 am

How to Open & Edit file in List Content of Directory.

Postby phporbhb » Sat Dec 07, 2013 4:50 am

Hello Everyone, I’m having a page php have function list content of directory in computer such as c:/folder after that I can open, write and save any file I want in list file. Now I have complete to list content of directory, now I want to click any file in list file of derectory to open in a textarea under list content of drictory to view and edit file, then I have a button submit to save it. I don’t know how to do it so please fix my code I give under introduce me some example demo code or document to reference. Please help me. Thank very much.
Here is my code:
https://www.mediafire.com/?19123qkmgmf7toj
Example picture about page equivalent and similar:
In this picture it have list file.
[img]http://i1095.photobucket.com/albums/i472/OLAKEN91/f1_zpsd8327c90.jpg[\img]
Now we can click to open 1 file such as “extensions.conf” to read, write and save it by button submit (update)
[img]http://i1095.photobucket.com/albums/i472/OLAKEN91/f2_zpsf48caae7.jpg[\img]

Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests