Very easy JavaScript code to Convert any file to data-url online

Webserveglobal Admin
1 Comment
Very easy JavaScript code to Convert any file to data-url online
Get data-url of any file in browser. A pure JavaScript code to create data-url (base64) encoded string value of any of the files. No additional library required. Here you can create data-url of any file either it is document or a media file, everything can be converted to data-url. It is very easy t...
Continue Reading

Select Only Year From Bootstrap Datepicker

Webserveglobal Admin
0 Comments
Select Only Year From Bootstrap Datepicker
Generally we are use datepicker with dd-mm-yyyy format but sometimes we require to get only year, i mean select only year at that time we need to use datepicker option like format, minViewMode etc that way we can make datepicker into year picker for us. In this example i give you how can you get ...
Continue Reading

Get user location in Javascript

Webserveglobal Admin
1 Comment
Get user location in Javascript
Now days in modern web application(s) we might see there is a feature like website wants to know the location of the current user to show him/her more accurate and relevant results. If you want to show results to user as per there location, this example will be very helpful in Getting the user locat...
Continue Reading

Create Mysql Database using cpanel API in PHP

Webserveglobal Admin
0 Comments
Create Mysql Database using cpanel API in PHP
cPanel does not allow you to create databases directly from MySQL/PhpMyAdmin on cPanel webhosting. You would have to login to cPanel and use its interface to create database each time you need a new one. 1) First Include xmlapi.php. (Download file) ...
Continue Reading

Data Scrapping (Extract All URLs/Images from a Web Page using PHP)

Webserveglobal Admin
0 Comments
Data Scrapping (Extract All URLs/Images from a Web Page using PHP)
1) Extract all the Links from Web Page Extract URLs from the website is used in many cases, generating a sitemap from website URL is one of them. You can easily get all URLs from a web page using PHP. 1) The file_get_contents() function is used to get webpage content from URL. 2) ...
Continue Reading

How to disable right click on image using jQuery

Webserveglobal Admin
0 Comments
How to disable right click on image using  jQuery
Disable Right Click on ImageIf You want to prevent people being able to download your images. One common method to prevent image theft is to disable right clicking, dragging images, and saving images on computers and phones. <script> $( document ).ready(function() { $('img').bind('contextme...
Continue Reading

Responsive bootstrap admin theme for free

Webserveglobal Admin
0 Comments
Responsive bootstrap admin theme for free
Share and download the source code for wsg-lite responsive bootstrap admin theme free Share and Download ...
Continue Reading

Get basename and file extension with PHP

Webserveglobal Admin
0 Comments
Get basename and file extension with PHP
Getting file extension and basename using PHP internal function pathinfo is very useful. But, Windows paths will not work correctly on Linux servers and vice versa. In this case you may use the alternative way.  Get file extension1) Using pathinfo (recommended): $file_ext ...
Continue Reading

How to compress CSS on the fly using php

Webserveglobal Admin
0 Comments
How to compress CSS on the fly using php
How to minify JS and CSS on the fly / runtime, so that I can keep the original code structure in my servers if its minified on the runtime / fly. Using a little PHP you can combine & minify all of your CSS files This not only reduces the overall filesize, but also minimises HTT...
Continue Reading

Difference Between include, include_once in php

Webserveglobal Admin
0 Comments
Difference Between include, include_once in php
The include and require statements are identical, except upon failure:     - If file not found require will produce a fatal error (E_COMPILE_ERROR) and stop the script     - If file not found include will only ...
Continue Reading

How to setup a cron job command to execute an URL?

Webserveglobal Admin
0 Comments
How to setup a cron job command to execute an URL?
A cron job allows you to run a certain command at times set by the job. For example, you could set a cron job to delete temporary files every week so that your disk space is not being used up by those files.To access the Cron Jobs Menu, click on the corresponding icon located in the Advanced section...
Continue Reading

How to send a attachment with PHP Mail

Webserveglobal Admin
0 Comments
How to send a attachment with PHP Mail
PHPMailer is one of the most popular open source PHP libraries to send emails. so in this tutorial I am going to show you how to send email with attachment in PHP. PHPMailer library 1) Download the PHPMailer library at https://github.com/PHPMailer/PHPMailer ...
Continue Reading
Showing 1 to 12 of 44 (4 Pages)
my ad

Website in ₹4999*

Get your own website in ₹4999*

Latest Blogs

Advertise Here

For more details about advertisements and how to advertise with us

Contact us