I am new in PHP and want to develop one single file in PHP API which edit all my js file,css file and html file at single window without login into webhost.Simple I just surf that one link and get edit those file and automatically save on those which I done changes.
Every js should be in different section,similarly for css in one single page.It should also compatible with mobile so I can use in all screen resolution.
Be careful!!! if u r making such text editor which supports PHP,JS,CSS & HTML using PHP that it will be as Online tool, it may create some security issue, if someone get access to this editor it can be dangerous. But if you don’t allow anyone to edit any php file present in your server or even dont allow to use any php function.
And if you concern only about syntax of PHP,JS,CSS just to check & let user know about this than you need to write a lexical parser which will analyze the code with the syntax database for that language.
Due to this Security issue only there are client-side applications like Eclipse,Netbeans,Notepad++ like editors. So just think of this concern also. it should not harm u.