View Full Version : Quick Preg Question

Lee Stevens
03-16-2008, 09:43 AM
Hey i just would like to no whats wrong with this:

<a href="javascript\:attackWindow\(\'(\d+)\',\'(\d+)\',\'(\d+)\',\'(\d+)\', \'crew_hitlist\'\)">(.*?)<\/a>

03-16-2008, 10:28 AM
I don't see any preg in the above post, could you explain what's right with the above (your intention)?

Lee Stevens
03-16-2008, 11:19 AM
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.