RSS Feed/News Pulling IP address from user?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
28,827
Points
823

Reputation:

Version 2.3.7 XF

Im trying to get my addon (FraudClient) to check for and submit the IP address of a user when checking and reporting to my database.

Code:

Code:
public function checkUser(\XF\Entity\User $user)
    {
        $app = \XF::app();
        $client = $app->http()->client();
        $params = [
            'headers' => [
                'accept' => 'application/json',
                'content-type' => 'application/json',
            ],
            'json' => [...

Read more

Continue reading...
 
Status
Not open for further replies.
Top