Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Problem! (http://www.mysidiaadoptables.com/forum/showthread.php?t=1140)

Xius 10-16-2009 11:18 AM

Problem!
 
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?

gabeki 10-16-2009 02:00 PM

RE: Problem!
 
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


All times are GMT -5. The time now is 10:42 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.