PHP $_GET and $_POST undefined problem

后端 未结 5 711
广开言路
广开言路 2020-12-06 14:22

I\'m new to PHP so I apologize if this is a simple problem...

I am moving a PHP site from one server to another. The new server is IIS 7.0, PHP 5.2.1, with short op

5条回答
  •  甜味超标
    2020-12-06 14:48

    I suggest to optimize the code for reading:

    if (isset($_GET['confirm']) && ($_GET['confirm'] >= 13 && $_GET['confirm'] <= 16)) 
    

    And I totally agree with Josh's proposal.

提交回复
热议问题