Find Jobs
Hire Freelancers

PHP / zip file handling / image thumbnail creation

$30-40 USD

In Bearbeitung
Veröffentlicht vor mehr als 21 Jahren

$30-40 USD

Bezahlt bei Lieferung
Hi There: I need a set of three simple functions to handle the unzipping a windows created zipfile, creating image thumbnails with GD / netpbm, getting filenames and filesizes from a given directory. The functions must run on Linux systems running RedHat with an installation of PHP 4.1.2 min. Functions should be delivered in a single PHP file. Full details in the deliverables... Looking forwards to hearing from you! Chris ## Deliverables Full spec: I need a set of simple functions to handle the following jobs as part of a photo gallery system. The functions must run on Linux systems running RedHat with an installation of PHP 4.1.x 1: UNZIP :: Unzip a zip file created on windows platform with regular windows zipping tools (e.g. Winzip). Extract all IMAGE files (only png,gif,jp(e)g) to a single folder, ignore all other file types and ignore any directories specified in the zip file itself. Rename any files with spaces and other illegal characters in their names, replacing with an underscore. Files with duplicate filenames can simply be overwritten. Three optional parameters could be passed to the function of $parent_dir, $max_dir_size and $max_file_size - if extracting a particular file would cause $parent_dir and its subdirectories to use more diskspace than $max_dir_size, the file is skipped and an error added to the errors array to return. The $max_file_size is simply the maximum size that any file could be when unzipped. In the end I want this function to be used as simply as: unzip($file,$directory,[$parent_dir,$max_dir_size,$max_file_size]) - where $file contains a pointer to a file uploaded from a form and $directory is where the files are going. It should return an array containing the number of files successfully extracted, number of files that couldn't be extracted. 2: THUMBNAILS :: create a set of thumbnails in a given directory, maintaining aspect ratios. Thumbnails will be created in the same directory as the source files, or a different directory if passed to the function and will be renamed to be pre-pended with "tn_". The function should work with GD 1.6.2 (JPG, PNG support enabled), and / or netpbm. Existing thumbnails can simply be overwritten. The function should be used as simply as: thumbnails($source_directory,$max_width,$max_height,$thumbnail_directory="") - $source_directory is where the image files are, $max_width/$max_height are the max widths and height that any image can be, $thumbnail_director is optional, but if present the thumbnails should be created there (if not present, they should be made in the existing directory) 3: LISTFILES :: Just a simple function to return all the filenames without paths and the image sizes in a particular directory in an array which might look like $files[filename][width][height]. listfiles($dir) That's all! Looking forward to hearing from you :) Chris ---- You'll need to supply me with: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform Redhat / PHP 4.1.2 / GD
Projekt-ID: 2892102

Über das Projekt

4 Vorschläge
Remote Projekt
Aktiv vor 21 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
See private message.
$34 USD in 14 Tagen
5,0 (7 Bewertungen)
2,1
2,1
4 Freelancer bieten im Durchschnitt $29 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$21,25 USD in 14 Tagen
5,0 (99 Bewertungen)
7,2
7,2
Avatar des Nutzers
See private message.
$34 USD in 14 Tagen
5,0 (7 Bewertungen)
3,9
3,9
Avatar des Nutzers
See private message.
$25,50 USD in 14 Tagen
3,6 (2 Bewertungen)
1,5
1,5

Über den Kunden

Flagge von UNITED KINGDOM
United Kingdom
5,0
65
Mitglied seit Dez. 11, 2002

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.