Jump to content

php.ini


astralaaron
 Share

Recommended Posts

max_execution_time will do that. But honestly if any script is taking more than 30 seconds to run, then something isn't right(perhaps an infinite loop is occuring?).

Link to comment
Share on other sites

max_execution_time will do that. But honestly if any script is taking more than 30 seconds to run, then something isn't right(perhaps an infinite loop is occuring?).
well its uploading a video - my friends computer in canada only has dsl connection so its pretty slow...i was able to upload videos but then we re-installed WAMP5 server and now it times out at 30 seconds...
Link to comment
Share on other sites

Use an FTP server isntead. FTP keeps track of how much the file is completed, if it was corrupted during trasmission, etc.XAMPP includes FileZilla FTP server, which should provide sufficient for your needs. If you need things done more automatically, PHP could ping the FTP server at regular intervals (or at a user demand) and fetch the file from there if it matches certain criterias, (re)moving it after the check. Otherwise, I'm afraid you'll have to either grant your users full rights to a certain directory (which could be scary if your site has lots of traffic), and manually sort out everything submitted.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...