It does work, well like I said about 95% of the time.
I am getting a random url out of the table and it is loading
but like I said every so often it shows a blank page, like it never even got to the redirect script.
Basically it's working like this:
First page has a list of links of different catagories
ex
Catagory1
gallery.php?cat=var1
gallery.php?cat=var1
gallery.php?cat=var1
gallery.php?cat=var1
Catagory2
gallery.php?cat=var2
gallery.php?cat=var2
gallery.php?cat=var2
gallery.php?cat=var2
The reason I have a list of the same basic link is because I also have a random description script putting random general descriptions for each link. I hope that makes sense. 😃
When someone clicks a link they are sent to a redirect script which pulls the variable from the url. Depending on the variable the surfer will be redirect to a random url in the same catagory as the variable.
I could put this all in one file but I want to drop a cookie so the surfer doesn't go to the same url twice, that's where the redirect script comes in.
The script you see here is the redirect script because I know the variable is passing since most of the time I do get redirected to a random url. But it's that "every so often" I want to fix
I'll keep check things
but if you have any more suggestions please share
Thanks
Derek