I have a php script that is looping on a huge directory of data. What it does is looping through record ids, if it doesn’t find anything useful, it increment the id and redirect to same page with new id. I want to force run this script to get the data for me, but after every 20 records, its stopping and giving error that this script is not redirecting properly. is there any way of altering php.ini file using which I can force this script. Its running as it is supposed to run and its supposed to redirect like that.
Share
You are hitting the HTTP redirect limit. The default for Firefox is 20.
You could use a meta redirect or a Javascript redirect, which are exempt from this limit.