Category: PHP Frameworks
Moodle | Uploading Scorm Package and some internal function calls
1.Uploading a scorm package (.zip) in moodle: a. Log-in to moodle, navigate to your course and “turn editing on”: b. Click “Add an activity or resource” link: c. Select Scorm package from list and click Add button: d.Add basic information
PHP | Password hashing
Password hashing is the new recommended way to store the password using hashing method (PHP 5 >= PHP 5.5, PHP7). Password hashing is used to encrypt the password similar to the way md5, sha1, sha256 etc do. But this method
Selenium | Take UI screenshots when script is executed
During testing a website with Selenium, function given below can take screenshot that can help us in cases like when testcase fails and we need the screenshot to see what happened on UI. Here is function to take screenshot: public
AWS Amazon CloudFront – How to enable cache for whole site
AWS Amazon CloudFront is a web service that speeds up serving static and dynamic web content like, .html, .css, .php, and image files and videos. It also integrates with other Amazon Web Services like S3, EC2, Elastic Load Balancer and
PHP | Load Data Infile to insert csv data into Mysql with PHP
Problem: How to insert csv data into mysql table with mysql query in php. What problems usually you face with this and how to resolve them. Description: I have csv file with thousands of records. I want to insert these
Moodle/Totara | Creating a new Activity Plugin
Introduction: In Moodle/Totara we can add a different type of activities to a course by selecting from the list of standard activities available. As shown in the the list below: But there might be some cases in which we need
Selenium | Data Driven Framework to read csv data
During testing, I had a test case to add multiple employees automatically with selenium script so I have implemented Data Driven Framework. Using this we have to read the data from the CSV and register all the users in the
WordPress | Dynamically generating ADF XML format of the form submission
ADF XML FORMAT ADF XML format stands for Auto-lead Data Format XML that is an automotive retailing industry standard data delivery format for import and export of automotive customer leads. This format is used as a way to format the
PHP | core.php and some important settings
In CakePHP application, core.php is configuration file and is located at app/Config/core.php. This file contains various variable definitions and constant definitions that alter the behavior of the application. The description of some important variables and their effect on the application