Bluemix PHP JQuery 许可证错误

Bluemix PHP JQuery license error

我正在 bluemix devOps 中构建一个验证表单。我正在使用 jQuery 并使用 php 来检查数据库中是否已经存在电子邮件地址。使用此代码:

if(error == 0){
            $.post('validateEmail.php', {uEmail:email}, function(data){
                alert(data);
                if(parseInt(data) > 0){
                    $("input[name='email']").after("<div class='emailInput validationError'>"+span_error_start+errormsg[8]+span_error_end+"</div>").addClass("input_error");
                }
                else{
                    $(".myForm").submit();
                }

所以当数据库中已经有一封电子邮件时,它会给我一个 1,否则当我提醒数据时,它会给我一个 0,我得到这个:

  Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
  -->

with a 1 or a 0.

因为它给了我这个文本,所以我的 IF 语句不起作用。有人知道这个错误吗?

我发现了这个问题,我为我的数据库连接添加了一个 php 至极,并且该文件包含出现的文本。所以我删除了该文本并且代码有效!