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? Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
SeanHarding Posted October 30, 2008 Author Share Posted October 30, 2008 Cheers Guys ty for the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.