elephant.io icon indicating copy to clipboard operation
elephant.io copied to clipboard

problem with read()

Open taihq opened this issue 8 years ago • 1 comments

I send request and receive the response. After refresh send again, the connect are duplicate and receive more response. The result like that : string(990) "42["data-emit",[{"task_id":387,"total_like":1800,"comment":286,"share":21,"view":0},{"task_id":387,"total_like":1800,"comment":286,"share":21,"view":0},{"task_id":387,"total_like":1800,"comment":286,"share":21,"view":0},{"task_id":387,"total_like":1800,"comment":286,"share":21,"view":0},{"task_id":387,"total_like":1800,"comment":286,"share":21,"view":0}]]" How can i clear this?

taihq avatar Nov 16 '17 09:11 taihq

@taihq $r = mb_substr($r, 2)

aquaminer avatar Jul 20 '18 11:07 aquaminer