我正在用PHP语言构建一个类似RESTS的服务,它应该接受一个大的JSON post作为主要数据(我发送和读取数据很像这里讨论的:)
问题是PHP给了我以下警告:
<b>Warning</b>: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in <b>Unknown</b> on line <b>0</b><br />
有没有办法让PHP不计算输入变量(或者我应该
我有一大串base64图像数据(大约200K)。当我试图通过输出带有正确标题的解码数据来转换数据时,脚本死了,就好像没有足够的内存一样。我的Apache日志中没有任何错误。下面的示例代码适用于小图像。如何对大图像进行解码?
<?php
// function to display the image
function display_img($imgcode,$type) {
header('Content-type: image/'.$type);
header('Content-length: '.strlen($img