tutorial

Moving a website for USD299.

Moving a website from one host to another is suppose to be a simple task to some advanced webmaster and web designer. But it could be a nightmare to layman on the street.  Those jargon like FTP, cpanel login, email accounts, scripts, files, database and etc are already make one crazy.

Most web hosting companies usually doesn’t help their customer moving their website for FREE, but some does for a fee and limited to simple websites.

This morning, I come across this website http://www.websitemovers.com, they offer moving website at a fee from USD299. They will do all the jobs for you, you only have to provide server details and login and they will do the rest.

Of course, for more complicated server with ecommerce, SSL, multiple sub domain and databases may cost a little more, contact them for a quotation.

Not going to pay $299 ? Why not try DIY, http://www.top10webhosting.com/content/guide-to-move-your-website-to-a-new-host-part-1-of-3/

PHP Smtp email checking.

While you can check syntax of an email address (valid format) but can’t validate the existence of an email address without checking with the email domain name.

The PHP class encapsulates the SMTP transation between the remote domain, as well as the DNS lookup for the Mail Transfer Agent (MTA) responsible for that domain.

The class can take a number of email addresses, and return whether they are valid or not. It will group together emails with the same domain, and create a single SMTP connection to the MTA for those emails for efficiency.

Example usage

// include SMTP Email Validation Class
require_once('smtp_validateEmail.class.php');

// the email to validate
$email = 'user@example.com';
// an optional sender
$sender = 'user@mydomain.com';
// instantiate the class
$SMTP_Validator = new SMTP_validateEmail();
// turn on debugging if you want to view the SMTP transaction
$SMTP_Validator->debug = true;
// do the validation
$results = $SMTP_Validator->validate(array($email), $sender);
// view results
echo $email.' is '.($results[$email] ? 'valid' : 'invalid')."\n";

// send email? 
if ($results[$email]) {
  //mail($email, 'Confirm Email', 'Please reply to this email to confirm', 'From:'.$sender."\r\n"); // send email
} else {
  echo 'The email addresses you entered is not valid';
}

Reference : http://code.google.com/p/php-smtp-email-validation/

Difference between Linux and Windows hosting.

Windows hosting is more expensive, less dependable, less well supported, and less capable than Linux. Unless you are running applications (such as ASP or .Net, or use MSSQL) that absolutely require a Windows server and/or database, stick with Linux.

Note that some Windows services (e.g., ASP) may be available on a Linux server for extra cost (work-alikes such as Chilisoft). If you’re going to pay extra for something like that, you might want to go ahead and go 100% Windows, just so there’s no question about compatibility.

Windows and Linux often use two different web server applications. Windows sites use the Windows IIS server, while nearly all Linux sites use Apache.

Linux sites focus on PHP, Perl and other open-source script languages for server side scripting. Windows-based sites use ,NET and ASP technologies. They might also offer support for PHP.

Linux sites offer MySQL as the database for backend content storage. Windows sites will probably offer SQL Server, though some offer the Windows versions of MySQL as well.

There shouldn’t be any difference between the two if you use strict web standards in your HTML. However, you need to be aware of the fact that, since Dreamweaver is a Windows-only product, it may insert some non-standard things into your HTML. Frontpage also does this.

Next »