Hello Friends !! TOday I found that how PHP mail() function works with SMTP.
Actually when your site is hosted on windows server, then there is SMTP used for sending mail. With simple mail() function ,you can’t send mail in SMTP.
You have to authenticate PHP and SMTP. In short, I explain you that how to send PHP mail using SMTP ?
For sending mail in PHP using SMTP, first of all you have to download phpMailer. phpMailer is a class which used to send mails using SMTP. Continue reading »
Hello friends !! Few days ago, I faced a URL rewriting problem on windows server. After checking the server configuration, I found that there is an II7 installed. After long research about this, I found that II7 is not support .HTACCESS. If youwant to male your site SEO URL friendly, then you have to use web.config file for URL rewriting instead of .HTACCESS. Now the question is how to make web.config file from .HTACCESS ?
IIS 7 uses a file called Web.config to hold settings for integration with applications. The Web.config file contains information that control module loading, security configuration, session state configuration, and application language and compilation settings. Web.config files can also contain application-specific items such as database connection strings.
Today in this post, I will explain you how to make it ? This post contains most common uses of the .htaccess file by PHP applications, and shows how to use the Web.config file for these same functions in IIS.
Now First Here are the sample files of .HTACCESS and Web.config.
Continue reading »