Ever wondered how to query the url of the page you are on?
Get The current page url you are on
In a php tag
echo ‘http://’.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
Firebug for all browsers
I have met many developers that use the handy little tool Firebug, but unfortunately its only for FireFox.
Due to a high demand, the people over at Firebug have created Firebug lite, a nifty little pice of code you simply insert into pages and will allow you to have some Firebug functionality in different browsers.
I have tested it out in various browsers, even though its a bit more difficult to use than its FireFox counterpart, it is still a great aid for developers
- IE7
- IE6
- Safari
- Opera
- Google Chrome
Great IE6 Tricks
I stumboled upon this site the other day, it tought me some great tips for those of you that need to optimise for IE6.
HTML Element Placing
A little thing I found out when validating my code on WC3.
Elements such as p cannot be used inside inline elements h2, instead use font or span.
- <incorrect><h2><p>Hello</p></h2>
- <correct><h2><span>Hello</span></h2>
Securing your Wiki
To change the access levels of existing groups or add new groups, you need to have shell/ftp access to the machine that MediaWiki is running on. You can add or remove permissions to a group with the following sample statements in LocalSettings.php.
Blue dots of death
Have you ever made a site only to be plagued by those blue dots in FireFox when you click an image link? Well I did some research and found this solution. Read more
IE6 Resolution Hints
II was busy developing a site for a client which needs to be optimised for the screen resolution of 800 x 600 px, like every developer i have two screens. One is running 1152 x 864 px and the other i set to 800 x 600 px for testing the site. I have a small section of Javascript to call a style sheet for this resolution, and its not working, read on to find the solution.
Read more

