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.

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.

71 Like 10 Dislike
Previous php-forum Next php-forum
Other php-forum

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

IIS7 and getimagesize() problem
I have just discovered after hrs of trying to fix a problem where it's coming from. It's to do with

How to calculate days from variable date?
This will be easy for one of you gurus. I want to fetch the date from a variable date, for example:<

for loop without same $i digits?
Hi,

Can some guru please advise how can I accomplish this with a simple for loop ?

I

storing video files into mysql in php
hi

i have my video files in my folder ,
i have to store the path of the videos into db an

Referential Integrity problem when inserting into 2 tables at same time
Hello Everyone,

Im relativity new to PHP and MySQL and i have come up against a problem. i h

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and th

how to remove in php string display
My code is

$message="We're looking at developing our website.";

$body= "

Sequre login with cookies.
I want to build secure login with cookies. I just want your ideas about this, your suggestions. What

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