View Single Post
  #27  
Old 04-26-2017, 08:19 AM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 36,189
kristhasirah
Default

yes is possible i have it like that in my site:
PHP Code:
<div align=center><img src='{$row->eggimage}'style=' margin-bottom:30px;'/></div></br><div align=center><strong>{$row->description}</strong></div></div></br><div align=center><input name='id' type='hidden' id='id' value='{$row->id}'><input type='submit' name='submit' value='adopt me'></body></td
but be warned the id of the adopt can be changed with inspect element! the user can add any number and if the adopt is available they will get it
to prevent this you can add :
PHP Code:
<body oncontextmenu='return false' onkeydown=\"return false;\" onmousedown=\"return false;\"> 
to disable the right click and prevent that in a way.... but maybe you or your friend know a different way to hide or not allowing tho change the id of the adopt ^^ i can't help much in that area im still trying to figure out how to fix that with out having to do something like dragon cave or most of the sites where you adopt an already created egg... because i don't know how to code it

just to inform... this is also for the default adopt page, users can use inspect element and change the id of the of the radio button and put anything there... even the id of the adopts that are in shops and get them for free.

Last edited by kristhasirah; 04-26-2017 at 11:50 AM.
Reply With Quote