PHP and jQuery progress bar while parsing

前端 未结 4 836
走了就别回头了
走了就别回头了 2021-01-03 05:52

I was wondering how I could go about making a progress bar for parsing HTML data. Essentially the user searches something and I parse another website. I tried doing it with

4条回答
  •  时光取名叫无心
    2021-01-03 06:48

    If you use PHP for the parsing part then this means that you should somehow get information from that process. This also means that you have to (probably) make ajax requests to another php script which monitors the first one or at least gets some log information from it. I don't think that PHP is the right choice for that. I'll suggest to use nodejs. There, you are able to implement real time socket communication, which is kinda easy.

提交回复
热议问题