Archive for April, 2010

A few points to be considered before starting a website.

Monday, April 5, 2010 8:35 No Comments

I think a few points must be considered before starting a website.

This was posted under category: Altmint Tags: ,

How to connect to FTP and upload file using php code?

Saturday, April 3, 2010 3:15 1 Comment

How to connect to FTP and upload file using php code? The following code will connect to the ftp and upload the file to the server using php code <?php $ftp_server=”HOST NAME”; $ftp_user_name=”USER NAME”; $ftp_user_pass=”PASSWORD”; $conn_id = ftp_connect($ftp_server); // login with username and password $login_result = ftp_login($conn_id, “$ftp_user_name”, “$ftp_user_pass”); if ((!$conn_id) || (!$login_result)) { echo Continue Reading »

This was posted under category: PHP Tags: ,

HTML color codes and Names

Friday, April 2, 2010 0:58 No Comments

About color codes and how to apply Color Name will not work in all browsers. so for that we will use html color codes to represent the colors red,green,blue. These are basic colors for creating any no of colors. Here is short list of color names with respective color codes. Major hexadecimal color codes Color Continue Reading »

This was posted under category: Css Tags: , , ,

Javascript Explode

Friday, April 2, 2010 0:32 No Comments

What is the equivalent function for php explode in Javascript? There is no explode function in java script.but we can handle the explode functionality by writing some custom functions. here is a simple java script  code for you. If you Run the following code explode(‘. ‘, ‘blog.altmint.com); It Could return 1.{0: ‘blog’, 1: ‘altmint’, 2: Continue Reading »

This was posted under category: JavaScript Tags: , ,