SeanHarding Posted October 30, 2008 Share Posted October 30, 2008 Is it possible for me to base64_encode and array()... I want to put the encode in the URL to pass the array to another page then decode it on the new page. Is it possible? Link to comment https://forums.phpfreaks.com/topic/130709-base64_encode-and-array/ Share on other sites More sharing options...
GingerRobot Posted October 30, 2008 Share Posted October 30, 2008 To pass an array as a string, you should serialize() it. Link to comment https://forums.phpfreaks.com/topic/130709-base64_encode-and-array/#findComment-678299 Share on other sites More sharing options...
JasonLewis Posted October 30, 2008 Share Posted October 30, 2008 Why does it need to go in the URL? You could store it in a session, then destroy that session on the next page after you've retrieved it. You could probably try to serialize() it, then unserialize() it. But I would use sessions. Link to comment https://forums.phpfreaks.com/topic/130709-base64_encode-and-array/#findComment-678300 Share on other sites More sharing options...
SeanHarding Posted October 30, 2008 Author Share Posted October 30, 2008 Cheers Guys ty for the help. Link to comment https://forums.phpfreaks.com/topic/130709-base64_encode-and-array/#findComment-678321 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.