Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

problem with read() #164

Open
taihq opened this issue Nov 16, 2017 · 1 comment
Open

problem with read() #164

taihq opened this issue Nov 16, 2017 · 1 comment

Comments

@taihq
Copy link

taihq commented Nov 16, 2017

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?

@aquaminer
Copy link
Contributor

aquaminer commented Jul 20, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants