Escaping special characters in JavaScript

JavaScript has some inbuilt functions for escaping special characters. The most common one and the one that is available in all versions from 1.0 upwards is escape().

Here are some related links to pages explaining special character replacement in greater details:

Rounded Corners

Here are a few great concepts of creating boxes with rounded corners with CSS only:

Pure CSS:

Other Solutions:

Well designed shopping cart

http://www.cooper.com/about/case_studies/hp_shopping.html

Jonathan Snook’s approach to web design

http://snook.ca/archives/design/how_i_design/

Related info:
http://www.7nights.com/asterisk/archive/2005/04/page-description-diagrams

BT’s internet speed tester

BT has its own internet speed tester. But you need to be on BT MaxDSL service before using this tester. You can check what service you are one by contacting your ISP.

http://www.speedtester.bt.com/

here is how to use it: http://www.plus.net/support/broadband/troubleshooting/bt_speed_tester.shtml

Another interesting option available to everyone:
http://www.thinkbroadband.com/speedtest

Creating emails with attachments in PHP

Yesterday I was trying to create form that would upload a file to the server. PHP script would then accept it and send it as an attachment to an email address. In order to attach a file I had to add multipart/mixed type headers. Upload worked just fine, but making multipart email to work was a bit of a trouble. Email would be successfuly sent and received but no content or attachment would appear in an email client (I use Opera’s inbuilt client). I looked at headers and everything was there: message, base64 encoded data but still nothing was showing in the email body. Read the rest of this entry »

Recommended DTDs to use in your Web document

http://www.w3.org/QA/2002/04/valid-dtd-list.html

Uploading files to the server (php)

Simple upload handing script.

Note: ths script does not cover security issues

http://www.tizag.com/phpT/fileupload.php

Powered by ScribeFire.

Sending MIME e-mail in PHP

An excellent article consisting of 5 parts. It explains in very readerfriendly format what is and how to use MIME types for creation of emails using php. The article explains content types, attachments and finaly presents a php class for creation of multipart emails. Read the rest of this entry »