konf.php
<?
$name ="emas";
$email="pzpteam@gmail.com";
$message="Is good site";
$comment="Is good site";
?>
*************************
index.php
<?
include("konf.php");
$address= "name=".$name."&gb_name=".$name."&email=".$email."&gb_email=".$email."&gb_action=Submit&message=".$message."&comment=".$message."&gb_comment=".$message."&gb_gender=m&send=send";
$fp = fsockopen ("www.turkalemi.de, $errno, $errstr, 30");
fputs ($fp, "POST /board/burningbook/addentry.php HTTP/1.0rnHost: 10.0.0.1rnContent-Type: application/x-www-form-urlencodedrnContent-Length: rnrn $address");
?>
и у меня выдаёт ошибку... Warning: fputs(): supplied argument is not a valid stream resource in z:homelocalhostwww2.php on line 6
где я ошибся??
|