Categories Uncategorised

Unzip folder into filezilla

1] Upload the zip file into server (like as public_html or www folder). 2] Make the file into these folder like as index.php 3] Copy the code  and past into index.php file then save it. // assuming file.zip is in the same directory as the executing script. $file = ‘file.zip’; // get the absolute path […]

Read More
Categories Interview Question

MySQL Interview Question

1. What is MySQL?  MySQL is an open source DBMS which is built, supported and distributed by MySQL AB (now acquired by Oracle) 2. What are the technical features of MySQL?  MySQL database software is a client or server system which includes Multithreaded SQL server supporting various client programs and libraries Different backend Wide range […]

Read More
Categories Interview Question

MySql Interview Questions

1. What is MySQL?  MySQL is an open source DBMS which is built, supported and distributed by MySQL AB (now acquired by Oracle) 2. What are the technical features of MySQL?  MySQL database software is a client or server system which includes Multithreaded SQL server supporting various client programs and libraries Different backend Wide range […]

Read More
Categories Uncategorised

Make Registration form in CodeIgniter

1] Download the fresh CodeIgniter Project. 2] Make the database in phpmyadmin like users Execute these commond on SQl CREATE TABLE `users` ( `user_id` int(12) NOT NULL, `name` varchar(50) DEFAULT NULL, `user_name` varchar(50) NOT NULL, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `status` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; // Indexes for table […]

Read More
Categories wordpress Tutorials

Make API in WordPress.

How to make API in wordpress. 1] Install the following plugins. a] json-api b] json-api-user c] really-simple-ssl (Optional) d] rest-api (Optional) e] restrict-content-pro (Optional) 2] Now go to login on dashboard(Admin panel) then go to Settings >> JSON API >> Activate the “User” controller. 3] Now Past the api folder into root(i.e along with wp-content […]

Read More
Categories Uncategorised

How to manage all control on vimeo video.

<!doctype html> <html> <head> <meta charset=”utf-8″> <title>Vimeo All Controll Management</title> <script src=”http://code.jquery.com/jquery-1.11.3.min.js” type=”text/javascript”></script> <script type=”text/javascript” src=”src/jquery.vimeo.api.js”></script> <link rel=”stylesheet” href=”http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css”> <script type=”text/javascript”> $(document).ready(function($) { $( “#play” ).click(function() { $(“iframe”).vimeo(“play”); }); $( “#pause” ).click(function() { $(“iframe”).vimeo(“pause”); }); $( “#seek-to” ).click(function() { $(“iframe”).vimeo(“seekTo”, 10); }); $( “#set-volume” ).click(function() { $(“iframe”).vimeo(“setVolume”, 0.6); }); $(“iframe”).vimeo(“paused”, function(data){ console.log( “Is paused?”, data […]

Read More
Categories CodeIgniter

Validation in CodeIgniter

Step 1 : Make View in view folder as “myform.php” Step 2 : Make controller in controller folder as “Form.php” Step 3 : Make another view in view folder as formsuccess.php to show after successful validation. myform.php file <html> <head> <title>My Form</title> </head> <body> <?php echo form_open(‘form’); ?> <h5>Username</h5> <input type=”text” name=”username” value=”<?php echo set_value(‘username’); […]

Read More
Categories CodeIgniter

Remove index.php from URL in CodeIgniter

Remove index.php from URL in codeIgniter. Open and make .htaccess file in the root and follow these steps. Step 1 : Make .htaccess file in root location i.e along with application folder Step 2 : Write this code into .htaccess file. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]

Read More
Categories laravel Tutorial

Events in laravel ?

An event is an action or occurrence recognized by a program that may be handled by the program or code. Events provides a simple observer implementation, that allowing you to subscribe and listen for various events/actions that occur in your application. All Event classes are generally stored in the app/Events directory, while their listeners are […]

Read More