Jump to content

How to run background process in PHP


sithik_frns

Recommended Posts

Hi,

 

I have a PHP application in which I get data from users and validate them. On successful validation I should initiate a process which may take time to complete. So I need to execute the process in the background.

 

I tried exec and all. Unfortunately I can't bring what I need.

 

Can someone here help me in this regard?

 

Thanks in advance!

Link to comment
Share on other sites

Thanks for your reply buddy.

 

I actually want to initiate a PHP script (Say 'Job A') in background on completion of a validation script (Say 'Validation'). Once Job A is initiated, Validation script will tell the visitor as 'Your request has been submitted' and this should not wait for Job A to complete its job.

 

Since there should not be any delay I dont want to use Crons.

 

 

Link to comment
Share on other sites

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.