Find Jobs
Hire Freelancers

Get source code from website and act like a browser to not get blocked (curl, file_get_contents, fopen)

$10-30 USD

Closed
Posted over 4 years ago

$10-30 USD

Paid on delivery
Hello, I'm creating something similar to a proxy browser. For this I need to get the source code from websites. I tried this in PHP with curl, file_get_contents and fopen. This is working very well for many websites. But for some websites I'm asked to solve a Captcha or I'm getting a message like "failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in - on line 12". When opening this website in a browser, there are no problems, although I'm using the same user agent and IP address as in my PHP script. This means, for the website I want to access, there is some difference between my PHP script and my browser. But, what is it? How can I make my PHP script act like my browser for the website I want to get the source code from? I need to get this work, no matter if you use curl, file_get_contents, fopen or anything else. I'll attach a file with my source code. I'll tell you a URL you can test it with via private chat. Who can do that for me?
Project ID: 21759524

About the project

3 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $33 USD for this job
User Avatar
I can handle the errors . Give me the list of sites you are facing the error and I will fix them for you using curl. Please share details over chat.
$30 USD in 1 day
4.9 (82 reviews)
5.7
5.7
User Avatar
I am PHP cURL expert, please send me details.......................................................................
$40 USD in 1 day
5.0 (42 reviews)
5.6
5.6
User Avatar
Dear Sir am an expert I can do this work perfectly am excellent in php please reply a waiting for you Thank You
$30 USD in 1 day
5.0 (63 reviews)
5.1
5.1

About the client

Flag of GERMANY
City, Germany
5.0
11
Payment method verified
Member since Nov 13, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.