Archive for February, 2009

A simple Java FTP connection + file download and upload

The Java or JDK comes with NO support of any official API for FTP connection. But there is an internal that comes in the sun.net package, but this is NOT well-documented, and you will hardly find how to use other methods within the sun.net.ftp.FtpClient class.

Continue reading ‘A simple Java FTP connection + file download and upload’

Gmail strips CSS of HTML email, you must use inline CSS for GMail

Wonder why the HTML based email sent out by your PHP script will NOT display properly in GMail? GMail will strip all the CSS that is included in between the <style></style> tag pair (internal stylesheet) or the external style sheet included, such as
<link rel=”stylesheet” type=”text/css” href=”http://mycss.com/my.css” />.

Continue reading ‘Gmail strips CSS of HTML email, you must use inline CSS for GMail’

Ajax, DHTML, CSS apps development tools to come to mobile phones

It’s definitely exciting to know that mobile phone applications can be developed using the languages that an Ajax or Javascript developer has been familiar with. The mobile phone industry has been having a number of makers starting creating OSes or platform that allows the development of mobile applications using DHTML, JavaScript, CSS and Ajax etc.

Continue reading ‘Ajax, DHTML, CSS apps development tools to come to mobile phones’