Mostlikers Programming Blog, Related codeigniter jquery, php, mysql and more things
Showing posts with label php function. Show all posts
Showing posts with label php function. Show all posts

09 March, 2017

Creating Date Function OOPS way in PHP 5

Today we are going to see How to create date function oops way in PHP. The Date/Time PHP extension is a set of classes it's allowed to work date and time-related tasks. based oops way we can get calculate working days between two dates, calculate age given date of birth, based on date find between two dates in years months and days.For using this function We can Easily calculate data functions.

11 January, 2017

Add watermark text logo to images and save using PHP

Hi guys, After a long time I am posting a new topic. Today we are going see about How to Add watermark text logo to images and save using PHP script. Watermark is the best method to protect your website images. Specially E-commerce, Matrimony website users want to protect they are personal images and digital photo. For those kinds of websites, I would suggest to you add watermark text in your website's images.

Add watermark text logo to images and save using PHP

28 January, 2016

Read Your Gmails Using PHP and IMAP

In this post we will be seeing, how to access gmail inbox via PHP code? We will be using PHP 5 IMAP  function to retrieve the gmail emails. IMAP function is used to open streams to POP3 and NNTP servers.

Retrive Gmails using php and IMAP


27 October, 2015

Get all child, grandchild etc nodes under parent array using php with mysqli

Today I have post Get all child, grandchild etc nodes under parent array using PHP with MySQL. I was recently working on an E-commerce project there I have to implement unlimited category along subcategory level drop down a list. I have inserted all the product category and subcategory in the single table to view drop-down list I have used this code.

Get all child, grandchild etc nodes under parent array using php with mysqli


10 June, 2015

Generate RSS Feed for website using php and json script

In this post i have explain about how Generate RSS Feed with PHP. Here i am using feed burner rss xml file to get the content because most of the users, blogger they are updating blog information in feed burner. Use below code add your website feeds information.

Generate RSS Feed for website using php and json script

13 April, 2015

CodeIgniter Add,View,Update,Delete using third party libraries

CodeIgniter Add,View,Update,Delete using third party libraries. Recent i have used Jamie Rumbelow My model libraries file. It's really good stuff, It provides a full CRUD base to make developing database interactions easier and quicker. this model have default validation and callback function.

CodeIgniter My Model

04 March, 2015

Convert html to codeigniter and basic steps of codeigniter

Nowadays everyone to focus on MVC framework. Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. MVC framework best beginner to learn codeigniter. So i would suggested to beginner to learn MVC framework best one codeigniter. let see about codeigniter basic steps.

codeigniter

03 March, 2015

PDO basic insert,view,update,delete with php function

The mysql extension is deprecated due to the some sql injunction issue. I would suggest to use mysqli or PDO. mysqli based on object oriented process (OOPS). The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. it seem how we are using mysql same for PDO.

PDO-add

13 January, 2015

PHP Contact Form Captcha Code Using Ajax

PHP contact form with captcha verification code. Why we use to Captcha in website, it will protects your website for spammers and robots. Here i have used ajax script to check validate captcha code. For creating images and text you have download libraries file.

Php contact form captcha code using Ajax

24 July, 2014

PHP user defind function

PHP user defind function reduce program code. create your own function pass the parameters value to check the conditions. PHP gives you option to pass your parameters inside a function. You can pass as many as parameters.


06 February, 2014

PHP Email and mobile number validation script

In this post, i have explained about how to validate the email address and mobile number in server side. Usually, we use form validation scripts. It will work only client side,  But we need to check the form values in server side.