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)
-   -   Random Adoptables (http://www.mysidiaadoptables.com/forum/showthread.php?t=1385)

Haylzee 04-08-2010 04:05 AM

RE: Random Adoptables
 
Just out of curiosity, how would someone use Firebug or similar to get around the 'post' method? I played around with a copy of my adopt/doadopt and changed it from 'get' to 'post', then used the Web Developer add on in Firefox to change the method from 'post' to 'get' in my browser, and even though it does show you the adoptable id, it wouldn't let me do anything with it, if I tried to run it through the regular URL with the id included, the adoptables script wouldn't let me, it just loaded the adopts page over again. I tried the same thing with the doadopt page to see if it would let me do it that way, but it just came up with the invalid id message.

Arianna 04-08-2010 05:58 AM

RE: Random Adoptables
 
It's easy enough - you don't get around the method, you get around the hidden variables.
<input type='hidden' name='petid' value='2' />
In firebug, just change the value and you're set. You can't change it from post to get, but you can change the values. :?

Haylzee 04-08-2010 07:42 AM

RE: Random Adoptables
 
Ah right yes, you can do that in the Web Developer add on too. Sneaky!

Still, I do like this post version I must say.

fadillzzz 04-08-2010 11:32 AM

RE: Random Adoptables
 
Quote:

Originally Posted by Arianna
That would solve your problem, I don't see why it wouldn't. You either do it that way - generate the adoptable upon adopting, this eliminating the need to have ids in the url - or you let him cheat his way there. Your choice.

actually I already use that query from the first place but the user still able to enter the url manually in the address bar to adopt the pet he wants :(

my problem now is how to change the method from GET to POST just like what brandon said

any idea?

Seapyramid 04-08-2010 09:21 PM

RE: Random Adoptables
 
We changed the system at mystic grove to include a random code each time a new [pet is made.. then the code is called not the id number.. stopped our problem

fadillzzz 04-12-2010 10:29 PM

RE: Random Adoptables
 
EDIT: nevermind...I managed to do what brandon said
this thread can be closed now


All times are GMT -5. The time now is 04:10 PM.

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