Arkadaşlar uğraş takıldığın yerde sor dediniz soruyorum.Hatam nedir bulamadım.
Aşağıdaki post işlemini denedim olmadı.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://siteadresim/script/ekle.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,"adres=http://www.google.com.tr");
curl_exec ($ch);
curl_close ($ch);
ekle.php kodlarım
<?php
include ('ayar.php');
$islemformu = '<form action="kaydet.php" method="post">
<input type="text" name="adres" />
<input type="submit" />
</form>';
echo $islemformu ;
?>kaydet.php kodlarım
<?php
include ('ayar.php');
$gelenadres = $_POST["adres"] ;
mysql_query ("INSERT INTO loglar (adres) VALUES ( '$gelenadres' )");
echo " $gelenadres Kaydedildi";
?>