You are not logged in.

#26 2018-09-27 10:21 pm

Papa Parrot
Moderator
From: Mexico
Registered: 2011-08-19
Posts: 1,676
Website

Re: Error with reporting to the Stop Forum Spam database

Works, :

~$  curl \
> --data-urlencode username=bert \
> --data-urlencode email=me@user.com \
> --data-urlencode ip_addr=1.2.3.4 \
> --data-urlencode api_key=samekeyIbeenusing \
>  http://www.stopforumspam.com/add.php
<p>data submitted successfully</p>me@myserver:~$ 

Offline

#27 2018-09-28 12:40 am

Alex Kemp
Moderator
From: Nottingham, England
Registered: 2009-12-02
Posts: 1,988
Website

Re: Error with reporting to the Stop Forum Spam database

The '--data-urlencode' parameter auto-urlencodes whatever follows the "=" in the  'something=' data that follows the parameter. It also POSTs the information, not GET, which reduces MITM attacks between you & the SFS server.

Offline

Board footer

Powered by FluxBB

Close
Close