RSS

Archive | PHP RSS feed for this section

PHP : Optimizing

25. September 2008

0 Comments

So you have a huge site with multiple PHP Scripts and you get a load of traffic all of a sudden, when you built the site you didn’t figured 0.01 second load time was fine right? Well, say you get 5,000 visitors daily; that 0.01 can turn into 50 seconds!!! Don’t know how to benchmark your [...]

Continue reading...

Sending Email through PHP scripts

9. July 2008

3 Comments

Most Linux hosting doesn’t allow direct mail sending through PHP mail() function due to spam security issue. In order to send email through PHP mail() function, you need to be authenticate first by the SMTP server. Simplest way to do is to use the PHPMailer. Below is the sampleĀ  php code using PHPMailer. <?php include(”class.phpmailer.php”); $mail [...]

Continue reading...