PHP Classes

PHP Wallpaper Download: Upload, list and display wallpaper images

Recommend this page to a friend!
  Info   Example   Demos   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 116 All time: 9,555 This week: 455Up
Version License PHP version Categories
wallpaper 1.0Freeware5PHP 5, Databases, Graphics, Content m...
Description 

Author

This package can upload, list and display wallpaper images.

It can manage a collection of wallpaper images in different resolutions stored in files and listed in a MySQL database.

The backend can also manage the collection of available wallpaper images by allowing to upload new wallpapers in diferent sizes for instance for high resolution desktop for wide screen, full screen, high definition, dual monitors, and mobile.

Innovation Award
PHP Programming Innovation award nominee
April 2017
Number 2


Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
Many people like to use wallpaper images in the background of their computers or mobile devices.

This package can manage collections of wallpaper images that can be served in different resolutions suitable for different types of devices.

Manuel Lemos
Picture of Vishv Sahdev
  Performance   Level  
Name: Vishv Sahdev <contact>
Classes: 13 packages by
Country: India India
Age: 52
All time rank: 51129 in India India
Week rank: 24 Up3 in India India Up
Innovation award
Innovation award
Nominee: 7x

Example

<?
//
/**
 * PHP example file
 * @author admin@v23.in - http://v23.in
 * @version 1.0.0
 * @date 4 march 2017
*/
if(isset($_GET['xx']))
   
$uri = $_GET['xx'];
else
   
$uri="cat/Movies";

$pattern=array(
   
700=>"@^cat/([A-Z0-9a-z.-]+)$@",
   
705=>"@^cat$@",
   
701=>"@^tag/([A-Z0-9a-z.-]+)$@",
   
702=>"@^download/([A-Z0-9a-z.-]+)/([A-Z0-9a-z.-]+)$@",
   
703=>"@^download_wallpaper$@",
   
704=>"@^show_wallpaper$@",
    );

$px=array(
   
700=>array("route"=>"d","cat"=>""),
   
705=>array("route"=>"d","cat"=>"movies"),
   
701=>array("route"=>"d","cat"=>"tag","se"=>""),
   
702=>array("route"=>"download","cat"=>"","title"=>""),
   
703=>array("route"=>"download_wallpaper"),
   
704=>array("route"=>"show_wallpaper"),
    );


//$ot=array("route"=>"","id"=>"","cat"=>"","se"=>"","title"=>"");
$i=0;
$p=1;
foreach(
$pattern as $k=>$patt){
   
    if(
preg_match($patt, $uri, $matches) && $i==0){
       
        foreach(
$px[$k] as $kk=>$vv){
            if(!empty(
$vv))
               
$ot[$kk]=$vv;
            else{
               
$ot[$kk]=$matches[$p];
               
$p++;
            }
        }
       
$ot['id']=$k;
       
$i++;
    }
}


include
"backend/aed_config.php";
include
"class/_wallpaper.php";
$nw=new _wallpaper();


if(
$ot['id'] == '700' || $ot['id'] == '705' )
   
$nw->d($ot['cat']);
elseif(
$ot['id'] == '701')
   
$nw->d($ot['cat'],$ot['se']);
elseif(
$ot['id'] == '702')
   
$nw->download($ot['cat'],$ot['title']);
elseif(
$ot['id'] == '703')
   
$nw->download_wallpaper();
elseif(
$ot['id'] == '704')
   
$nw->show_wallpaper();
else
   
$nw->d("Movies");


       
/*

function __call( $strMethod, $arrParams )
    {
       
                return call_user_func_array( $ot['route'], $ot);

        }
*/


  desktop_wallpaper_demoExternal page  

Open in a separate window

  Files folder image Files (27)  
File Role Description
Files folder imagebackend (6 files)
Files folder imageclass (2 files)
Files folder imageimg (4 directories)
Files folder imagesql (2 files)
Files folder imagetemplate (3 files)
Plain text file .htaccess Data htaccess
Plain text file index.php Example example file

  Files folder image Files (27)  /  backend  
File Role Description
  Plain text file aed_class.php Class class
  Plain text file aed_config.php Conf. config
  Plain text file aed_pager_class.php Class page class
  Plain text file aed_template.htm Aux. template file
  Plain text file example.php Example example
  Plain text file upload.php Appl. upload file

  Files folder image Files (27)  /  class  
File Role Description
  Plain text file responsiveImageV2.php Class class
  Plain text file _wallpaper.php Class class file

  Files folder image Files (27)  /  img  
File Role Description
Files folder image100 (3 files)
Files folder image1000 (3 files)
Files folder image300 (3 files)
Files folder image600 (3 files)

  Files folder image Files (27)  /  img  /  100  
File Role Description
  Image file 2sates.jpg Icon image file
  Image file akshay-kumar.jpg Icon image
  Image file good-relationship.jpg Icon image

  Files folder image Files (27)  /  img  /  1000  
File Role Description
  Image file 2states.jpg Icon image
  Image file akshay-kumar.jpg Icon image
  Image file good-relationship.jpg Icon image

  Files folder image Files (27)  /  img  /  300  
File Role Description
  Image file 2states.jpg Icon image file
  Image file akshay-kumar.jpg Icon image
  Image file good-relationship.jpg Icon image

  Files folder image Files (27)  /  img  /  600  
File Role Description
  Image file 2states.jpg Icon image
  Image file akshay-kumar.jpg Icon image
  Image file good-relationship.jpg Icon image

  Files folder image Files (27)  /  sql  
File Role Description
  Plain text file wall_cat.sql Data sql file
  Plain text file wall_paper.sql Data sql file

  Files folder image Files (27)  /  template  
File Role Description
  Plain text file form.php Output template
  Plain text file template.php Output template file
  Plain text file wallshow.php Output template file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:116
This week:0
All time:9,555
This week:455Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2399