Online PHP/HTML/JS/CSS editor

3.4k views Asked by At

is there any free php code that, once installed, allows you to browse and edit files (with html, javascript, php and css highlight) on the server where it's installed? The aim is to code online, browser based. I've tried http://phpanywhere.net/ that can make this possible, but it is buggy and moreover it requires an external (ftp) access to your server that is quite different (and less secure) that working directly on the server.

Thanks in advance

3

There are 3 answers

1
thomasrutter On

There are a couple of reasons that this kind of thing might be a bad idea.

  • Security. It would be very hard to make this sort of thing secure.
  • Utility. A text editor on the web is likely to be about as useful as MS Notepad. It doesn't have the functionality of a good text editor. It'll also make it harder to do things like source control etc.

That said, I've seen it done before. For instance cPanel does it. Maybe you could look into some free cPanel alternatives like ISPConfig or EHCP. But I would be very wary of using something from someone you don't trust, for security reasons. Note that there are a lot of security problems that aren't solved by putting something behind SSL.

0
Brian Lacy On

I just found PHPAnywhere: http://phpanywhere.net/

It looks pretty impressive, I'll probably check it out myself. You may want to investigate ECCO: http://ecco.sourceforge.net/ -- The benefit here of course being that it's open source and downloadable, which unless I'm reading too much into your question, is really what you're wanting. Apparently it's in Alpha status, but the screenshots suggest it's at least moderately functional.

My search also turned up Mozilla Labs' Bespin, an online HTML editor, but so far I don't really, um, get it.

0
seymar On

I'm working on a service like this, still work in progress But I want to achieve a better then phpanywhere service :) Site is Devcube.nl