<?php
$postfields = array();
$postfields["action"] = "submit";
$postfields["name"] = "Tiger";
$postfields["email"] = "[email protected]";
$postfields["title"] = "My Title";
$postfields["url"] = "http://www.yoururltosubmit.com/";
$url = "http://www.urltosubmitto.com";
$useragent = "Mozilla/5.0";
$referer = $url;
//Initialise une session CURL
$ch = curl_init($url);
//CURL options
curl_setopt($ch, CURLOPT_POST, 1);
//Post datas $postfields
curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields);
//useragent here Mozilla/5.0
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
//referrer
curl_setopt($ch, CURLOPT_REFERER, $referer);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
//curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$result = curl_exec($ch);
curl_close($ch);
//echo $result;
?>