File: example.php

Recommend this page to a friend!
  Classes of Muhammad Arfeen  >  Remote Picture Grabber  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: Remote Picture Grabber
Retrieve and serve remote image files
Author: By
Last change:
Date: 11 years ago
Size: 728 bytes


Class file image Download

        Example script that make use of Picture Grabber.

include_once "";
$PictureGrabber = new PictureGrabber();
$PictureGrabber->RemoFileURL=""; // Remote Image
$PictureGrabber->LocalFilePath="tmp"; // Local Path (Make sure this directory should be writable
                                                                                                                                                                                        // and have permission to write files
$PictureGrabber->LocalFileName="myNewfile"; // New Local File
$PictureGrabber->ShowPicture=1; // Weather show picture or simply return new file


For more information send a message to info at phpclasses dot org.