Author Archives: eLearning Specialist - Page 2

Remove empty values from array in PHP without looping

PHP provides an in-built function “array_filter” that removes all the key value pairs from the array that contain blank or null value. Syntax: array array_filter($arrayName) Example: The above code will print: Array( [0] => text [3] => -1 )

Enable Copy Paste on virtualBox

By default the copy and paste will be disabled in the virtualBox i.e to and from the virtual machine. This can be enabled as follows: 1) Go to Machine settings tab. 2) In that go to General Settings. 3) In …

Read more »

Installing Ubuntu virtual machine on Windows7

Find below the steps to install linux or any other Operating system on your machine using virtualBox i.e creating a virtual machine on your system that will be treated as an independent machine. 1)Download VirtualBox from http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html 2)Download Ubuntu from …

Read more »

How to create a virtual host on wamp server

Follow the below simple steps to create virtual hosts and solve the problems related to it: STEP 1 Make your server listen to a new port in the httpd.conf file of wamp server Listen 82 etc. Mention the port number …

Read more »

Hosting Applications on Wamp Server

Run single file on Wamp Once the wamp server is installed, a directory structure will be formed in the installed drive named wamp. To run your php file directly on wamp, what you need to do is place that file …

Read more »