I made a serialization of an object in .php
whose result is very different from the common one:
example.com/script.php?name=joao&same=silva&endereco=rua+dos+bobos+zero+amp&cpf=11111111111 ')
This is the result:
example.com.php? query = O: 8: "Query": 4: {s: 10: "resultType"; s: 8: "products"; s: 6: "search"; s: 12: "n": s: 9: "records"; N;}
Code:
$string = serialize($consulta);
$url = 'Location:'.'exibir.php?consulta='.$string;
header($url);
What's inside the object:
Consulta Object ( [resultType] => produtos [search] => lapis caneta [inicio] => [registros] => )