Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
(mysidia 1.3.4)Adopt page kind of fix...
This is a kind of fix for the adopt.php
First Problem: If the user use the inspect option they can change the value of the id to anything they want even use the adopt name and the site will give them the adopt. so if you dont know how to code and have to use the default code then we have a small problem. so to "fix" this, we will place a small code in our adopt.php page: below of PHP Code:
PHP Code:
the second if is to exclude all the names, so if the user tries to edit the id of the adopt and put a different adopt name it will give them an error. Second problem: the second problem the adopt page presents is when the user adopts a pet they can keep refreshing the page and keep adopting even if they no longer have money if you use money for the adopts. so to "fix"this just open adoptview.php, in the PHP Code:
PHP Code:
PHP Code:
|
#2
|
||||
|
||||
Oh geeze, this is very handy! Thank you for giving us a fix :O
__________________
Noot noot! Gotta get a new signooture. >-> |
#3
|
||||
|
||||
Thank you so much!
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion |
|
|
What's New? |
What's Hot? |
What's Popular? |