FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Editing Scripts Online





BillysProgrammer
I was wondering how you would make a program to edit scripts on a site. So like, I have index.php, and I go to this page, choose the file, and then I can edit it online instead of from DW or notepad.
sonam
I am not sure am I good understand your question. If you mean to edit php script I think this is not at possible because PHP scripts are server side and DW always download the file. If you don't want dowload/upload file then you can edit it thru cPanel or Direct Admin.

Sonam
BillysProgrammer
Ya, thats what I mean. Like make a page like in the Control Panel to edit the scripts.
BillysProgrammer
Here, a bit more thorough.

You know how blog websites you can make a page, then if you want to edit it, you can go to the page to edit it, in a sense, I want to do the exact same thing, but I dont know how.
jmraker
You's need a program that loads the file, converts it into html entities, and dumps it into a <textarea> tag. (with the name of the file in another field)

The program saves it by overwriting the file, or renaming/backing the old file

You will need to need to make sure the program can edit the files by making sure they're owned by the right user or have a chmod that allows writing by the web server.
BillysProgrammer
OK, then what kind of program can do that, do you know? Or, maybe how it would be possible?
rvec
http://www.fckeditor.net/
http://tinymce.moxiecode.com/
http://www.openwebware.com/
http://www.htmlarea.com/

good luck
BillysProgrammer
Hey, thanks a lot. I appreciate it man Very Happy (Im donating Frih$ to u)
sonam
rvec wrote:
http://www.fckeditor.net/
http://tinymce.moxiecode.com/
http://www.openwebware.com/
http://www.htmlarea.com/

good luck


Did you try any of this programs, and if yes, what is your experience?

Sonam
rvec
I tried the first two, and it's exactly what you get when you try the demo on their site. Not really much difference between them, and at least one of them supports plugins (forgot which one).
sonam
Thank rvec, I will try it.

Sonam
Related topics
[ java scripts ] email service
[java scripts] Text effect , img ....
How To : Improve Your PHP Programming
751 Useful Windows XP Files
Carl's Start-to-Finish Professional Website Tutorial
"Forms To Go" create scripts in PHP, ASP and Perl
Why people hate Windows?
Editing files online
Install Joomla...Okay?
Site map Creation Tool
Its-All-Country
Pixlr Online Image Editing
Hello World!
Repetitive Events Without Cron Jobs
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.