PHP timing out

Status
Not open for further replies.

adamfek

New Member
Messages
8
Reaction score
0
Points
0
Hi,

Im creating a feature for a band to use whereby there are 15 of them. as there are 15 of them and they have gigs throughout the UK i have written a feature which allows them easily organise transport i.e. who is using the coach and who isnt, the manager creates the gigs and emails are sent to each of them with the relevant links for them to click on which updates the flat file database.
when a gig is edited the links are resent and the database is edited, however this part takes a short while, the databse updates but the emails arent sent. I changed the code so that the page doesnt redirect so i can view output of it to see whats going on, since this change was made the page times out and my account got suspended (1 of 3). Do you have any suggestions as to how i can stop this happening again?

Thanks.

Adam
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Very hard to know what is causing the problem without seeing the code.
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
use a 3rd party library (such as phpMailer) to send the mails, also, check your code, there may be an infinite loop somewhere.
 
Status
Not open for further replies.
Top