View Single Post
ישן 17-12-07, 20:49   # 3
ToxicBoy21
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2007
גיל: 33
הודעות: 409
שלח הודעה באמצעות MSN אל ToxicBoy21

ToxicBoy21 לא מחובר  

בס"ד

תעשה טופס פשוט
PHP קוד:
<form method='POST' action='index.php?page=sendfriend>
<input type='
text' name='email' maxlength='60'>
<input type='
submit' name='submit' value='&#1488;ישור'>
</form
אחר כך ב PHP:

PHP קוד:
if ($_GET['page'] == sendfriend)
$email $_POST['email'];

$subject 'the subject';
$message 'hello';

mail($email$subject$message$headers);

  Reply With Quote