Points cheating
hedac - June 20, 2009 - 21:04
| Project: | Affiliates |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Let's say we have a small banner with 1 point and a big banner with 5 points... So we want to give more points to people that put the bigger banner... but.. what prevents to cheat the code and use the small banner but then change the link to point to the bigger one ?
The solution would be that the code of the links should have to be a link to a php script that outputs the code.. not the code itself. ie: the textarea of the codes should only have this:
<img src="http://www.example.com/enter.php?userid=xxx&adid=yyy" />
then the "enter.php" would take care of the adid and output the correct html with the link and image.

#1
I was thinking twice... and I think the above is not correct... because you can output an image in php... but how can you output the full html code with the link and the image? It would be easy if the users can paste php code using the
<?phpand
?>