English 中文(简体)
对两个不同的服务器进行同样的询问,但一个服务器似乎失败。
原标题:performing the same query on two different servers but one seems to fail
  • 时间:2011-11-21 18:09:17
  •  标签:
  • php

我与两个不同的主办方分享了东道方。

我的气温最小(无压力)

我所做的一切只是从一张桌子中听到一些信息,而没有cra:

$loop_query = "SELECT * FROM my_table";

$sl = mysql_query($loop_query, $db_connect);

while ($db = mysql_fetch_array($sl)){

echo $db[ name ], $db["age"];}

现在,我是在<>Server A上测试的,所有东西都行得起。

但在<>Server B上,它失败。

我有一页空白或一页有浏览器错误:连接由远程服务器关闭。

现在,在服务器B上,我有几页其他页面,涉及非行的问询,而且这些网页是罚款的。

I m完全消失。

任何帮助都会受到高度赞赏。

最佳回答

检查:

  1. 您在不工作的服务器上的档案中具有超常性。 前面我看到这种情况发生,难以解冻。

  2. 核对贵方共有的差错记录,应在板块上查到。

  3. 核对网站夹中的误差(或紧接上面)。

  4. 在我sql_query职能呼吁之后,以及在 lo之前,都做了回应。 采用对应的神秘面纱,看看是否有错误。

如果你在记录档案中发现问题,请回答并更新问题。

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签