Subscribe For Free Updates!

We'll not spam mate! We promise.

Jun 17, 2013

Get all images from folder - php

Get all images from folder - php:  The below code is used to get all images from folder in local system. we can set the condition for file type to read files from particular directory in php. <?php $imgdir = 'images/';  $allowed_types = array('png','jpg','jpeg','gif');  $dimg = opendir($imgdir); while($imgfile = readdir($dimg)) {  ...

Jun 16, 2013

Javascript popup window to return value to parent window

Javascript popup window to return value to parent window:  We can pass the values to child window to parent window by using javascript. These passing methodology working with html tags and javascript functions. The javascript popup window is used to get the external value like select the region from map etc. Follow the below html programs to...