@@ 569-578 (lines=10) @@ | ||
566 | $ar = $this->UrlToArray($urlStr); |
|
567 | $i = 1; |
|
568 | $is_found = 0; |
|
569 | while (count($ar) > $i) |
|
570 | { |
|
571 | if ($strName == $ar[$i][0]) |
|
572 | { |
|
573 | //已经有同名的参数了 |
|
574 | $ar[$i][1] = $strValue; |
|
575 | $is_found ++; |
|
576 | } |
|
577 | $i++; |
|
578 | } |
|
579 | if (1 > $is_found) |
|
580 | { |
|
581 | //没有找到同名的参数 |
@@ 66-75 (lines=10) @@ | ||
63 | $ar = UrlToArray($urlStr); |
|
64 | $i = 1; |
|
65 | $is_found = 0; |
|
66 | while (count($ar) > $i) |
|
67 | { |
|
68 | if ($strName == $ar[$i][0]) |
|
69 | { |
|
70 | //已经有同名的参数了 |
|
71 | $ar[$i][1] = $strValue; |
|
72 | $is_found ++; |
|
73 | } |
|
74 | $i++; |
|
75 | } |
|
76 | if (1 > $is_found) |
|
77 | { |
|
78 | //没有找到同名的参数 |