snivek Posted January 7, 2007 Share Posted January 7, 2007 I have a script that runs against uploaded image files. It extras EXIF data, creates thumbs, and moves the image. When there are a lot of files it takes longer for the script to finish doing everything that it does. Is there any downside to setting set_time_limit to a very high limit or is there another more elegant way of preventing this timeout? Link to comment https://forums.phpfreaks.com/topic/33176-importing-images-timeout/ Share on other sites More sharing options...
Jessica Posted January 7, 2007 Share Posted January 7, 2007 Set a limit of say, 10 files, and have the user page through. So if there are 20 files, they will have to run it twice. Link to comment https://forums.phpfreaks.com/topic/33176-importing-images-timeout/#findComment-154760 Share on other sites More sharing options...
snivek Posted January 7, 2007 Author Share Posted January 7, 2007 There isn't that much interaction. I basically intend for them to upload a zip file and have the script do it thing. Worst case I could write a UI for the import process but was hoping i would not have to. Link to comment https://forums.phpfreaks.com/topic/33176-importing-images-timeout/#findComment-154762 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.