Hi guys,
As this is my first PHP web application so dont know mich about php configuration.
Here is my case: I have developed an application in PHP/mysql, in which user can search his real followers.
Now problem is that a user having say upto 2k followers and 500 real followers in that, does not give any error, but when i move to big user 10k or more , he usually has more than 1k real followers, in this case i get error that invalid argument supplied for on line 354, means it's not getting rest data. Due to this it shows incomplete results. Why this is so ?
According to php configuration:
max_input_time -30
max_execution_time - 60
memory_limit - 64M
do i need to make change in these?
or anything else i need to do?
Your help will be greatly appreciated guys?
Thank you in advance.
Code :
while($cID != 0)
{
$followers = $t -> get_followers($unm, $cID); //get this array from twitter
$nxtcursor = $followers['next_cursor_str'];
// print_r($followers);
foreach($followers[users] as $followers) //line no 354
{
//here i just get data into variables
//here i save data into database
}
$cID = $nxtcursor;
if($nxtcursor == 0)
{
echo "<b>Reached to last cursor!!</b>";
}
}