PHP Sendmail Setup with SMTP IIS and Windows Servers (Also XAMPP Windows)

iis php sendmail

Did you have problems setting up PHP on a Windows server which is running IIS and also running an SMTP server inside IIS? Have you faced problems sending mail from PHP scripts running on IIS server with IIS SMTP engine? By default, IIS doesn’t allow relaying SMTP emails if it comes from 3rd party products. So this problem is related to IIS SMTP “Relay Restrictions”. Sometimes some of my clients are using PHP on windows servers using IIS 6 as the web server. In linux PHP supports native sendmail system from the OS itself. But in windows, you need to tweak your way to make PHP able to send out mail from localhost. If you are a .Net developer, you might already know that from ASP.Net codes or even Classic Asp code it’s just as simple as 1,2,3 to send out email or use the IIS local SMTP server. Let me make it simple for you so that you guys can make use of the localhost server from PHP.

There is more information at the end of the article about using XAMPP Sendmail in Windows.

Read morePHP Sendmail Setup with SMTP IIS and Windows Servers (Also XAMPP Windows)

Speed up your System – IObit SmartDefrag 5.00 Beta

IOBIT SmartDefrag

It’s hard to find a really working solution for hard disk fragmentation issue and needless to say day by day the hard disk sizes are growing along with more and more files. Recently I’ve found IObit SmartDefrag which is fast enough to defrag your huge hard disk in no time. It has a feature of set and forget it configuration which is really convenient for both office and home users. It has most of the features you can find in any commercial software. 

Features of this powerful, award-winning defragmenter program include:

  • An “Install It and Forget It” feature that works automatically and quietly in the background on your computer.
  • The ability to constantly keep your hard drive safe, error-free and running at its top speed and optimum performance.
  • Eliminates slow downs, freeze-ups and crashes.
  • IObit SmartDegrag is 100% FREE award-winning software that’s for personal, home and small business.
  • 100% safe from any spyware, adware and virus.
  • Designed for Windows Vista, XP, and 2000.
  • Distribute it freely, copy it, sell it or include it as part of a package – as long as it is left completely intact and unchanged.

Read moreSpeed up your System – IObit SmartDefrag 5.00 Beta

Sata and IDE Drives Issues

sata-ide_lg
I’ve got a new motherboard for my computer recently. It’s a Gigabyte GA-965G DS3 series motherboard which comes with 4 sata II ports and 2 onboard sata II ports which provides 3GB/s specifications. Well I’ve gone through a number of troubles migrating to my new sata II drive. My previous drive is a IDE ATA Seagate 160GB drive which has 5 separate partitions and loaded with Windows XP and another partition is loaded with Vista ultimate. So as I got my new sata drive which is a 320GB sata II drive, I decided to put it as my first drive ( Disk 0 ) and the other IDE channel is assigned to disk 4. Both were master drives and mother preferences were set to give the main priority at the sata drive for booting. Anyway I did a cloning using Acronis True Image and cloned the whole drive into the new 320GB drive. After that I found out that the IDE drive is still booting and the 320GB sata drive is setting itself as second preference. So I dig out information regarding this and found out the facts lies beneath.. Here is some of the facts :

Read moreSata and IDE Drives Issues

Hosts file configuration – Windows, Linux and Mac

hosts_file

The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS. This prevents access to the listed sites by redirecting any connection attempts back to the local machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, providing the entry exists. It’s a general practice of web developers to test any site locally by emulating the original web address pointing to a local or development server by modifying the hosts file. Here is a brief explanation on how to set it up properly.

Common Locations:

The host file is located in different locations in different operating systems and even in different Windows versions:

  • Windows NT/2000/XP/Vista: %SystemRoot%system32driversetc is the default location, which may be changed. The actual directory is determined by the Registry key HKLMSYSTEMCurrentControlSetServicesTcpipParametersDataBasePath.
  • Windows 95/98/Me: %WinDir%
  • Linux and other Unix-like operating systems: /etc
  • Mac OS 9 and earlier: System Folder: Preferences or System folder (format of the file may vary from Windows and Linux counterparts)
  • Mac OS X: /private/etc (uses BSD-style Hosts file)
  • OS/2 and eComStation: "bootdrive":mptnetc

Setting it up:

Read moreHosts file configuration – Windows, Linux and Mac

Get back the control of your registry from Trojans

windowsFew days before i was copying some files from my friends SONY M2 memory card and bam i've been hit by a Trojan, it was silently sitting on the memory card. the file name is Flash.exe and it creates a autorun.inf file in your memory card and any usb disk you put into your computer will be infected by it. It keeps running on the memory and it will disable your Task Manager, Command Prompt and Registry Editor. Well these are the tools you need to use to get rid of the trojan virus. I've cleaned my system with Kaspersky Antivirus Pro 7 and still i was not able to use command prompt or regedit. Here are the things you need to do after cleaning the Trojan Virus.

Read moreGet back the control of your registry from Trojans