Jump to content
MakeWebGames

Recommended Posts

Posted

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.

  • 1 year later...
Posted

sooo nobody post a working version sooo i made it. I have make corection in code and add some security. I re coded it for myself but i share it for other

 

You're unable to view this code.

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

Posted
sooo nobody post a working version sooo i made it. I have make corection in code and add some security. I re coded it for myself but i share it for other

 

You're unable to view this code.

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

You haz securiteez?

o.0

Posted
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.

Posted (edited)

Seeing as this has been grave-dug with apparent "requests" for help..

From 272 lines to 216 with things added and optimized

You're unable to view this code.

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

Edited by Magictallguy
  • 3 months later...
  • 2 weeks later...
  • 1 month later...
Posted

Did anyone ever get this working correctly?

After reading through the posts I've noticed even when another version has been posted, Errors are still being reported.

If need be, I'll create a new version.

  • 1 month later...
  • 2 months later...
  • 1 year later...
Posted (edited)
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
Posted
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

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...