Category: PHP

Dilip Sakariya
how to get video width and height in codeigniter

ToGet Video Width/Height or Resolution using PHP/Codeigniter. Download Zip Archive from here : http://getid3.sourceforge.net/ Upload "getid3" Directory to Codeigniter third_party folder of your project setup. To

Dilip Sakariya
CodeIgniter how to use flash messages

How to use To use flash messages in CodeIgniter, we must configure session key in application/config/config.php file and we must load session library by using

Dilip Sakariya
Get and Print JSON string from URL

Can use JSON.parse(data) to convert the desired output to JSON, and then access the objects and array indexes from within that with .object and [array_index]

Dilip Sakariya
Add “disabled” attribute to submit button while request AJAX

Code to add “disabled” attribute before starting ajax request. [crayon-5c4526392fdf8341015494/]  

Dilip Sakariya
Warning: Cannot modify header information – headers already sent

You might received an error message on your browser “Warning: Cannot modify header information – headers already sent by (output started at /path/wp_demo/wp-config.php:34)” right after