wolfwood Posted January 11, 2016 Share Posted January 11, 2016 I have a PHP file that I want to grab the visitor IP when they access the file then using cURL to POST the user IP on a remote file on a different server. I know how to receive the variable on the remote server but don't know how to use cURL to post the user IP on the file located on another site. Any help is greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/300268-get-user-ip-in-php-and-curl-to-remote-file/ Share on other sites More sharing options...
Muddy_Funster Posted January 11, 2016 Share Posted January 11, 2016 could you elaborate on what you are actually doing here? I ask because the little you have posted smells a bit nefarious, like IP harvesting for malware bot control, which isn't something a lot of people are going to help you with. Also, post up the code you have tried already so we can see where you have gotten to. Quote Link to comment https://forums.phpfreaks.com/topic/300268-get-user-ip-in-php-and-curl-to-remote-file/#findComment-1529424 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.