Find Jobs
Hire Freelancers

Convert Existing Script to OO Class(es)

$100-125 USD

Terminado
Publicado hace más de 15 años

$100-125 USD

Pagado a la entrega
I want to make an existing script object oriented and convert it to a class or classes. It also was not written in a great fashion and needs to be cleaned up. ## Deliverables Here is the original request from RAC about the attached software. (To install it, you just need to CHMOD 777 the folder) I need to create a script that will help me figure out which images are no longer in use on my webserver. The concept is that I can choose a directory, and the script will scan through all files that end in (.html,.php,.css) and look for files that end in .[login to view URL]). It will then create some XML files based on the result. The form you would fill out to do this is below: Page 1: Generate report <form> Page Types to Scan: <input type="text" name="extensions" value=".txt,.html,.htm,.php, .css"> <br /> Images Types to Look For: <input type="text" name="ImageExtensions" value=".gif,.png,.jpg"> <br /> Start Scan Folder: <input type="text" name="scan directory" value="/users/home/web/"> <br /> Web Root: <input type="text" name="scan directory" value="/users/home/web/"> <br /> Base URL: <input type="text" name="scan directory" value="[http://www.somewhere.<wbr />com/][1]"> <br /> Include all Subdirectories: <input type="checkbox" name="SubDirs" value="Y"> <br /> <input type="submit"> </form> When submitted, this would create 3 xml files. 1 that lists all images referenced from inside of a file, something like this: FILE 1: Image Reference inside of Files <image> <name>[login to view URL]</name> <size>1233</size> <lastmodified>12/12/2008</<wbr />lastmodified> <path>/users/home/web/images/<<wbr />/path> <webpath>[http://www.somewhere.<wbr />com/images/][2]</webpath> <file>[login to view URL]</file> <filepath>/</filepath> <fileurl>[http://www.somewhere.<wbr />com][1]</fileurl> </image> And then an XML file that details all the images found in the file system, like this: File 2: Images in folders <file> <name>[login to view URL]</name> <size>1233</size> <lastmodified>12/12/2008</<wbr />lastmodified> <path>/users/home/web/images/<<wbr />/path> <webpath>[http://www.somewhere.<wbr />com/images/][2]</webpath> </file> And then an XML file that lists all the images that are on the server, but not referenced inside of a file File 3: Images in Folders, that are NOT referenced inside of Files. <file> <name>[login to view URL]</name> <size>1233</size> <lastmodified>12/12/2008</<wbr />lastmodified> <path>/users/home/web/images/<<wbr />/path> <webpath>[http://www.somewhere.<wbr />com/images/][2]</webpath> </file>
ID del proyecto: 3236686

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 16 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$102 USD en 2 días
5,0 (286 comentarios)
7,1
7,1
5 freelancers están ofertando un promedio de $93 USD por este trabajo
Avatar del usuario
See private message.
$106,25 USD en 2 días
5,0 (130 comentarios)
6,4
6,4
Avatar del usuario
See private message.
$85 USD en 2 días
4,8 (243 comentarios)
6,4
6,4
Avatar del usuario
See private message.
$85 USD en 2 días
5,0 (26 comentarios)
3,7
3,7
Avatar del usuario
See private message.
$85 USD en 2 días
4,9 (10 comentarios)
3,7
3,7

Sobre este cliente

Bandera de UNITED STATES
Studio City, United States
5,0
24
Miembro desde feb 28, 2008

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.