Something like an INI editor or a DelimitedText-Editor


Posted on 16th Feb 2014 07:03 pm by admin

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.

Did you know?Explore Trending and Topic pages for more stories like this.
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
No comments posted yet

Your Answer:

Login to answer
289 Like 21 Dislike
Previous forums Next forums
Other forums

Best way to cross matching large datasets
Hi,

Im running a script where am I cross matching about 200 000 data sets with each other. Ea

Creating a unique 'control panel' for each user
Hi there,

I'm thinking of designing a site that will allow users to sign up and have their ow

Hashing?
Hi, I was hoping to take a string value then convert it - consistently - across each of our pages in

php - xml what is the best way to do this.
IN essence I want to have a script calling the info from the database.. I have no problem thus far,

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

[newb] Image hosting help.
Hey there, I'm new to php, I know some basics and i can code PWN, I'm only 14 but I'm interested in

Extract text from string
Hi folks,

I have a string that looks like this:

aaaaaaaaaa:
bbbbbbbbbb (ccccccccc)

How to search for several parameters from objects in a database?
I have a database with lots of information about objects.
Now I would like to search for 4 or 5 p

str_replace help
Hey there,

I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean

Polymorphism
Was wondering if someone could explain this a little better to me. I had always assumed that it had

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash