【问题标题】:Undefined index: DATA in icici_standard.php未定义索引:icici_standard.php 中的数据
【发布时间】:2014-12-10 08:10:42
【问题描述】:

未定义索引:icici_standard.php 中的数据

$data = html_entity_decode($this->request->post['DATA']);
$old_digest = strtolower($this->request->post['EncryptedData']);

【问题讨论】:

  • 问题是什么?

标签: php e-commerce


【解决方案1】:

试试下面的代码:

if(isset($this->request->post['DATA'])) {
    $data = html_entity_decode($this->request->post['DATA']);
} else {
    $data = '';
}

if(isset($this->request->post['EncryptedData'])) {
    $old_digest = strtolower($this->request->post['EncryptedData']);
} else {
    $old_digest = '';
}

【讨论】:

    猜你喜欢
    • 2019-10-07
    • 2016-07-14
    • 2012-12-08
    • 2017-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-03
    • 1970-01-01
    相关资源
    最近更新 更多