NYCPHP Meetup

NYPHP.org

[nycphp-talk] cURL question

Rukbat rukbat at webdingers.com
Thu Aug 4 22:10:52 EDT 2011


A tutorial on cURL or a tutorial on how to create a URL from a file spec?
> Guys...
>
> I actually ran into the same problem and never could resolve it.
> Anyone know of a tutorial online anywhere? It would prolly be valuable
> if someone put one online.
>
> bob
>
> On Thu, Aug 4, 2011 at 2:25 PM, Federico Ulfo<rainelemental at gmail.com>  wrote:
>> @Darryle, Yup :) and in september there it will be released Rain CMS beta
>> @Rob, is just a regular header for a GIF image, I don't see anything strange
>> in that, if you can provide me the link I might help you
>>
>>
>>
>> On Thu, Aug 4, 2011 at 2:57 PM, Darryle Steplight<dsteplight at gmail.com>
>> wrote:
>>> Hey Federico, Are you that guy that created Rain Framework? I heard
>>> good things about it :) .
>>>
>>> On Thu, Aug 4, 2011 at 2:51 PM, Rob<y2rob at aol.com>  wrote:
>>>> i'm writing out the response and headers out to the error log just to
>>>> make
>>>> sure there isn't any funny business with the ouput in the browser:
>>>> [Thu Aug 04 14:22:15 2011] [error] [client 127.0.0.1] GIF89a\x01
>>>> [Thu Aug 04 14:22:15 2011] [error] [client 127.0.0.1] HTTP/1.1 200
>>>> OK\r\nCache-Control: no-cache\r\nPragma: no-cache\r\nContent-Type:
>>>> image/gif\r\nExpires: -1\r\nServer:
>>>> Microsoft-IIS/7.0\r\nX-AspNet-Version:
>>>> 2.0.50727\r\nSet-Cookie: ibikukiuno=s=&h=&v=0; domain=fakedomain.com;
>>>> expires=Sat, 04-Aug-2012 18:20:40 GMT; path=/; HttpOnly\r\nX-Powered-By:
>>>> ASP.NET\r\nDate: Thu, 04 Aug 2011 18:20:39 GMT\r\nContent-Length:
>>>> 807\r\n\r\nGIF89a\x01
>>>>
>>>> thanks for the response :)
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: jean-baptiste verrey<jeanbaptiste.verrey at gmail.com>
>>>> To: NYPHP Talk<talk at lists.nyphp.org>
>>>> Sent: Thu, Aug 4, 2011 2:25 pm
>>>> Subject: Re: [nycphp-talk] cURL question
>>>>
>>>> what do you mean by " the response just renders the image with the url"
>>>> ?
>>>> you mean the url is written in the image OR the url is written after the
>>>> data (that is the code of the image)?
>>>>
>>>> On 4 August 2011 18:22, Rob<y2rob at aol.com>  wrote:
>>>>> does any know of a way to grab an image url that gets returned as a
>>>>> response from a curl call?  what's happening is that i am making a ping
>>>>> call
>>>>> to a service and they render a pixel, but within the url of the image,
>>>>> there
>>>>> is data that i need to parse out.  i've checked the headers and there
>>>>> isn't
>>>>> a file location and the response just renders the image with the url.
>>>>>
>>>>> any ideas to how to get this?




More information about the talk mailing list