When you run PHP in a web server, "\n" and "\r\n" will not do anything (it literally just separates the code into different line breaks). <br> makes a new line in HTML (hence "line BReak"). Since you are viewing the PHP in a web browser, it parses the code in HTML. Therefore, "<br>" will make new lines, whereas "\r\n" will not do anything.
Internet Explorer: The Browser You Love to Hate
Microsoft has developed a penchant for self-mockery when it comes to the company’s much-maligned Internet Explorer web browser. Microsoft previously put up a website dedicated to eradicating IE6 from the web, and now it’s promoting IE9 by mocking its predecessors.
Continue reading “Internet Explorer: The Browser You Love to Hate”
Adding DNS entries with command line on Windows
If you are lazy (as we are) or you don’t want to waste all your time adding DNS entries manually, you can use dnscmd via command line on Windows. It’s a nice way to put a large entries from a file or something that needs further configuration.
Continue reading “Adding DNS entries with command line on Windows”
Installing Xvfb on Ubuntu 9.10
Today I spent several hours wrestling with Xvfb on a fresh new Ubuntu 9.10 (Karmic Koala) installation. The initial stages of the install are very promising, simply running:
imgAreaSelect
CutyCapt
CutyCapt
CutyCapt is a small cross-platform command-line utility to capture WebKit’s rendering of a web page into a variety of vector and bitmap formats, including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP. See IECapt for a similar tool based on Internet Explorer.