FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php curl only saves a cookie with tempnam()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php curl only saves a cookie with tempnam() [message #180772 is a reply to message #180770] Sun, 17 March 2013 16:42 Go to previous messageGo to previous message
doug[1] is currently offline  doug[1]
Messages: 10
Registered: March 2013
Karma:
Junior Member
> Did you copy/paste this code? Or did you type it in? Are you sure this
> is the code being executed?
> Because there is no way the code would generate the results you claim.

Yes, I pasted in this code. I am sure it is the func being executed because changes like I mentioned, commenting, etc, are having effect.

I am calling it with this
function get_bitly_short_url($url,$format='txt') {
$connectURL = 'http://api.bit.ly/v3/shorten?login= '.bitlyLogin.'&apiKey='.bitlyApiKey.'&uri='.urlencode($url).'&f ormat='.$format;
return trim(curl($connectURL, array('caller'=>__FUNCTION__)));
}
Which does indeed create the shorturls. Also, I can echo $caller successfully. Also, I can rename the func and get the same results. I just verified all of this.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: all done
Next Topic: validation of a text box input...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 18:10:48 GMT 2024

Total time taken to generate the page: 0.04552 seconds