views:

235

answers:

2

Hi to all,

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

+1  A: 

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.

thomasrutter
well, i must say that a control panel is a bit overkill given that what i'd like is simply a file manager (create, delete, rename, list) with a syntax-highlight text editor...
pistacchio
+1  A: 

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.

Brian Lacy