I've written quite a bit of early php code, but nothing really web and database-specific (more like administrative and maintenance stuff for LINUX), but now I need to develop some serious web applications. Since I wanted to be portable, I installed Apache, MySQL and PHP5 on one of my Windows XP laptops.
I'm having problems: First, I can't find a REALLY good editor for php on Windows. If anyone out here knows of a really good editor I would be extremely grateful.
Here's what I've tried so far: The best I've found so far is Komodo, but the debugging system is a little complicated since I can't launch an .html form from the ide and watch the whole process of passing data to the .php form.
I've been using DZSoft PHP Editor, which runs it's own webserver and includes an older version of Mozilla, but sometimes scripts that give me errors in DPE will run fine in my external browsers, and sometimes scripts which fail in DPE run fine in my external editors. Furthermore, I get error messages in DPE that aren't associated with any values in the debugging windows, so I can't actually follow the process.
PHPCoder really sucks. PHP Designer and HTMLGate are really nice programs although PHP Designer is a little too crowded for me, Notepad++ seems ok on the interface, and Coffee Cup didn't offer any improvements over the rest because it's mostly an html editor. The biggest drawback of all of these programs is that I can't actually launch a webpage for analyzing php, I can only launch an html view. (file:///... as opposed to http://localhost/... )
It frustrates me no end that a script that runs one day will not run another, and I can't track down what's going on. Does anyone know of any utilities that will allow me to step through my HTML pages and see the results? (Actually, if I can find my old laptop, I think I had Visual Interdev on it, but I can't remember if it stepped the html code or just the scripts.) There apparently was a product called Avotova Web Code Analyzer which sounds like what I am looking for, but the website is gone and I can't seem to find an archive with the product.
One of my current problems is a form that doesn't seem to be posting data, although other forms work just fine. I can't tell if something changed in my configuration or not, but it's probably a simple syntax error or typo since those are the usual source of my programming errors. (I've been a programmer on and off for 40 years, and I bet I've made millions of those kind of errors!) If I could parse the html page and see the output without having to rebuild it each time I took another step, it would be a real time-saver.
Thank you all for your help. Incidentally, I've read a number of posts before subscribng to this forum, and the quality of co-operation is outstanding!
Mike