This code always has a 504ProxyTimeout error about 2 MB. why? At the end of this post, the code was edited by helloqhq from 2010-12-2310: 03: 26. when $ fucknum is large, for example, 1000, 504 & nbsp; Proxy & nbsp; A Timeout error occurs. after an error is reported, the program will not be executed again. it seems that the code $ fucknu is always running at around 2 MB. why is the 504 Proxy Timeout error?
This post was last edited by helloqhq at 10:03:26
When $ fucknum is large, for example, 1000, the 504 Proxy Timeout error will occur, and the program will not continue to run after the error is reported, as if it has stopped, $ the fucknum value is less than an hour. why? Please advise
Function autonewnewegg ($ arr ){
$ Fucknum = intval ($ arr ['fucknum']); // # obtain the integer of the number of captured entries
$ Outime = $ fucknum * 2 + 100;
Set_time_limit ($ outime); // you can specify the script execution time.
$ Nextnum = 20; // terminate if 10 consecutive queries do not exist
$ Sn = $ arr ['SN '];
$ Acl = explode ("-", $ sn );
$ Acl_1 = preg_replace ('/[^ 0-9] +/', '', $ acl [1]); // second
$ A = $ B = 0; // twice
While ($ fucknum> 0 ){
$ Arr1 = $ arr2 = array ();
If ($ acl [2] <1000 & $ acl_1 <100 ){
$ Acl [2] = str_pad ("$ acl [2]", 3, '0', STR_PAD_LEFT );
$ Acl_1 = str_pad ("$ acl_1", 2, '0', STR_PAD_LEFT );
$ Acl [1] = "c". $ acl_1;
$ Arr_in = implode ("-", $ acl );
When url?#globals='competitor'{1}}'product'{.}arr_in.'.htm ';
If ($ acl [2] = 999 ){
$ Acl_1 = $ acl_1 + 1;
$ Acl [2] = 001;
} Else {
++ $ Acl [2];
}
} Elseif ($ acl [0] <= 99 ){
$ Acl [0] = str_pad ("$ acl [0]", 2, '0', STR_PAD_LEFT );