ACID(Atomicity Consistency Isolation Durability) is a set of properties that guarantee that database transactions are processed reliably. In the context of databases, a single logical operation on the data is called a transaction. Atomicity Atomicity is an all-or-none proposition. Modifications on the data in the database either fail or succeed. Each transaction is said…
AJAX file uploading using jQuery & PHP: In the day to day life of web programming, you will need to upload the files on server without page refresh. It is very easy with flash, but will little bit tricky with XMLHttpRequest (JavaScript Browser Object) and AJAX. Find the below code or Package that will help you…
You have to follow below some very simple steps to run cron file in windows system. 1. Create a cron.php file (the code you want to execute at a regular interval) 2. Create a CRON.BAT file, copy and past the below code in the file D:\xampp\php\php.exe D:\xampp\htdocs\Application\cron.php The path I have written…
Syntax uniqid (prefix, more_entropy); A unique website ID can be created in PHP using the uniqid () function. This function has two parameters that can be set. prefix This is what will be appended to the beginning of each ID. more_entropy If this is false or not specified it will return 13…
From last couple of days, I was struggling with an Authorized.net Transaction Details API. The code I am working with is written in namespaces/blocks, so the problem I was facing is just like below. SimpleXMLElement::__construct(): Entity: line 1: parser warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute in /classes/anet_php_sdk/lib/AuthorizeNetTD.php on line 188 …
Polymorphism – the concept Polymorphism is a Greek word that means “many forms”. In object-oriented programming, polymorphism is a mechanism by which objects of different types can process data through a single interface. Using a typical illustrative example, a program might define a type of object called Animal, containing a function called talk() and,…