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

Home » Imported messages » comp.lang.php » Passing complex data back when using cURL
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Passing complex data back when using cURL [message #180171] Sun, 20 January 2013 19:42 Go to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
I need to take an array that contains arrays and pass it back to
the script that asked for it using cURL. I have set
CURLOPT_RETURNTRANSFER to 1 so the data comes back to a variable
in the calling program.

The data is alphaneumeric and contains "@" as part of email
addresses.

I want to have the data back in an array or arrays in the calling
script.

I looked at serialize, but fear that the null bytes would not
transfer properly.

I looked at json_encode/decode but wonder about the options.

What would be the best way to move the data from the server back
to the cURL client ?

-bill
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: cURL and $_SESSION
Next Topic: define ('NL', "<br />"); can I define a constant var ?
Goto Forum:
  

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

Current Time: Wed Nov 27 09:33:15 GMT 2024

Total time taken to generate the page: 0.03819 seconds