Jump to content

Recommended Posts

Ok here is the deal. I am trying to make a in site style editor so that people without ftp can edit/create styles without having to proxy through someone with ftp access. I can do this just fine by making the whole file editable in a text area but I was hoping to find a way to say get information into a variable line by line so that I can make a complete form for this with backround color, font color ect each in its own field. That part I can manage just fine its getting the contents of my css file by line I cant figure out.

 

Idealy I would like to have it something like this $file[1] = line 1, $file[2] = line 2 ect.

 

If you know of a way to do this please fill me in or point me to a link where I can get the info.

 

Thanks John

Link to comment
https://forums.phpfreaks.com/topic/159192-solved-file-editing/
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.