Editing file from web

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Editing file from web

Post by azfar »

Guys i need a php script to edit my conf files from web like i do by VI editor from console. Any links ???
Azfar Hashmi
Email : azfarhashmi@hotmail.com
talhabinrizwan
Cadet
Posts: 3
Joined: Fri Dec 23, 2005 2:48 pm
Location: Islamabad

Post by talhabinrizwan »

Hi,
PBedit is a free online editor which can help you to edit files on a remote webserver without downloading the files first. You can specify your configuration files in the script configuration and those files will be displayed in the file selection menu. There you can choose one to edit. The editor can also make backups. I haven't used it yet, but you can try it.

Here is the link to this scirpt:
http://coding.phpground.net/download-file-1044.html
syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

Re: Editing file from web

Post by syedali999 »

azfar wrote:Guys i need a php script to edit my conf files from web like i do by VI editor from console. Any links ???
hi talhabin rizwan
he is not asking how to edit files remotely.
he is asking for something like auto editing script written in php which can edit files accordingly his user wants.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear azfar,
Salam,

What about Webmin :)

Best Regards.
Farrukh Ahmed
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Re: Editing file from web

Post by Kdaemon »

syedali999 wrote:
azfar wrote:Guys i need a php script to edit my conf files from web like i do by VI editor from console. Any links ???
hi talhabin rizwan
he is not asking how to edit files remotely.
he is asking for something like auto editing script written in php which can edit files accordingly his user wants.
no, I think you mis-understood it,
He wants to edit files online and click save to save the changes!

PBedit might be helpfull

LinuxFreaK: let's pray he aslo wants configuration & control of other services : )
reg linux user #298274
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: Editing file from web

Post by LinuxFreaK »

Dear Kdaemon,
Salam,
Kdaemon wrote:LinuxFreaK: let's pray he aslo wants configuration & control of other services : )
Hoping ....

Best Regards.
Farrukh Ahmed
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Post by azfar »

Thnx all for helping me. Actualy I want to edit a single file only from web. I tried webmin file system module but it crashed my system. I think webmin still have few issues. So i decided to search for simple web script which i think will more secure then webmin.
Azfar Hashmi
Email : azfarhashmi@hotmail.com
Post Reply