1
Votes

Update twitter status with php without cUrl - NOcURL

Posted By motyar4infoshore on Feb 23, 2010   FROM: motyar.blogspot.com report abuse

Twitter PHP script without cURL, Twitter PHP Script, Twitter From a PHP Script

One of the reasons Twitter is so popular, is its API that allows you to do anything. Here’s how you can tweet without using cURL with PHP.
We have two options-

With stream context
Php function stream_context_create has the magic. It creates and returns a stream context with any options passed.

With socket programing
PHP has a very capable socket programming API. These socket functions include almost everything you need for socket-based client-server communication over TCP/IP. fsockopen opens Internet or Unix domain socket connection.

Read Full Story from motyar.blogspot.com

Post new comment

  • Allowed HTML tags: <a> <strong> <ul> <ol> <li> <table> <tr> <td> <tbody> <embed> <object> <param> <b> <p> <i> <div> <h3> <h4> <br> <img> <style>
  • Lines and paragraphs break automatically.

More information about formatting options