I am trying to import large number of tweets from Twitter by a user, so I want that when user clicks on Import I start a background process that can import tweets for the user, considering PHP is not multithreaded , what I can do to achieve this task, After googling i came across exec
command , is that the only option, do we have better libraries around?
- What I want to create is job handler in the backend so user can continue surfing the site meanwhile his tweets are being imported in DB? Thanks