Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2006
    Location
    UK, London, Dartford
    Posts
    221
    Thanks
    3
    Thanked 14 Times in 14 Posts

    Quick Preg Question

    Hey i just would like to no whats wrong with this:
    Code:
    <a href="javascript\:attackWindow\(\'(\d+)\',\'(\d+)\',\'(\d+)\',\'(\d+)\', \'crew_hitlist\'\)">(.*?)<\/a>

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    I don't see any preg in the above post, could you explain what's right with the above (your intention)?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Regular Coder
    Join Date
    Aug 2006
    Location
    UK, London, Dartford
    Posts
    221
    Thanks
    3
    Thanked 14 Times in 14 Posts
    I'm using preg_match_all and i need to get URL's like this one:
    javascript:attackWindow('Test_Player', '1', '50', '1dh3u3rl', 'crew_hitlist')
    It goes player name, player id, attack amount [1-50], hash, and where it come from.


  •  

    Posting Permissions

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