![]() |
#1
|
|||
|
|||
![]()
I've made it on my site that only 3 eggs at a time are displayed on adopt.php, but as long as anyone knows the egg's code
Such as: adopt.php?id=4 They can adopt as many of that egg as they want. Is there a way to make it so you can only adopt that adoptable if you've gone through adopt.php and not just entering it's ID? |
#2
|
|||
|
|||
![]()
I think you could change its method from $_GET to $_POST, but you'd have to change it in functions too, but i'm not so smart at php
I wish I could know some better method too.. oh and since it's the same subject... I made a batle system and the monsters appear randomly, and after a fight a user can simply refresh the page and battle again, because the method I used is $_POST... does anyone know any secure method for this? like.. when the user battles a monster, he can't battle again unless the monster appears again... ty
__________________
My Pets site: MaplePet (Released: No) Done: Stats system, Adoptables Sex system, Battle and using pokeballs like items to capture pets, stats (luck and dexterity) affecting the chance of capturing, Element system (8 elements), Trading, shopping, inventory system, Pet profile for each pet. Working: Battle System againsts monsters found in the Map |
![]() |
|
|
What's New? |
What's Hot? |
What's Popular? |