Is it possible to have PHP do something for a certain amount of time, and if the time is reached for it to stop ?
Basically I'm trying to allow a user to remotely upload a file, but if the file cannot be reached then for the script ti timeout with a custom error. I don't really want to use the setting in php.ini because I cant control the way that behaves.
Any help would be appreciated.
Thanks in advance.
Basically I'm trying to allow a user to remotely upload a file, but if the file cannot be reached then for the script ti timeout with a custom error. I don't really want to use the setting in php.ini because I cant control the way that behaves.
Any help would be appreciated.
Thanks in advance.
Comment