Browsed by
Category: Php

How to integrate google custom search to your website?

How to integrate google custom search to your website?

How to integrate google custom search to your website?:Google custom search is the best search tool which you can integrate to your website. If you are using any CMS(wordpress, joomla etc.,) softwares for your blog/site , then lot of ready-made plugins are exist. One important drawback with google custom search is it searches only from the google indexed pages. So if your website is new and integrated with google custom search then google may not search and provides the results…

Read More Read More

723 total views, no views today

Responsive Dynamic Header using jQuery, PHP & Bootstrap

Responsive Dynamic Header using jQuery, PHP & Bootstrap

Responsive Dynamic Header using jQuery, PHP & Bootstrap: Dynamic header is providing the dynamic content for both logged in and logged out users differently. In our example here we have Login button at the right top and some content in the page. If you click Login it will be changed as my accounts and even the contents in the page changes dynamically. This is the approach followed in many websites for dynamic header to achieve simple and easy interface for…

Read More Read More

730 total views, no views today

How to enable xdebug in xampp?

How to enable xdebug in xampp?

How to enable xdebug in xampp ? If you are running your PHP or PHP/MySQL project using XAMPP then enabling xdebug will be very easy, since xdebug will be already included in the xdebug. We just have to enable xdebug in php.ini to start debugging.   open the php.ini file which will exist in this location,   C:\xampp\php   Note: File location may vary based on your xampp path.       php.ini file: uncomment the below two lines, zend_extension…

Read More Read More

847 total views, no views today

Alexa website rank script using PHP, jQuery, Bootstrap and Ajax

Alexa website rank script using PHP, jQuery, Bootstrap and Ajax

Alexa website rank script using PHP, jQuery, Bootstrap and Ajax: Alexa is a very popular and trusted site to give the rank for all the websites. It is a successful website ranking product of amazon. They are having many developer API to display every websites country and world rank. You can make use of this API to display any websites rank in your websites/mobile apps. Today we are sharing here the readymade Alexa website rank script using PHP, jQuery, Bootstrap and Ajax….

Read More Read More

954 total views, no views today

[Solved] Notice: Use of undefined constant

[Solved] Notice: Use of undefined constant

Notice: Use of undefined constant :   This is one of the familiar exception in PHP.   Example PHP Source code which creates notice: use of undefined constant define(HOST, ‘localhost’); define(USERNAME, ‘root’); define(PASSWORD, ”);     How it can be solved ? define(‘HOST’, ‘localhost’); define(‘USERNAME’, ‘root’); define(‘PASSWORD’, ”);     Feel free to post your comments…… 613 total views, no views today

613 total views, no views today

curl post php example with json response

curl post php example with json response

CURL: CURL is basically to hit the url through GET/POST request and to receive the response. Response can be anything. [JSON/XML/plain string]   When I was searching for the sample curl post php example program in internet, I could not find the proper executing programs. So I wrote my own program and sharing here to help our blog users.   In the below sample program, you can directly give the URL and post parameter names and values and proceed your business logics….

Read More Read More

1,184 total views, no views today

PNR Status Script using PHP, jQuery and Ajax

PNR Status Script using PHP, jQuery and Ajax

PNR Status Script: Update: Demo may not work as expected, because the testing key provided by the “railwayapi.com” got expired.   You can create your own key and substitute that in the script and run to get the expected results / PNR status.   Are you planning to develop any PNR alert, status website or any mobile apps ? (or) planning to integrate the PNR status script to your existing website. ?   We have provided here how to get…

Read More Read More

4,580 total views, no views today

Freecharge Paytm style mobile number auto operator loading

Freecharge Paytm style mobile number auto operator loading

Freecharge Paytm style mobile number auto operator loading using PHP, jQuery and MySQL: Are you designing online recharge website like freecharge/paytm. ? or similar functionality website? If yes then what we are going to see today is very mandatory one need to be implemented to your website. Loading operator information automatically based on the given input prepaid mobile number make the user to feel very friendly and helpful because he do not want to keep the operator information also in…

Read More Read More

1,285 total views, no views today

md5 vs sha1 in php

md5 vs sha1 in php

md5 vs sha1: Cryptographic technics needs to be implemented in all the areas of web developments mainly user details, payment gateway pages etc. to make our system more secure. we have lot of cryptographic technics and today we are going to see md5 and sha1, because these both technics plays more role to make the systems secure.     md5 and sha1’s are really encryption technics ? No. md5 and sha1’s are really not a encryption technics, which means md5…

Read More Read More

970 total views, 1 views today

Preview Image before upload using Jquery and PHP

Preview Image before upload using Jquery and PHP

Preview Image before upload using Jquery and PHP: Image uploading is basic mandatory functionality in any applications where we need to upload user/customer profile pictures. But manytimes there is a chance to upload the wrong image by mistake if we do not have the option to preview it before uploading. To put dot to this issue, we are sharing the tutorial on how to preview the image before uploading using jquery in php.   We have also shared the PHP…

Read More Read More

1,100 total views, no views today