Category

PHP

How To : Send email with PHP from localhost

Hello! Happy New Year! Hope you all are doing well. Last couple of months I have been thinking about mail sending option of PHP application from local development server. Generally I uploaded my script to online web server for send mail from PHP. Today I think that I need to configure my local server so…

Read More

How to : Create basic WordPress child theme

Hello there! Today, I am here to share a basic thing of WordPress theme. We all know about the WordPress theme. Its a great way to design your WordPress powered website. But there is always some little things you need to change like colors, fonts style/size or move a button somewhere else. You can change…

Read More

Creating dynamic sitemap with Codeigniter

Recipe for creating Dynamic sitemap with CodeIgniter. Like yoursite.com/sitemap.xml Example. Suppose you have an articles blog where url for each article is by article ID Like yoursite.com/123 . All articles are stored in articleTable of the database. First Create a model to get URLs. Create a file named url_model.php in application/models directory. Get Urls from database <?php class Url_model extends CI_Model{     public function __construct(){…

Read More