My Math Forum Which logic I can use here

 Computer Science Computer Science Forum

 February 18th, 2016, 07:45 PM #1 Senior Member   Joined: Oct 2009 Posts: 895 Thanks: 1 Which logic I can use here Hello I have 100000 users , I am alwyes send information, In fact this information don't reach to all users , I don't know why ? I will attach send php files . and please see what is wrong of this flie and which logic I can use . Note if I change 1000 number to 3000 no user receive also I don't know why ------------------------------------ Code:  $registatoin_ids, 'data' =>$message, ); define("GOOGLE_API_KEY", "AIzaSyB2x2jNi94zypUX_bqfYkhyuhrTwK0IG2XJ8");//saeed //define("GOOGLE_API_KEY", "AIzaSyDYoI9libqfYkhyuhr-rxGW_G0TVDUe4dg");//amjad $headers = array( 'Authorization: key=' . GOOGLE_API_KEY, 'Content-Type: application/json' );$ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields)); //curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );$result = curl_exec($ch); if ($result === FALSE) { die('Curl failed: ' . curl_error($ch)); } curl_close($ch); return $result; } ?>$id, 'm1' => $m1, 'm2' =>$m2, 'm3' => $m3, 'm4' =>$m4, 'm5' => $m5, 'm6' =>$m6, 'm7' => $m7, 'level' =>$level ); if (mysql_num_rows($result) > 0) { for($counter = 0; \$counter  Last edited by greg1313; February 18th, 2016 at 08:43 PM.
 February 19th, 2016, 02:01 AM #2 Senior Member   Joined: Oct 2009 Posts: 895 Thanks: 1 In fact , I made GCM serive in my app , but I think it has limit of sending notification up to 1000 Can I do something please help me
 February 19th, 2016, 04:16 AM #3 Senior Member   Joined: Dec 2012 From: Hong Kong Posts: 789 Thanks: 285 Math Focus: Stochastic processes, statistical inference, data mining, computational linguistics You may have more luck on Stack Overflow, where there are people with more experience in server-side scripting, databases and such. Non-maths questions often remain unanswered here...
February 20th, 2016, 06:01 AM   #4
Math Team

Joined: Oct 2011

Posts: 9,035
Thanks: 620

Quote:
 Originally Posted by r-soy I have 100000 users , I am alwyes send information, In fact this information don't reach to all users , I don't know why ? I will attach send php files . and please see what is wrong of this flie and which logic I can use . Note if I change 1000 number to 3000 no user receive also I don't know why
Also, you should get someone to check your English:
you would have a better chance of getting responses.

 March 10th, 2016, 11:59 AM #5 Senior Member   Joined: Dec 2015 From: Earth Posts: 142 Thanks: 20 Try use HTML codes. if it does not work... then the problem is you

 Tags logic

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post dmnte Computer Science 0 April 23rd, 2015 10:45 PM ungeheuer Applied Math 7 February 27th, 2013 07:28 PM krnbluemonkey Applied Math 2 September 12th, 2010 08:02 PM Ryuk Computer Science 2 June 9th, 2009 11:31 AM simi Algebra 0 April 27th, 2008 03:00 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top