Location: PHPKode > projects > Craigslist Classfieds PHP Clone Script > classifieds/sendMessage.php
<?php

session_start();

include("URLs.php");

include("classes/MessageInfo.php");

$postingID = $_GET['postingID'];

$senderID = $_SESSION['userID'];

include("Db.php");

include("classes/Sanitize.php");            

$postingID = Sanitize::clean($postingID);

$postingInfo = new MessageInfo($postingID);

?>

<!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" xml:lang="en" lang="en">



<head>

	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

	<title>Send A Message</title>

</head>



<body>



<h1>Send A Message</h1>



<h2>Regarding: <?php echo $postingInfo->postingName; ?></h2>



<form action="classes/MessageSend.php?postingID=<?php echo $postingID; ?>" method="post" name="sendMessage">



<textarea name="message">Message</textarea>



<input type="submit" name="sendMessage" value="Send Message"/>



</form>



</body>

</html>
Return current item: Craigslist Classfieds PHP Clone Script