Please do not validate file extension on uploading file from user Hackers are created a fake jpg image with no preview and they add code encode on base64 or gzinflate on picture source when you will open that image on notepad editor you will see code like if you just
Post in
In some where we need only thumbnail source link the function the_post_thumbnail cannot return thumbnail source link, we ca two ways to get thumbnail src. 1. wp_get_attachment_thumb_url 2. get_attachment_src
Post in
Create wordpress password for your theme function or plugins
Post in
PhpStorm — PHP IDE that evolves with you The editor that actually ‘gets’ your code and deeply understands its structure, supporting PHP 5.3, 5.4, 5.5 & 5.6 for modern Hundreds of inspections take care of verifying your code as you type, analyzing the whole project. PHPDoc support, code (re)arranger,
Post in
Page template system is awesome feature, this featured in wordpress to create your own template like single column data template, double column data template to show pages data as you want to in template, . Develop template name in php files for custom #cms, I am just showing in quick method
Post in
CI Codeigniter Fatal error: Call to a member function userdata() on a non-object Codeigniter provides in helper to defined $CI and used in functions helper, in some versions of codeigniter it cannot load on defined function in functions helper, in older versions it we just load in variable called $CI
Post in
There no any function available in php to detect string, this technique is used when user type login name with CAPITAL CASE, CameL caSe or Title case, web developer also prevent these type cases of string for user account loginanme because they assigned unique column of username in database, I wanted to use
Post in
This custom slider tutorial tell you how to create slider with your own logic, without using any slider plugin SLIDER HTML SLIDER CSS STYLES Add jquery document ready event and define some variables like slider animation time and slide change time in seconds Define function run_progress for initialize progress of
Post in
In normally we cannot trigger with events of javascript keyup, keydown, keypress, when user typing done, I am also faced that challenge on a project where I am doing job of programmer, so I want to share that technique how to call your function when user done typing, I have created
Post in
FUNCTION TO CHECK IF IS EVEN NUMBER FUNCTION TO CHECK IF IS ODD
Post in
TOP COMMENTED
laravel remove public from url
This is weird thing from #laravel on fresh installation, so…
3 comments
Pakistani Web Designer’s Web Designing…
Web Design Illustrations - IdealHut.com by Design-Maker…
2 comments
MEASURE UNITS PX, CM, IN, MM CONVERSION…
2 comments
28 Android IOS Mobile Application Frameworks
jQuery Mobile Ionic: Advanced HTML5 Hybrid Mobile App Framework Mobile…
2 comments
20 jQuery HTML5 Video Player for Website
Video.js The Player Framework MediaElement.js - HTML5 video player Create…
2 comments