Arson Posted July 1, 2007 Share Posted July 1, 2007 I have been trying to make a script, for my toplist, that allows site owners to put in their incentive link, and whne someone votes, it executes the script. My only problem is that the owners need to be able to set their own $_GET variables, and my script has to be able to pull those variables from the links, and keep them set as the user is voting, and then once the vote is successful, it fopens the incentive link, activating the script... How would I go about making the script figure out what get variables are in the URL?????? Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted July 1, 2007 Share Posted July 1, 2007 Err, well if you used a foreach statement on the $_GET array, you could grab all the keys. I would think this would be a fairly big security risk though: <?php foreach($_GET as $key => $value){ echo $key.'<br />'; } ?> Quote Link to comment Share on other sites More sharing options...
Arson Posted July 1, 2007 Author Share Posted July 1, 2007 Thanks. I might be able to work with this without it being a security risk. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.