Results 1 to 3 of 3

Thread: PHP/Javascript question...

  1. #1
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP/Javascript question...

    My question is this - Using PHP, is it possible for me to run a script server side that would detect the use of javascript in the address bar on a client side browser? I ask because I run an online game and we are trying to put an end to people using macros. I know they are using the address bar as a means of sending button presses that have javascript linked to them so I'd like to be able to detect the use and ban upon detection. Any ideas?

    Any help is appreciated. Thank you.


    ***EDIT*** Spelling errors.
    Last edited by WickedOne; 07-04-2006 at 08:39 AM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    No.

    You must detect macros the same as everyone else: look for page requests that are impossibly close together, and those that are very regularly spaced (to within, say, 400ms accuracy to allow for network lag).
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Alright, thank you.

Bookmarks

Posting Permissions

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