<?php
//makes sure there is all the info needed
if(isset($_GET['user'])&&isset($_GET['redirecturl'])&&isset($_GET['projectid'])){
/******************************************************
*********************CODE TO EXECUTE HERE WHEN PAGE IS LOADED*********************
*******************************************************/
//start redirect with the GET request
//assumes that the get info for the redirecturl is ( example )scratch.mit.edu not http://scratch.mit.edu
header('Location: http://'.$_GET['redirecturl']);
}
?>
<----made by gp1--------->what it is going to do:
love-it.php?user=yourusernamehere&projectid=yourprojectidhere&redirecturl=scratch.mit.edu
goes to your project user=yourusernamehere&projectid=yourprojectidhere
hits love-it then, redirects to the page that u want redirecturl=scratch.mit.edu
Offline
That code simply redirects the user -- it doesn't actually do anything!
Offline
I don't think that it's a good idea to use this really, I mean, I personally want to know how many people like my projects, not get them on the front page and know how many people were tricked into loving it whether they wanted to or not...
As LS97 points out, this code simply redirects you to the project, it does not add the love-it code.
Offline
you know dropbox?
and I also agree with the others. i don't to see sigs spammed so i won't be sure if clicking on is safe
btw, it won't work with people who have NoScript enabled (like me
)
Last edited by roijac (2011-08-23 15:16:58)
Offline
I disagree with you, flashgocrazy, however, I sometimes wish people would pay little attention to my best game ever
Offline