newbie01.php Posted October 21, 2009 Share Posted October 21, 2009 Hi all, Am very, very, very new to PHP and not sure if I should be posting this to a Javascript or PHP forum so I posed the question on both FORUM. Basically, I am looking for something like an INI editor of sort that I can use to let users modify delimited files which are in actual fact my INI file for my scripts on a UNIX box: Below is an example of what the delimited file may look like: Servername:OS:IPAddress:TypeofServer:Description: SERVER01:AIX:1.2.3.1:PROD:Online Server: SERVER02:Solaris:1.2.3.2:DEV:Online Dev Server: SERVER03:Linux:1.2.3.3:TEST:Online Test Server: SERVER04:Windows:1.2.3.4:PROD:Timesheet PROD Server: SERVER05:HP:1.2.3.5:PROD:Candidate PROD Server: I want to be able to provide the user with the list of directory on the server, and when they click on one of the files on the directory listing, it should allow them to load the file in some kind of form based web page and then they can make the changes and save the file. At the moment, users are going to the server and modifying the file manually via UNIX's vi and it is very prone to errors. Does anyone have an example of what I am wanting to do? Any suggestion will be very much appreciated. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Mchl Posted October 21, 2009 Share Posted October 21, 2009 So you decided to start with breaking the rules In most basic form you need an HTML form with textarea and a php script to load file contents into it and save it when done. Quote Link to comment Share on other sites More sharing options...
newbie01.php Posted October 27, 2009 Author Share Posted October 27, 2009 Hi, Thanks for your response ... I'll look into your TEXTAREA suggestion ... Darn, had I broken a rule ... hu hu hu ... sorry ... :-\ ... Anyway, thought it may be a breeze if I post and Google at the same time Quote Link to comment Share on other sites More sharing options...
Mchl Posted October 27, 2009 Share Posted October 27, 2009 I was refering to this: so I posed the question on both FORUM. but it seems that ultimately you decided not to double post Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.