Jump to content

Recommended Posts

For a few weeks I have been baffled why my script would send data before it had finished processing the form. I have to say thanks to all who helped me in the weeks of frustration i endured as to why.

 

Nobody ever told me that some servers have a 30 sec limit on execution of scripts!!

 

I have since worked out that I had to add code to allow the execution time to be extended. Why did no-one pick up on this and tell me and the world when I was asking for weeks as to my problem?

Link to comment
https://forums.phpfreaks.com/topic/141170-solved-execution-time-of-php-script/
Share on other sites

The execution limit information you are complaining about is in the php manual and if you were developing and debugging your code on a system with error_reporting set to E_ALL and display_errors set to ON (or if you had checked your web server error log), you would have seen the the error messages telling you that the execution limit had been exceeded.

I'm afraid no-one told me this, and as my script was progressing it was always running, I jump in deep with a form of over 200 fields.

I learned how to take it from an array list to a formatted html email with all the form data displayed in a beautiful table in the email in php.  I bought and read a few books and completed the tutorials to the end and I asked loads of times in posts why this was happening.

I only discovered for myself last night by chance why this was happening from speaking to one of my old lecturers.

It's easy for others to presume that every-one knows what they know and does what they do. I am greatful though for the amount of help at times i've received in this forum.

All i have to do now is finish it as I set out in the beginning. :)

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.