Get data from asp.net page using curl Get data from asp.net page using curl curl curl

Get data from asp.net page using curl


Are you sure, your url is correct? there's an whitesapce char between & and SectionDistrict

You can try it again with the following

    $url = 'https://tennislink.usta.com/tournaments/rankings/rankinghome.aspx#Action=1&SectionDistrict='.$secState.'&Year='.$rankYear.'&Division=G8&ListType=0';

This url should also work with file_get_contents