Batosi Posted May 22, 2009 Share Posted May 22, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/159192-solved-file-editing/ Share on other sites More sharing options...
.josh Posted May 22, 2009 Share Posted May 22, 2009 file Quote Link to comment https://forums.phpfreaks.com/topic/159192-solved-file-editing/#findComment-839546 Share on other sites More sharing options...
Batosi Posted May 22, 2009 Author Share Posted May 22, 2009 I feel like such I noob >.> I have been searching php.net all night about this looking mainly through functions associated with fopen() and I havent found anything x.x Thanks Quote Link to comment https://forums.phpfreaks.com/topic/159192-solved-file-editing/#findComment-839553 Share on other sites More sharing options...
.josh Posted May 22, 2009 Share Posted May 22, 2009 Not trying to rub salt in the wound, but the "See Also" section of fopen does list file... Quote Link to comment https://forums.phpfreaks.com/topic/159192-solved-file-editing/#findComment-839556 Share on other sites More sharing options...
Batosi Posted May 22, 2009 Author Share Posted May 22, 2009 I feel like even more of a noob in that case x.x Guess I was rushing around a bit in my search Quote Link to comment https://forums.phpfreaks.com/topic/159192-solved-file-editing/#findComment-839590 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.