Jump to content

[PHP] Getting bugs.mtasa.com's progress bar?


robhol

Recommended Posts

I want, via PHP, to be able to download/read the progress bar from the roadmap... I thought it'd be as simple as get_file_contents() or something basic, but.. all I get when opening the page is the header and footer. There's a form on there designed to let an user pick a project to see the roadmap for, but querying that with cURL to get the relevant project only returns "1"...

Does anybody know what the heck I can do to get that page? I only need the number (in percent) inside the bar, but I can filter that out myself, I just need to be able to download the correct page first.

Link to comment
  • 2 weeks later...

Seems the problem is that the default project is "MTA: Community Center".

Just use

file_get_contents("http://bugs.mtasa.com/roadmap_page.php?project_id=0"); 

That should do the trick ;)

Cheers,

Crazy

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...