GUID : A GUIDĀ (Global Unique Identifier) is Microsoftās implementation of a unique identifierĀ (UUID). In its simplest form, Guid lets we generate raw GUID formatted strings: Let’s generate a new Guid…
Coding
Latest Articles and Errors& Fixes fo popular programming languages like HTML,CSS, PHP, Javascript, Angularjs and more
PROBLEM We have a web server written in Node.js that we would like to launch with a specific folder. Does not sure how to access arguments in JavaScript. Here running…
PROBLEM How to cancel/abort jQuery AJAX request? SOLUTION :1 jQuery Ajax methods return an XMLHttpRequest (or the equivalent) object, so we can use abort(). abort Method (MSDN)- Cancels the current…
PROBLEM: How to Modify the URL without reloading the page? SOLUTION 1: Updating address bar with new URL without hash or reloading the page Example: we can then use window.onpopstate…
PROBLEM: When a PHP application makes a database connection it of course generally needs to pass a login and password. If you are using a single, minimum-permission login for my…
PROBLEM: When downloading a JSON file from an online source and it runs through the loop getting this error: Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\temp\fetch.php…
SOLUTION :1 We generally use when working with transactions looks like this (semi-pseudo-code): [ad type=”banner”] Note that, with this idea, if a query fails, an Exception must be thrown: PDO…
PROBLEMĀ we are trying to get the php_printer.dll extension to work. we run PHP 5.2.8 with Apache 2.2 on a windows XP platform. When we start Apache it fails to…
PROBLEM: We have these divs that styling with .tocolor, but we also need the unique identifier 1,2,3,4 etc. so we are adding that it as another class tocolor-1. Is there…
Normalize.cssĀ : Normalize.css is a small CSS file that provides better cross-browser consistency in the default styling of HTML elements. It’s a modern, HTML5-ready, alternative to the traditional CSS reset….