Category: PHP Frameworks
Heroku | Heroku cron jobs and CakePHP code
Use Heroku cron jobs to run CakePHP code at fixed intervals of time. Cron is a time-based scheduler used to run commands periodically at fixed intervals. Cron means time. It is used for scheduling repetitive tasks. In order to use
How to add font-awesome progress icon in textbox for autocomplete Jquery-UI plugin
First of all, we should know what features are provided by jquery-ui plugin. To know about details, please see link, http://jqueryui.com/demos/ Jquery UI plugin can be downloaded from the link http://jqueryui.com/download/ Now, today, we will discuss about Autocomplete feature of
Using concatenate, cases, substring in CakePHP 2
How to use concatenate, cases, substring in CakePHP 2.* find query. Suppose given records are: Problem: Display user details in one column and the first character of user role in front of the user full name. Also suppose in case
Uploading files on Amazon AWS S3 server using PHP
Before uploading any document to Amazon AWS S3 server, make sure that user has to write access on the bucket where files will be saved else it will throw ‘Access denied’ error. Apart from the write permissions, access keys are
QuickBooks Integration | Important Quickbooks Webconnector Facts
Question: Can we add custom functions in quickbook? Answer: Yes, In quickbook.php file we need to add Constants to make custom function and we can add as many as we want. After defining these constant we can map these in
How to Disable CSRF token in Laravel Application
CSRF stands for cross-site request forgery. CSRF token is basically used for security purpose in Laravel forms. To understand how it works read here: https://laravel.com/docs/5.4/csrf How to disable it if required? CSRF protection is enabled by default in all routes
Download CSV of table Records using OUTFILE sql command and PHP
Create and Download CSV of table Records using OUTFILE Sql command and PHP 1. Create temporary CSV file using OUTFILE SQL command: OUTFILE command is used to write your sql command output to the specified location. You can write the output
Compare Passwords in HTML5 form validation using Jquery
In one of our projects, requirement was to compare two password values using HTML5 form validation (display the message in the same format as regular HTML5 messages are displayed). Let us assume that we have a HTML5 form for change
JavaScript and Jquery Best Practices
1. Place Scripts at the Bottom of the Page: If we include script at the top, sometime page elements are not loaded completely and script starts working. So we need to include scripts after loading all the elements. Also if scripts