Argelius
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 4047 |
|
|
| 07 Nov 2015 10:05 PM |
| If my data gets compressed, how do I uncompress it on the web server using PHP? |
|
|
| Report Abuse |
|
|
| |
|
Argelius
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 4047 |
|
|
| 07 Nov 2015 10:17 PM |
But what is data? Do I have to do
gzdecode($_POST["var"]) for every variable? |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2015 10:24 PM |
| Post a table? JSONencode it? |
|
|
| Report Abuse |
|
|
Argelius
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 4047 |
|
|
| 07 Nov 2015 10:50 PM |
thx for your help, I ended up doing
$data = gzdecode(file_get_contents("php://input")); parse_str($data,$post);
and then I could use $post where I would normally use $_POST |
|
|
| Report Abuse |
|
|
| |
|