I have this cookie which indicates 2 items split by /:
cookie packs = 10=BATTLEFIELD 2 + 1=20.00/10=BATTLEFIELD 2 + 1=20.00
$packs = explode("/", rawurldecode($_COOKIE["packs"]));
I need to decode it with urldecode()
, but when I do it I lose the + sign between BATTLEFIELD 2
and 1
, how can I avoid this?