Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
I'm migrating an existing site into a newly developed site. Most of the SQL stuff is straight forward, but I'm just wondering about migrating files. All the files need to go through an image re-size script (which already exists). Does anyone have any experience with this, any common pitfalls?
My plan is to write a custom script that will open, resize and move the files but I've never done it before so I'm not sure if there's an established proceedure for doing this.
I have actually managed to write a script that does exactly what I need but I think it's timing out as it's notfinishing the job. I have used set_time_limit(900); but I think the browser maybe timing out - not the script
I've managed to get it working. It turned out to be a permissions thing on some of the original files - php didn't have permission to open the file that's why it worked for some and not for others. I guess it's always the most obvious thing!