Editing file from web

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.

Editing file from web

Postby azfar » Fri Dec 23, 2005 2:58 pm

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
azfar
Captain
 
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
WLM: azfarhashmi@hotmail.com
Yahoo Messenger: azfarhusain@yahoo.com
Location: Karachi

Postby talhabinrizwan » Fri Dec 23, 2005 3:07 pm

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
talhabinrizwan
Cadet
 
Posts: 3
Joined: Fri Dec 23, 2005 2:48 pm
Location: Islamabad

Re: Editing file from web

Postby syedali999 » Sat Dec 24, 2005 12:42 am

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.
syedali999
Battalion Havaldaar Major
 
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Website: http://www.wol.net.pk
WLM: alirizvi@khi.wol.net.pk
Location: Karachi

Re:

Postby LinuxFreaK » Sat Dec 24, 2005 8:59 am

Dear azfar,
Salam,

What about Webmin :)

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Re: Editing file from web

Postby Kdaemon » Sat Dec 24, 2005 11:06 am

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
Kdaemon
Naib Subedar
 
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Re: Editing file from web

Postby LinuxFreaK » Sat Dec 24, 2005 3:50 pm

Dear Kdaemon,
Salam,

Kdaemon wrote:LinuxFreaK: let's pray he aslo wants configuration & control of other services : )


Hoping ....

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby azfar » Tue Dec 27, 2005 12:52 pm

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
azfar
Captain
 
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
WLM: azfarhashmi@hotmail.com
Yahoo Messenger: azfarhusain@yahoo.com
Location: Karachi


Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron