[Plugin] ajaxPost

Post your completed addons to share with the community

Post » Fri Feb 24, 2012 1:56 pm

Thank you Joe7 and Kyatric for your answer! :)

Yes, I thought about mixing your 2 solutions (CB hash & https) because I'm looking the way to protect the username, hash session of player and score.

But I'm still care about the fact the player (called hacker) could find a way to make some ajax call from javascript console (like firebug or chrome console or anothers tools) by finding my C2 javascript function (even minified) to make the same CB Hash and call it to send a high score to server manually...

Just like EdgeWorld's game, there are some tools to hack that game even if EdgeWorld is in https mode... :(

I'm not expert and don't know very well https, but I saw that every JS Client application use that way even if post data is not encrypted (just like iCloud.com do)

Do you think https could prevent that kind of attack?
B
2
Posts: 2
Reputation: 404

Post » Fri Apr 20, 2012 2:08 pm

Hi there,

I can't get this to work. Even example isn't working for me. Could you be so kind and write short tutorial on how to use it?

Regards
B
4
S
1
G
3
Posts: 85
Reputation: 1,234

Post » Fri Apr 20, 2012 4:05 pm

@Maciej
Have you checked the AJAX-tutorial? If the demos in this tutorial work for you than the ajaxPost-Plugin should work too. Usage of this Plugin here is very similar.
B
14
S
6
G
5
Posts: 173
Reputation: 4,742

Post » Wed Jun 06, 2012 10:57 pm

this doesnt work on iphone? Ive set up a very simple test that works just fine from my pc but the same thing on my iphone doesnt. The php outputs the field retrieved from the database or the mysql error msg. it works fine on pc (tested with firefox 12) but not on my iphone.

The php uses $_REQUEST to get the info either from get or post and one the iphone it works if I run the php with the variables in the url but not from the c2 test program.

Any ideas?
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Sat Nov 10, 2012 9:33 pm

1,000 thank yous!!!   
B
10
S
3
G
3
Posts: 29
Reputation: 2,769

Post » Sat Nov 10, 2012 9:54 pm

Has anyone managed to connect this with wordpress by any chance?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Sun Nov 11, 2012 1:44 am

What are differences between official AJAX plugin and AJAXPost plugin?
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Sun Aug 31, 2014 3:36 pm

GET data is show the complect url and data like: www.myurl.com/myfile.php?mydata1=mydata&mydata2=mydata2
php example:
$myuser=$_GET['mydata1'];
$mypass=$_GET['mydata2'];

echo" Myuser:$myuser";
echo" Mypass:$mypass";
The GET request url format like yoururl and your complect data..

POST show only the final page www.myurl.com/myfile.php and if in the page use php the mydata1 and mydata2 is in this format:
$myuser=$_POST['mydata1'];
$mypass=$_POST['mydata2'];

echo" Myuser:$myuser";
echo" Mypass:$mypass";

Sorry for my poor English!
B
10
S
2
Posts: 28
Reputation: 630

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests