What is PHP_EOL in PHP?

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.

Continue reading “What is PHP_EOL in PHP?”

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”