Jump to content
MakeWebGames

Simple Trades


Richard

Recommended Posts

im not asking for a fix.. im fixing it...

but if anyone can (HELP) by posting a good code if they have it.

not asking to do it for me.

sorry about that.

ill fix it and ill post the fix.

thanks i appreciate that you guys have taking time for me. ;)

if you dont have the code and you dont wanna help, thats is something else.

Link to comment
Share on other sites

  • 1 year later...
ok i have found other bug corected here

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Seker i dont know which language you speak but i don't understand sorry

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Feel free to try that, It's a bit cleaner, I'll do a full recode when I'm back on my laptop (On a tablet at the moment...)

Any errors post them here and i'll fix.

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 2 months later...
  • 1 year later...
On 6/14/2014 at 5:05 PM, MyGunWars said:

My working code:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This version somewhat works for me, except for these errors 

and the page cuts off at the end for me, so I can't complete the trade. Theres no submit button.

Any help would be appreciated

screenie.png

Edited by PHPStudent
Link to comment
Share on other sites

13 hours ago, PHPStudent said:

This version somewhat works for me, except for these errors 

and the page cuts off at the end for me, so I can't complete the trade. Theres no submit button.

Any help would be appreciated

screenie.png

Line 209:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Your POST data hasn't been verified (or sanitised!).

For your immediate fix: Ensure each key exists in the POST array
Further processing: Recommend you check what's actually coming in - content types (at a guess, looks like all types are supposed to be int), content values (if int, then positive whole numbers), whether the referenced POST data exists (if $_POST['item'] equates something in your items table, for example.)
Personally, here, I'd cheat a little..

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.


 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...