Hi Jaymz,
Jaymz Goktug YUKSEL wrote:
> process.php?no=0
>
> and when this executes itself and finishes, it redirects itself to
> process.php?no=1 and this is supposed to go until it reaches 650.
>
> However when it comes to 19 it stops and it says
>
> Maximum redirection (20) reached. So it connot redirect more than 20
> pages. I need to redirect more.
>
> Do you think you can help me with this? Is there a command to override
> the maximum redirections?
I never found such option, but f you use bash-shell you can turn of
redirects and do
for ((i=0;i<651;i++)); do wget process.php?no=$i; done
or else you can write yourself an php-script and executed it on
commandline like
--- fetch.php ---
<?php
for($i = 0; $i < 651; $i++)
{
file("http://.../process.php?no=".$i);
}
?>
--- end fetch.php ---
(http://php.net/file)
Now you can run "php fetch.php".
Both methods should work providet you switch of redirects inside your script
Greetings
Matthias