The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 5 of 5

Thread: l33t Hax silently sending GET data

  1. #1
    1,839
    posts
    Registered User

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

  2. #2
    foodpk's Avatar
    1,335
    posts
    ask me about being a jerk
    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.

  3. #3
    1,839
    posts
    Registered User
    oh 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

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

  5. #5
    1,839
    posts
    Registered User
    well 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...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012