Results 1 to 5 of 5
-
July 26th, 2007, 04:31 PM #11,839Registered User
postsl33t Hax silently sending GET data
man I had a real hard time i needed to send GET data silently without reloading the page...ajax style... well i found out using GET data the way its intended is neverr gonna work. but a easy cool hack is
<img src=http://www.url.com/myForm.php?name='joran'&score='55' />
its really obvious and easy i know still took me like 3 days to stuble onto it.
Its not a real secure way of sending stuff...may wanna use security tokens and such but i didnt need a secure method of sending...
-
July 26th, 2007, 04:53 PM #2
You can send get data with ajax. No problem.
If you're using jQuery, you just do:
Code:$.get('something.php?name=something&score=something',function(data) { alert('this: ' + data + ' is what i got from the file'); });Last edited by foodpk; July 26th, 2007 at 04:57 PM.

-
July 26th, 2007, 07:37 PM #31,839Registered User
postsoh yeah outside the domain
thats what was hard
that restricts you just to your domain
I needed a snippet of code that other sites could host
-
July 26th, 2007, 08:16 PM #4
YOu can still use ajax for that. You just need to change the permissions on the file so that it is executable by everyone. 755 I believe
Do you enjoy gaming? If so you should join ReigningGames located at http://www.reigninggames.com
-
July 26th, 2007, 10:44 PM #51,839Registered User
postswell ok a way without setting open permission for the whole php file....(but i didnt know you could do that....I was seriously looking for 3 days for a way to send without reloading or pulling up a page to a different domain
...
found this and was stoked...but had i known about the permissions i prolly woulda done that...but meh...

Reply With Quote

Bookmarks