Jump to content

Parsing out text file


AV1611

Recommended Posts

I have another page I need to parse out, but this time to get it I have to login first. 

The way it works is you enter a password then the return of the login is POSTed to the next page, which has the info.

I can't just do file_get_contents() because of the "submit" button.

a.  how do you make a form post onLoad instead of by pushing the button
or
b.  how do I get around the problem?

Thanks.
Link to comment
https://forums.phpfreaks.com/topic/32320-parsing-out-text-file/
Share on other sites

No not at all...

I am an admin for an America's Army server.  They don't give you the ability to administrate the system adequately.  I'm rewriting the scripts to make the job easier.

I Hate having to get out of the game, login to the punkbuster web tool, then select a player name to kick, then kick them.  I am automating the scripts so I can simply have a webpage up with all active players, and a single push of the button kicks them.

So there, Nener nener nener
Link to comment
https://forums.phpfreaks.com/topic/32320-parsing-out-text-file/#findComment-150074
Share on other sites

Actually, I don't know what you know about punkbuster, but here is what I will eventually do with it...

I already have written scripts that polls the server to see who is on, verifies if they have ever been busted for hacking on all the major anti-hack groups (i hate cheaters) then adds them to a database.  I then can manually add them to our local ban file (It would seem that they don't give you the ability to write to the ban list automatically.)

If I can get past the automations of the PB server tool, I can have my script pb kick the player if he comes up positive.  the net result is I can play the game more and administrate less

Link to comment
https://forums.phpfreaks.com/topic/32320-parsing-out-text-file/#findComment-150099
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.