{"id":6099,"date":"2014-04-13T02:23:26","date_gmt":"2014-04-13T02:23:26","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/websocket-connection-with-mysql-collection-of-common-programming-errors\/"},"modified":"2014-04-13T02:23:26","modified_gmt":"2014-04-13T02:23:26","slug":"websocket-connection-with-mysql-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/websocket-connection-with-mysql-collection-of-common-programming-errors\/","title":{"rendered":"websocket connection with mysql-Collection of common programming errors"},"content":{"rendered":"<p><strong>DISCLAIMER: This answer is directed to the OPs comments. The scripts presented are, by no means, secure. It&#8217;s preferable to use a third party FW like Ratchet<\/strong><\/p>\n<p>I think you&#8217;re misunderstanding how PHP works. Let me give you an example and build some explanation from that&#8230;<\/p>\n<p>You have a webserver(example.com) with 2 files: a.php and b.php.<\/p>\n<p>a.php<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DISCLAIMER: This answer is directed to the OPs comments. The scripts presented are, by no means, secure. It&#8217;s preferable to use a third party FW like Ratchet I think you&#8217;re misunderstanding how PHP works. Let me give you an example and build some explanation from that&#8230; You have a webserver(example.com) with 2 files: a.php and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6099","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6099"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6099\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}