1

I have an issue. I am accessing a Data Migration application where i am transferring 6K records from a CSV file to Mysql database using PHP. The server(Ubuntu) is at different location. what i am noticing is that in my local host environment it is working fine.(There are 3 different scripts for validations,insertion and update) but when i am uploading the same file from Mozilla browser using server application the first script executed for two times and then after that it is showing "The connection was reset" but when i used Chrome browser it worked fine.Initially i analyzed the reason that it is not able to return any value to browser within certain interval of time and that's why the browser would have sent another request and for that i put blank echo statements in between the script but even though it is not working in Mozilla Firefox. i am using recent version of Firefox. One more thing i would like to add in back end it is database query is executing executing. i have used set time limit and ignore user abort. Please Help...

4

1 に答える 1

0

返信が遅れて申し訳ありません。解決策をずっと前に見つけました。システムコールを使用して次のページ(実行する必要がある)を呼び出し、同時に現在のページをホームページに参​​照しています。このようにして、実際の処理がバックエンドであり、ブラウザのリクエストに関連する問題は発生していません。以前のケースでは、php を介して複雑な mysql コードを実行しているだけで、ブラウザは出力を取得していなかったため、ある時点で複数のリクエストが発生していました。

于 2013-01-25T10:39:39.410 に答える