简体   繁体   English

我怎么知道我的PHP $ _Get最大值是什么

[英]How can I tell what my PHP $_Get max value is

I've installed a Magento payment gateway extension, and one of the caveats of the extension is "Some php / server configurations disallow access to the $_GET variable when it contains very long strings (2000+ characters) - if your server does this the extension will not work". 我已经安装了Magento支付网关扩展,扩展的一个警告是“有些php / server配置在包含非常长的字符串(2000+个字符)时禁止访问$ _GET变量 - 如果你的服务器这样做了扩展将无法正常工作“。

I think this is my case, because the extension is not working, and the log shows a result cut off at 549 characters. 我认为这是我的情况,因为扩展程序不起作用,日志显示结果被截断为549个字符。 The error is similar to someone else who was able to resolve it with php.ini using suhosin.get.max_value_length = 4000 . 该错误类似于能够使用suhosin.get.max_value_length = 4000使用php.ini解析它的其他人。

I tried that and php_value get.max_value_length 4096 in my .htaccess, but it did not fix it. 我在.htaccess中尝试了这个和php_value get.max_value_length 4096 ,但它没有解决它。 I'm on shared hosting. 我在共享主机上。 My phpinfo does not show suhosin, and doesn't have any info related to the $_Get variable. 我的phpinfo没有显示suhosin,也没有任何与$ _Get变量相关的信息。

Short of contacting my host, which I may do, how can I tell if my $_Get variable doesn't allow >549 characters? 没有联系我的主机,我可以做,如何判断我的$ _Get变量是否不允许> 549个字符? Can I increase it myself, or do I need my webhost to do this? 我可以自己增加它,还是需要我的虚拟主机来执行此操作?

2013-06-25T02:10:09+00:00 DEBUG (7): MageBaseDps successAction result v5vQIupexyLD3UxBouvx2DLStUSsBqXshGHhPczf-iD7ZVGZvQP8nHhPeSizAJ5j0LqVHgqe2c9h24swuCbGALUGWk041aZM82uCFpLUzLZmKAo5qKAQ4EoYGAwao-GwG96Lk3bK2dU9dqufK9MA6LPVkO62nWVFnJj4i83mQDTts5-r4dq1n3bhqVCE0tR8fW6vgMxVaSe2vI1lqa-3IaHb_iRFBrpSFS91tMX4gOmumJg2OwLGNqyywdmkiH1ywmYDkr46yYjLEsv5h5jTJtF8jtXXJQGOPQ6RE4bxZladjrVtYZRoDOlTy6rK09ktXYKnU8vX8frLOArU8XsCULOFZ-0YYjk0j8Yl-LoWzhlT7ooqDoAzLxtD0R2n53_avOafOqUYFst6vJMPop5fhrZxt2h9ycF50Ir9lZK4MIHsIXCszojrdAWZiDrtOaKzlIUwvO0u2qbr2rkVyA6heTug_ONiyxw7SweEUYKpb8x2059XaG1bqbB6s39e_9cJ_bNUJwd6p1MGtehXuX0wJANWd2Qi2qO-dM
2013-06-25T02:10:09+00:00 DEBUG (7): 301039 MageBaseDps User returned to Success Url

The GET max length is not PHP-controlled, it's controlled by the web server (like Apache). GET最大长度不受PHP控制,它由Web服务器(如Apache)控制。

See this for more info 有关详细信息,请参阅此

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以添加什么来获取我的.php脚本中的域值 - what can i add to get value of domain in my .php script 我如何才能知道php脚本在完成加载之前在做什么? - How can I tell what my php script is doing before it finishes loading? 在 PHP 中,如何判断哪些值与数组中的特定值相邻? - In PHP, how can I tell what values are adjacent to a specific value in an array? 如何让 MAMP 告诉我 php 代码出了什么问题? - How can I get MAMP to tell me what went wrong with php code? 如何判断PHP中文件资源当前位于哪一行? - How can I tell what line a file resource is currently “on” in PHP? 如何判断我的网络上的计算机是否已启用PHP? - How can I tell if a machine on my network is on with PHP? 如何在PHP的第二次调用中获取变量值? - How can i get the variable value in my second call in PHP? Facebook 登录按钮 - 我可以让 Facebook 告诉用户我的应用程序正在获取哪些信息吗? - Facebook Login Button - Can I get Facebook to tell the user what info my app is getting? 当PHP无法更改文件中的标志时,如何分辨我的网站上的错误? - How to tell what the error is on my website when PHP can't change flag in a file? 我怎么知道我的桌子是空的? - How can I tell if my table is empty?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM