Jump to content

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


robhol

Recommended Posts

Posted

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.

  • 2 weeks later...
Posted

i think it's impossible if you don't have ftp access to the file. what you are able to download is just the html output made out of the php script.

or..

i just don't get it. it's my english, i knew it. f*cking dumbass english of mine.

Posted

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

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...