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.

No comments posted yet

Your Answer:

Login to answer
71 Like 10 Dislike
Previous forums Next forums
Other forums

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

PHP Game
hy i was wondering what's the best method in order to make some automatic updates in a php game
<

Problem with PHP code- simple contact form
Hi Folks,
I'm relativily new to PHP; I know HTML and CSS stuff but I have a problem- I have a co

Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I

utl_file open error
i have file in the unix path

Path /popdev01/pop/popdevb/tfi/

File name

b+ tree
Hi
can every body help me about b+ tree ?(insert & delete)

animation progress while uploading files?
Hello, i have some website form to upload few files to server. i want to put some gif animation whi

button.click += new eventhandler() not works in if(!ispostback)
i want to use button.clcik event in function VIewScrap() which is called in if(!ispostback) but itdo

Convert .fdf to .pdf
I currently have a web form that uploads the form data to an .fdf file and emails it.

However

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

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