The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to pass arrays in URL

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #33363

    Hello, I was wondering if i could pass an array from one page to another using php. I don’t know if it is wise to pass an array. If there is an alternative solution please help me out.


    sessions are risky users may not have enabled it on their browsers. I found another way to do it i don’t know if there are other ways to do it(there must be) …

    On page1 do the following:

    $serialize = serialize($array);
    echo “Go “;


    and on page 2

    echo $name . “


    and it worked :)


    Using POST instead of GET would make the url look a lot less ugly

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.