Jump to content

devil6600

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

devil6600's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks cssfreakie, problem solved, i just copied & paste it...
  2. hi i have built a page that works fine in firefox and chrome but breaks in IE. I am using smarty to manage html. I have attached the screen shot. if you have a desire to see the actual page then i have uploaded it here: anceop.com/jobs and yes its not a spam, i have posted the same question at other forum and they have deleted it considering as spam. any help would be appreciated thanks [attachment deleted by admin]
  3. ( link to my profile - http://anceop.com/info.txt ) hi i have created a website for selling electronic stuff, i would really appreciate if someone can test for weak spots and logical error in it. website: http://anceop.com thanks [attachment deleted by admin]
  4. thanks salathe, it worked exactly what I want... awesome...
  5. hello, thanks for your response, yes its text.
  6. hello, thanks for your response, actually its a text... for example if i simply print smthing like this: echo "Array ( [0] => something...";
  7. Hello, I am using curl to access a particular page and the result is the output as below. Can some one tell me how to read the below text into array? thanks Array ( [0] => Array ( [0] => 0111ec061058 [number] => 0111ec061058 [1] => UNIV [coll_name] => UNIV [2] => 7 [sem] => 7 [3] => KARLI DAVID [name] => KARLI DAVID [4] => yes [NAR1] => yes [5] => yes [NAR2] => yes [6] => yes [NAR3] => yes [7] => yes [NAR4] => yes [8] => yes [NAR5] => yes [9] => yes [NAR6] => yes [10] => no [NAR7] => no [11] => yes [NAR8] => yes [12] => [sub11] => [13] => [sub12] => [14] => [sub13] => [15] => [sub14] => [16] => [sub15] => [17] => [sub21] => [18] => [sub22] => [19] => [sub23] => [20] => [sub24] => [21] => [sub25] => [22] => [sub31] => [23] => [sub32] => [24] => [sub33] => [25] => [sub34] => [26] => [sub35] => [27] => [sub41] => [28] => [sub42] => [29] => [sub43] => [30] => [sub44] => [31] => [sub45] => [32] => [sub51] => [33] => [sub52] => [34] => [sub53] => [35] => [sub54] => [36] => [sub55] => [37] => [sub61] => [38] => [sub62] => [39] => [sub63] => [40] => [sub64] => [41] => [sub65] => [42] => CU [sub71] => CU [43] => CU [sub72] => CU [44] => CU [sub73] => CU [45] => CU [sub74] => CU [46] => CU [sub75] => CU [47] => [sub81] => [48] => [sub82] => [49] => [sub83] => [50] => [sub84] => [51] => [sub85] => [52] => [status1] => [53] => [status2] => [54] => [status3] => [55] => [status4] => [56] => [status5] => [57] => [status6] => [58] => RE [status7] => RE [59] => [status8] => [60] => BE [branch] => BE [61] => 6 [course] => 6 [62] => [result1] => [63] => [result2] => [64] => [result3] => [65] => [result4] => [66] => [result5] => [67] => [result6] => [68] => F [result7] => F [69] => [result8] => [70] => [result_de1] => [71] => [result_de2] => [72] => [result_de3] => [73] => [result_de4] => [74] => [result_de5] => [75] => [result_de6] => [76] => All Theory [result_de7] => All Theory [77] => [result_de8] => [78] => [result_des1] => [79] => [result_des2] => [80] => [result_des3] => [81] => [result_des4] => [82] => [result_des5] => [83] => [result_des6] => [84] => Fail in [result_des7] => Fail in [85] => [result_des8] => [86] => [gnd_total1] => [87] => [gnd_total2] => [88] => [gnd_total3] => [89] => [gnd_total4] => [90] => [gnd_total5] => [91] => [gnd_total6] => [92] => 382 [gnd_total7] => 382 [93] => [gnd_total8] => [94] => [set_total1] => [95] => [set_total2] => [96] => [set_total3] => [97] => [set_total4] => [98] => [set_total5] => [99] => [set_total6] => [100] => 160 [set_total7] => 160 [101] => [set_total8] => [102] => [pr_total1] => [103] => [pr_total2] => [104] => [pr_total3] => [105] => [pr_total4] => [106] => [pr_total5] => [107] => [pr_total6] => [108] => 150 [pr_total7] => 150 [109] => [pr_total8] => [110] => [thmid_total1] => [111] => [thmid_total2] => [112] => [thmid_total3] => [113] => [thmid_total4] => [114] => [thmid_total5] => [115] => [thmid_total6] => [116] => 72 [thmid_total7] => 72 [117] => [thmid_total8] => [118] => [th_total1] => [119] => [th_total2] => [120] => [th_total3] => [121] => [th_total4] => [122] => [th_total5] => [123] => [th_total6] => [124] => 0 [th_total7] => 0 [125] => [th_total8] => ) [1] => Array ( [0] => 0103ec061020 [number] => 0103ec061020 [1] => NCT [coll_name] => NCT [2] => 7 [sem] => 7 [3] => Ron MALIK [name] => RON MALIK [4] => yes [NAR1] => yes [5] => yes [NAR2] => yes [6] => yes [NAR3] => yes [7] => yes [NAR4] => yes [8] => yes [NAR5] => yes [9] => yes [NAR6] => yes [10] => no [NAR7] => no [11] => yes [NAR8] => yes [12] => [sub11] => [13] => [sub12] => [14] => [sub13] => [15] => [sub14] => [16] => [sub15] => [17] => [sub21] => [18] => [sub22] => [19] => [sub23] => [20] => [sub24] => [21] => [sub25] => [22] => [sub31] => [23] => [sub32] => [24] => [sub33] => [25] => [sub34] => [26] => [sub35] => [27] => [sub41] => [28] => [sub42] => [29] => [sub43] => [30] => [sub44] => [31] => [sub45] => [32] => [sub51] => [33] => [sub52] => [34] => [sub53] => [35] => [sub54] => [36] => [sub55] => [37] => [sub61] => [38] => [sub62] => [39] => [sub63] => [40] => [sub64] => [41] => [sub65] => [42] => 50 [sub71] => 50 [43] => 52 [sub72] => 52 [44] => 58 [sub73] => 58 [45] => 36 [sub74] => 36 [46] => 60 [sub75] => 60 [47] => [sub81] => [48] => [sub82] => [49] => [sub83] => [50] => [sub84] => [51] => [sub85] => [52] => [status1] => [53] => [status2] => [54] => [status3] => [55] => [status4] => [56] => [status5] => [57] => [status6] => [58] => RE [status7] => RE [59] => [status8] => [60] => BE [branch] => BE [61] => 6 [course] => 6 [62] => [result1] => [63] => [result2] => [64] => [result3] => [65] => [result4] => [66] => [result5] => [67] => [result6] => [68] => P [result7] => P [69] => [result8] => [70] => [result_de1] => [71] => [result_de2] => [72] => [result_de3] => [73] => [result_de4] => [74] => [result_de5] => [75] => [result_de6] => [76] => [result_de7] => [77] => [result_de8] => [78] => [result_des1] => [79] => [result_des2] => [80] => [result_des3] => [81] => [result_des4] => [82] => [result_des5] => [83] => [result_des6] => [84] => PASS [result_des7] => PASS [85] => [result_des8] => [86] => [gnd_total1] => [87] => [gnd_total2] => [88] => [gnd_total3] => [89] => [gnd_total4] => [90] => [gnd_total5] => [91] => [gnd_total6] => [92] => 696 [gnd_total7] => 696 [93] => [gnd_total8] => [94] => [set_total1] => [95] => [set_total2] => [96] => [set_total3] => [97] => [set_total4] => [98] => [set_total5] => [99] => [set_total6] => [100] => 172 [set_total7] => 172 [101] => [set_total8] => [102] => [pr_total1] => [103] => [pr_total2] => [104] => [pr_total3] => [105] => [pr_total4] => [106] => [pr_total5] => [107] => [pr_total6] => [108] => 184 [pr_total7] => 184 [109] => [pr_total8] => [110] => [thmid_total1] => [111] => [thmid_total2] => [112] => [thmid_total3] => [113] => [thmid_total4] => [114] => [thmid_total5] => [115] => [thmid_total6] => [116] => 84 [thmid_total7] => 84 [117] => [thmid_total8] => [118] => [th_total1] => [119] => [th_total2] => [120] => [th_total3] => [121] => [th_total4] => [122] => [th_total5] => [123] => [th_total6] => [124] => 256 [th_total7] => 256 [125] => [th_total8] => ) [2] => Array ( [0] => 0109ec061037 [number] => 0109ec061037 [1] => SSSI [coll_name] => SSSI [2] => 7 [sem] => 7 [3] => MIKE DEALER [name] => MIKE DEALER [4] => yes [NAR1] => yes [5] => yes [NAR2] => yes [6] => yes [NAR3] => yes [7] => yes [NAR4] => yes [8] => yes [NAR5] => yes [9] => yes [NAR6] => yes [10] => no [NAR7] => no [11] => yes [NAR8] => yes [12] => [sub11] => [13] => [sub12] => [14] => [sub13] => [15] => [sub14] => [16] => [sub15] => [17] => [sub21] => [18] => [sub22] => [19] => [sub23] => [20] => [sub24] => [21] => [sub25] => [22] => [sub31] => [23] => [sub32] => [24] => [sub33] => [25] => [sub34] => [26] => [sub35] => [27] => [sub41] => [28] => [sub42] => [29] => [sub43] => [30] => [sub44] => [31] => [sub45] => [32] => [sub51] => [33] => [sub52] => [34] => [sub53] => [35] => [sub54] => [36] => [sub55] => [37] => [sub61] => [38] => [sub62] => [39] => [sub63] => [40] => [sub64] => [41] => [sub65] => [42] => CU [sub71] => CU [43] => CU [sub72] => CU [44] => CU [sub73] => CU [45] => CU [sub74] => CU [46] => CU [sub75] => CU [47] => [sub81] => [48] => [sub82] => [49] => [sub83] => [50] => [sub84] => [51] => [sub85] => [52] => [status1] => [53] => [status2] => [54] => [status3] => [55] => [status4] => [56] => [status5] => [57] => [status6] => [58] => RE [status7] => RE [59] => [status8] => [60] => BE [branch] => BE [61] => 6 [course] => 6 [62] => [result1] => [63] => [result2] => [64] => [result3] => [65] => [result4] => [66] => [result5] => [67] => [result6] => [68] => F [result7] => F [69] => [result8] => [70] => [result_de1] => [71] => [result_de2] => [72] => [result_de3] => [73] => [result_de4] => [74] => [result_de5] => [75] => [result_de6] => [76] => All Theory [result_de7] => All Theory [77] => [result_de8] => [78] => [result_des1] => [79] => [result_des2] => [80] => [result_des3] => [81] => [result_des4] => [82] => [result_des5] => [83] => [result_des6] => [84] => Fail in [result_des7] => Fail in [85] => [result_des8] => [86] => [gnd_total1] => [87] => [gnd_total2] => [88] => [gnd_total3] => [89] => [gnd_total4] => [90] => [gnd_total5] => [91] => [gnd_total6] => [92] => 415 [gnd_total7] => 415 [93] => [gnd_total8] => [94] => [set_total1] => [95] => [set_total2] => [96] => [set_total3] => [97] => [set_total4] => [98] => [set_total5] => [99] => [set_total6] => [100] => 177 [set_total7] => 177 [101] => [set_total8] => [102] => [pr_total1] => [103] => [pr_total2] => [104] => [pr_total3] => [105] => [pr_total4] => [106] => [pr_total5] => [107] => [pr_total6] => [108] => 157 [pr_total7] => 157 [109] => [pr_total8] => [110] => [thmid_total1] => [111] => [thmid_total2] => [112] => [thmid_total3] => [113] => [thmid_total4] => [114] => [thmid_total5] => [115] => [thmid_total6] => [116] => 81 [thmid_total7] => 81 [117] => [thmid_total8] => [118] => [th_total1] => [119] => [th_total2] => [120] => [th_total3] => [121] => [th_total4] => [122] => [th_total5] => [123] => [th_total6] => [124] => 0 [th_total7] => 0 [125] => [th_total8] => ) )
  8. here's the code. this is not the actual code but i am doing the same thing. instead of the function call in php i am using ajax to loop the function call. thanks <?php function fetch($data,$url) { $params = "enrollNo=$data&Submit=Submit"; $user_agent = "IE 5.0"; $ch = curl_init() or die(curl_error()); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, $user_agent); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); curl_close($ch); print_r($result); } for($i=0; $i<=100; $i++) { fetch($i, "some_IP_here"); } ?>
  9. Thanks mrmarcus for your response, actually what i mean in suppose for a single iteration cURL takes 1 second then for 50 iterations it should take 50 seconds or so but it takes around 5-7 minutes to completely execute the script. So i want the script to run in much less time, maybe for 50 iterations it should take not more than 1 minute. I hope you get my question.
  10. Hello, this is my first post here. why is it so that when i use curl just for a single time fetching it works fine but when used it in loop its quite slow. For example, I am having a from in which user feeds the information about how many times the data will be fetched from a particular website, if in this form a single time is chooses, the data is fetched and shown immediately, whereas if multiple times (about 50 iterations) is chosen the cURL fetching is very slow. I am using ajax and php. User fills the ajax form telling how many times the cURL php file needs to be run. Can anyone help me with this? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.