Jump to content

Editing Files


azaonline

Recommended Posts

Hi All,

 

im new to using php, and with help from a few friends im starting to pick it up :) what im trying to do is create a page that is able to read lines and values from a ini file and modfy them using pull down menus and text boxes. is this possable to do with php or do i need cgi?

 

Aaron

Link to comment
Share on other sites

Any particular reason why you'd be using .ini files for this?

 

Also, yes, you can use PHP to write to files using something like a series dropdowns. In my opinion that's kind of clumsy and definitely want something like that limited by implementation of a user/account system.

Link to comment
Share on other sites

Not for this specifically....I doubt it. But to do something like that would require only a basic to intermediate understanding of PHP and HTML. You'll want to look into fopen() and fwrite() and understand how paths work, relative to where you are on the server. Knowing that, you should be able to write your code with no problem.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.