Jump to content

Running script from multiple pages?


grim1208

Recommended Posts

I am not sure what to google to get help with what it is I am trying to do.

 

I have php script that is doing a large database insertion, and sending an email to a use of the site.  It takes a very long time to run the email script, making the user wait 2-3 minutes to populate the the thank you page. 

 

What I would like to do, is run the database insertion script and load the thank you page, and on the side, call my email script that runs out on it's own, so the user doesn't have to wait for the emailing script to be written and sent.

 

I have done a bit of research in the php manual under system, but to no prevail.

 

Please help phpFreaks :)

Link to comment
https://forums.phpfreaks.com/topic/149701-running-script-from-multiple-pages/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.