Find Jobs
Hire Freelancers

Quick Job: -Write a PHP code snippet to to get Visitor's IP Address || Golang Experience will help

$10-30 USD

Closed
Posted over 3 years ago

$10-30 USD

Paid on delivery
If you are an experienced PHP developer and have a good understanding of HTTP/Proxy, please continue. We are trying to get the IP address from the visitors if they are using SOCKS5. Say if the user is using a proxy from Japan (say 1.1.1.1), our PHP scripts need to get that example Proxy IP address (1.1.1.1). But in PHP, $_SERVER[‘REMOTE_ADDR’] doesn’t return the correct value, also, that example IP (1.1.1.1) is not in the X-FORWARD-FOR, or CLIENT-IP headers. Interesting enough, using the 3rd party service such as [login to view URL] will return the correct value. A open source Go Implementation will get the correct value too. [login to view URL] So we need a code snippet which has same logic of [login to view URL] to get the visitor’s IP address.
Project ID: 27475670

About the project

4 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
4 freelancers are bidding on average $21 USD for this job
User Avatar
I am interested in your job. I am a web developer. I have 5 years experience in web development. I can do it please give me a one chance
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
This is a pretty simple problem to solve and I can provide a code snippet in PHP to show you how the above project is getting this IP. Note, that this shouldn't be used for any kind of security, these headers can easily be spoofed by the client.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CHINA
SHANGHAI, China
5.0
28
Payment method verified
Member since Jul 12, 2018

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.