mysql - php curl post with originators ip -
leave your email to me have added a form where the client mailing list and access to the site is.
I would like to create a php script to a form script that adds an email to Maisjhl table with a Jesd password. The password is then emailed to the customer.
I would like to receive an auto Risponsr, Awaibr or want to re-post the same kind of data do, however, want to protect the IP address am that I sign the customer. As if they sign up directly at Eweber's form
Is it possible that for example curls or all my posts are my server IPs?
You IP address header Try to cheat: The results may vary. With Unfortunately, curl, you can not really "an IP address" cheating if you need to deceive any IP address, so you'll need to use sockets.
$ ipAddress = $ _SERVER ['REMOTE_ADDR']; $ Headers = array ("REMOTE_ADDR:". $ IpAddress, "HTTP_X_FORWARDED_FOR:". $ IpAddress); Curl_setopt ($ CH, CURLOPT_HTTPHEADER, $ headers);
Comments
Post a Comment