Merhaba aşağıdaki hataları alıyorum nasıl giderebilirim acaba ?
Notice: Use of undefined constant id - assumed 'id' in /home/askbuluc/public_html/sayfa.php on line 14
Notice: Use of undefined constant id - assumed 'id' in /home/askbuluc/public_html/sayfa.php on line 47
<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
</head>
<?
@include ("config.inc.php");
error_reporting(E_ALL);
require('phplistgrab.php');
if($_GET[id]=="al"){ <-------------- 14. satır
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
$phplistgrab = new phpListGrab($_POST['passport'], $_POST['password']);
$phplistgrab->grab();
sort($phplistgrab->lists[LIST_FORWARD]);
//$header = "From: ".$_POST['passport']." <".$_POST['passport'].">\r\n";
?>
<center>
<form action="javascript
:void(0);" method="post">
<textarea name="gonder" style=" width:250px; height:150px;border:solid #666 1px; font-family:Calibri; font-size:15px; color:#39F">
<?
foreach ($phplistgrab->lists[LIST_FORWARD] as $contact)
{
$to = $contact['passport'];
$subjectt = 'davetlisiniz !!';
$messagee = 'Seni çok begendigim
http://www.sevgim.com a davet ediyor nasil ??';
//mail($to, $subject, $message, $header);
echo $to."\n";
}
?>
</textarea><br />
<input name="yollayan" type="hidden" value="<? echo $_POST['passport'];?>"/>
<input type="submit" value="Gonder" onClick="gondermail();" style="border: outset #666 1px; font-family:Calibri; font-size:15px; color:#39F; background:#FFF;">
</form>
</center>
<?
}
}
if($_GET[id]=="gonder"){ <------------------- 47. Satır
$liste=$_POST['gonder'];
$yollayan=$_POST['yollayan'];