Menu
Author

Vivek Moyal

Hello i am Vivek Moyal PHP developer and writes tutorials for students and beginners. Love to explore new cities

Remove PHP Extension from URL Using Htaccess URL Rewrite Rule

Home, PHP By Jun 11, 2016 No Comments

Hello friends many times we need to remove the extensions from our URL for better SEO. So in this tutorial we will tell you how you can Remove PHP Extension from URL using  .htaccess file. Use the below code in your .htaccess file only RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php [NC,L] In this above code…

Get Image SRC Value Using Jquery

Home, Jquery By May 29, 2016 No Comments

Many times we need our image URL for performing some actions like zooming, changing or providing effects. In this tutorial we will get the Image SRC value using Jquery. In this tutorial we will divide the code into 2 parts. “HTML and JQUERY”. Index.html <img src=”logo/logo.png” id=”logo”> <input type=”button” id=”bt” name=”bt” value=”Click Me”> <p id=”name” style=”display:none”></p> In the above example…

Autocomplete textbox using jQuery, PHP and MySQL

Jquery, PHP By May 22, 2016 4 Comments

Autocomplete is a very useful project for user’s. It gives a list of things what you are searching according to your entered text. It saves time and offer’s a list of products and services with same names. It will give user’s more ideas based on their searching. I have a list of states in India in my SQL file you…

Add Watermark Image in PHP | Create Watermark in PHP

PHP By Feb 19, 2016 1 Comment

Add watermark image in PHP its our new tutorial. You can add your watermark image to your image. Now you dont need to open Photoshop and do this. Here is the very simple and short code for adding your image. addWaterMark(“Your path to image”); function addWaterMark($filename){ $logoImage = imagecreatefrompng(‘logo.png’); $logoWidth=imagesx($logoImage); $logoHeight=imagesy($logoImage); $im = imagecreatefromjpeg($filename); $sx = imagesx($im); $sy = imagesy($im);…

Android Push Notification Using PHP and Google Cloud Messaging

PHP By Nov 26, 2015 No Comments

Sending push notification to android device is very important part of an App. Most of the time we use it for sending some information as well us for promotion. I am going to tell you how you can use PHP script to send Android Push Notification using Google Cloud Messaging. Script is so simple and you can use it easily in…

Create JSON API Using PHP and MYSQL

Home, PHP By Nov 24, 2015 1 Comment

Now these day’s mobiles are getting more dearer than other gadget’s. APP’s are the important factor for making mobile your favorite gadget. Same as apps now these day’s everyone what their website to be mobile friendly and some of them create app also for their website. Now these days mobile app’s are more common for website owner’s and market for…

Calculate Distance From Latitude and Longitude PHP

PHP By Aug 23, 2015 2 Comments

Calculating distance from latitude and longitude is bit tricky and complex. Recently we were working on a project and we need to calculate the longitude and latitude from given longitude and latitude. We use to show the nearest restaurant’s using our location. We got success so i think to put it online so that it will help you guy’s. Soon…

All You Need to Know about the Xiaomi Mi Band

Xiaomi has quickly become a name to reckon with in the technology industry and for good reason. It understands customer requirements and delivers products that are best suited to meet those requirements at a very reasonable price which is the key reason for their growing success and popularity. Xiaomi has already made a mark with its handsets and is now…