<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Md Emran Hasan (phpfour) - Latest Comments in HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://phpfour.disqus.com/</link><description>This is Emran Hasan's blog for PHP, CSS, XHTML, JavaScript, Web 2.0, AJAX, Usability, and Web Standards related views, ideas, and sharing.</description><language>en</language><lastBuildDate>Wed, 22 Apr 2009 23:03:48 -0000</lastBuildDate><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-8594543</link><description>Thanks for making this useful class available. I was wondering if there's a way to download a zip file using this utility - to be unzipped later.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dean</dc:creator><pubDate>Wed, 22 Apr 2009 23:03:48 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-6383769</link><description>The library supports both, so it's the choice of the dev :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Wed, 18 Feb 2009 16:49:35 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-6383731</link><description>Yes, it's similar to how you add a param:&lt;br&gt;&lt;code&gt;$http-&amp;gt;addCookie('logged_in_user'  , '747');&lt;/code&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Wed, 18 Feb 2009 16:47:29 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-6383654</link><description>Fixed. Thanks for noticing.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Wed, 18 Feb 2009 16:44:41 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-5627743</link><description>Any reason the redirects on fsockopen route don't support 301 redirects? &lt;br&gt;&lt;br&gt;--snip--&lt;br&gt;if ($this-&amp;gt;status == '302' &amp;&amp; $this-&amp;gt;redirect == TRUE)&lt;br&gt;--snip--</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Kierznowski</dc:creator><pubDate>Wed, 28 Jan 2009 17:05:44 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-5467921</link><description>Could you please show me an example of the usage of cookies inside this class?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob</dc:creator><pubDate>Thu, 22 Jan 2009 13:39:53 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-4390248</link><description>What's the point of cURL if fsockopen works?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pwb</dc:creator><pubDate>Sat, 13 Dec 2008 16:03:33 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-4072417</link><description>Yes, of course !</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Sun, 30 Nov 2008 11:45:40 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-4044107</link><description>Is it possible with this class to post data, so they can be fetch on the other side with: file_get_contents("php://input")?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eydun</dc:creator><pubDate>Thu, 27 Nov 2008 19:35:55 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2999102</link><description>Well, it should follow redirects with or without cURL. I will have a look&lt;br&gt;into it and will update the source if needed. Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Sat, 11 Oct 2008 12:53:09 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2959027</link><description>It seems that fsockopen method doesn't follow redirects.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vince</dc:creator><pubDate>Thu, 09 Oct 2008 05:08:04 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2924850</link><description>Thanks for sharing the class.&lt;br&gt;&lt;br&gt;It is quite helpful in php4 and php5. Love how it degrades automatically if there is no CURL. Have you though of supporting stream wrappers?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brainbug</dc:creator><pubDate>Tue, 07 Oct 2008 18:13:26 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838923</link><description>Hi,&lt;br&gt;&lt;br&gt;with allow redirect set to true if i call a page with status code 302 i can't read the headers of destination page, i read only the headers of first page.&lt;br&gt;&lt;br&gt;it's normal?&lt;br&gt;&lt;br&gt;can you help me?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;ciao&lt;br&gt;riccardo</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H-BES</dc:creator><pubDate>Fri, 27 Jun 2008 06:37:40 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838916</link><description>When use the class ,I notice&lt;br&gt;the cURL require a website need longer time then fsockect.is it?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard</dc:creator><pubDate>Tue, 15 Apr 2008 08:43:54 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838919</link><description>@Andy Gelox: You're welcome. The class tries to use cURL by default, but if cURL is not installed, it automatically falls back to fsockopen. And you can specify by yourself in case you need to. Cheers!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Wed, 12 Mar 2008 10:39:30 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838920</link><description>Thx for this awesome class. How to make it aouto detect for curl or dsockopen ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andy Gelox</dc:creator><pubDate>Wed, 12 Mar 2008 05:56:01 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838921</link><description>cool work.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tapos</dc:creator><pubDate>Fri, 15 Feb 2008 11:44:58 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838918</link><description>@jack: Great to know that it came to help you exactly in the manner i expected it would. Great to know that you're using it in your project :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Wed, 13 Feb 2008 12:48:58 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838917</link><description>Thanks for the code.  I found it in the Code Igniter forums. I turned it into a library for use in my most recent web app.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jack</dc:creator><pubDate>Wed, 13 Feb 2008 12:27:27 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838913</link><description>Simply GENIUS!&lt;br&gt;Excellent structure, easy to use and ???????? documentation.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anis uddin Ahmad</dc:creator><pubDate>Mon, 21 Jan 2008 02:38:13 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838912</link><description>Wow, It's a nice theme. Tobe menu gula dekhte ekto asubidha hocche r ki :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jahedur Rahman</dc:creator><pubDate>Sun, 20 Jan 2008 23:20:07 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838911</link><description>Thanks Hasin. And yes, i would be honored if this is added to orchid.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Sun, 20 Jan 2008 13:14:48 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838910</link><description>Well done Batman! A very good one. I was thinking that we need such a class library for orchid. Can I please add your class with default distribution?&lt;br&gt;&lt;br&gt;You are doing excellent. Keep up the good work. Godspeed.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H2</dc:creator><pubDate>Sun, 20 Jan 2008 13:12:29 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838909</link><description>Great job Emran vai. Finally you released this. :)&lt;br&gt;yea its a good idea if you add this to orchid framework. :)&lt;br&gt;&lt;br&gt;cool man :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">masud</dc:creator><pubDate>Sun, 20 Jan 2008 11:47:24 -0000</pubDate></item><item><title>Re: HTTP Class for PHP (supports both cURL and fsockopen)</title><link>http://www.phpfour.com/blog/2008/01/20/php-http-class/#comment-2838908</link><description>Yeah Omi bhai - i've already planned that :) Just not been able to log into the SVN lately :(</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Sun, 20 Jan 2008 11:34:44 -0000</pubDate></item></channel></rss>