Quote:
Originally Posted by blackmonsters
Nevermind!
Affiliates just need to put this code in their header of their page (!! NOT in the Iframe !!) :
PHP Code:
<?php if ($feed == "chaturbate") { ?>
<script>window.location.reload();</script>
<?php } ?>
Working for me right now.

|
Don't use that, I made a mistake.
I had to use this code so I didn't go into a loop :
Code:
<?php if ($page_model['sponsor'] == "chaturbate" && !isset($clean_req["reloaded"])) { ?>
<script>window.location.href += "/reloaded";</script>
<?php } ?>
<?php
if (isset($clean_req["reloaded"])) {
if ($clean_req["reloaded"] !== "reloaded") {
echo "Error not allowed parameter";
exit();
}
}
?>
I put this in my modelpage.php.
I had to also change my htaccess rules to add the reloaded parameter.
