All entries of my technical and business blog
No More "The Triangle"
Prototype JS - form elements need names, not just IDs
So, I got stuck on this bug for an hour - so I thought I’d write it down.
Finally - PHP has NoIndex on phpinfo output
A big issue with PHP security had been the developers creating a php info page and not removing it from a production site. As you may know, phpinfo() will dump a ton of useful information (for the developer - as well as the cracker) to the screen:
PHP Script Configuration Class with Logic built in
Sometimes we have static configuration options, such as the name of the company or the location of a particular partner’s website. Other times, there are more dynamic configuration options - such as the current location’s URL or database connection credentials.
PHP Script Configuration Options - Class Constants or MySQL
I’m trying to figure out the best way to do configuration options for my newest PHP scripts that I’m working on. My requirements are simple:
Dig for Windows
For those of us who develop on windows, we can sometimes feel linux tool envy. One particular tool is the dig command. Well, luckily, you can get this to run on windows easily:
PHP application plugins - force the interface
The other day I was experimenting with some PHP plugin scripts and trying to develop my own robust plugin system. I started thinking: how can I guarantee that a 3rd party developer sticks to my plugin standards?
XDebug and Eclipse PDT on Windows - From Start to Finish
XDebug and Eclipse PDT on Windows - From Start to Finish
XDebug's settings reminded me - no output to the browser if sending headers
So, I admit it - I’ve become lazy. Well, in all fairness, the programmer before me at “the triangle” was also lazy. And after messing with XDebug and setting output_buffering to off and implicit flush to on… I was reminded of our laziness.