Skip to content

Month: October 2008

BlackBird – JavaScript logging tool

If you ever created a script with JS, you probably know how painful logging messages with alert() function is. Not only you can see one message at the time but also you need to click OK button to go further. I think this is the reason why Scott Olson created BlackBird project. As you can see on the screenshoot, this project is not only useful but also looks great.

In this post i want to briefly review this utility and then show you how to use it, so if you are not interested in the review you can just skip ext part. Continue reading BlackBird – JavaScript logging tool

Zend Studio Eclipse Project

I was never a big fan of commercial software. It all changed when i started my first job and saw ZendStudio 5.5. I was amazed by it. I had no idea that IDE can make so much difference in PHP programming and i was not even using 50% of features that this software offers to the programmer. When i heard that Zend Studio 6 will be based on PDT a plugin for Eclipse IDE i was interested in the outcome. The results are well … read further to find out. Continue reading Zend Studio Eclipse Project

PHP redirect header location

Ok finally i managed to write a new article after about a month ( actually i do not even want to think when i wrote last good article for you). Anyway today short article on using headers to redirect vistors to other pages on your site or external site.

To do this you need only one function
header($header, $replace, $http_response_code);

First argument $header is a header itself. We want to use header to redirect visitors so in our case we will use something like “Location: URL” where URL is obviously an url of a page to which you want to redirect visitor. It can be full url ( or relative URL (pages/page.html) Continue reading PHP redirect header location