1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[WTH] Bypass Cloudflare Checking your browser before accessing to work with PHP

Discussion in 'Hire a Freelancer' started by maxchen, Apr 8, 2016.

  1. maxchen

    maxchen Jr. VIP Jr. VIP

    Joined:
    Oct 7, 2015
    Messages:
    735
    Likes Received:
    285
    Gender:
    Male
    Location:
    BHW
    I trying to curl a page but it give me this error

    Checking your browser before accessing domain.com (domain.com is the domain I wanna access)
    This process is automatic. Your browser will redirect to your requested content shortly.</p>

    Wget give 503 , file_get_contents 503 too. I guess need to bypass it, if anyone know how to do it, let me know your TAT and cost.
     
  2. AdvancedDevelopment

    AdvancedDevelopment BANNED BANNED

    Joined:
    Mar 23, 2016
    Messages:
    91
    Likes Received:
    28
    I can do this for you but firstly try adding this code to your curl and check if it works or not. No point charging someone for merely 1 line of code.

    Code:
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    
    Should follow the return on the cloudflare script.