I allready got *curl_setopt( $ch, CURLOPT_POST, 1);*
I set params for title, text, username, password . Am i missing one ?
I can see that i get all the info into the form. The broblem is that it does not get submitted.
:: @Jos added on 26 Jun ’16 · 21:54
Tryed $ curl --data 'title=TITEL&text=TEKST BESKRIVELSEN&username=ROLO&password=ROLO' http://www.mysite.com/forum/index.php?path=Andre%20fora/
and got exactly same behaviour as with PHP; as expected.
There must be something with the way a form is submitted with nononsense forum.
I'll try again the comming days and will post the solution.