Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

141
Vistas
How do deal with PHP timeout while downloading/zipping images from web

I've written a short script that takes a user uploaded .csv and downloads images from the web (column A), renames them by a barcode (column B), and then zips those images and downloads it for the user.

The script works fine if the .csv only has 10-100 rows, but the client is wanting to upload a .csv with 1000s of rows and we're now getting server timeout errors (as expected).

I set the max execution time to 0:

ini_set('max_execution_time', '0');

But that didn't do the trick.

The end goal is to simply download all the images and rename them by the barcodes. I thought about maybe splitting the task into multiple chunks of 100 images or so, but even then, I don't know how to get around a server timeout.

Does anyone have any suggestions or workarounds for a way to achieve something like this?

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda