sourcecode
Tag
33 posts found
PHP 5.5 and in older version constants cannot store directly array In this matter we are allowing to upload limited file’s extensions and this is not good codding practice to defined allowed extensions and check every file on uploading code because we needs to store allowed extensions in a single
Post in
I got issue lost data from new $variable of array_merged because array_merge function cannot merged if any passed parameter type not array, for example I merged two array for email template, the first array from $_POST and second array from Database but $user_data will be null If user’s not found from
Post in
In action url of methods we just only allow user to submit ajax request on specified url or doing another stuff, Here is I am share examples of check ajax request on custom #PHP #CodeIgniter #Laravel. Check ajax request in core PHP Here is how to check and its best way
Post in
This is big storage problem in computer, mobiles and all other devices, heavy and camera images consumed too many storage and website will become heavy if heavy images used on websites I also use my php code to lose images weight without losing dimension and quality of image Here is
Post in
I developed my custom code to get difference between two dates, code is different from #php date_diff because my code calculate the total number of seconds, minutes, days, months and years. Its best way to define this code in function to use any where of project where you want it,
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
Post in
Its a great feature of #html5 to paste a text data into a element with contenteditable attribute, but when you copy data its copy the rich text with format after paste of content its looks ugly in element, so here code its won’t make ugly pasted content
Post in
Its really sometimes we need to call two functions, first we user click on specified element and another when user clicked on not specified element, Eg: you have a textbox and control panel div of text box, but you want to call a function to show control div of textbox when
Post in
In html on anchor tag without a href link we had # into href but when we click on that href with # hash its moved scroll to top position of page and add # in end of the page url, and we feeling annoyed on click that link, here
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