Контакт-форма
Started By icelord, фев 05 2007 21:31
9 ответов в этой теме
#2
Отправлено 05 февраля 2007 - 21:40
"It's even more important than reading the bible six times or becoming a pope"
#3
Отправлено 05 февраля 2007 - 21:42
index.html
form_save.php
<form method="post" action="form_save.php"> <input type="text" name="form[name]" value =""> <input type="text" name="form[phone]" value =""> <input type="text" name="form[email]" value =""> <input type="text" name="form[komanda]" value =""> <input type="text" name="form[theme]" value =""> <textarea name="form[message]"></textarea> <input type="submit" value="Отправить"> </form>
form_save.php
<?php if ( isset( $_POST['form'] ) && is_array( $_POST['form'] ) ) { mail( '[email protected]', 'Tema soobshenija', print_r( $_POST['form'], true ) ); } ?>
Сообщение изменено: Setor (05 февраля 2007 - 22:08 )
#8
Отправлено 05 февраля 2007 - 22:11
в одной страничке:
form.php
form.php
<form method="post" action="form.php"> <input type="text" name="form[name]" value =""> <input type="text" name="form[phone]" value =""> <input type="text" name="form[email]" value =""> <input type="text" name="form[komanda]" value =""> <input type="text" name="form[theme]" value =""> <textarea name="form[message]"></textarea> <input type="submit" value="Отправить"> </form> <?php if ( isset( $_POST['form'] ) && is_array( $_POST['form'] ) ) { mail( '[email protected]', 'Tema soobshenija', print_r( $_POST['form'], true ) ); echo "Отправлено!"; } ?>
"It's even more important than reading the bible six times or becoming a pope"
#10
Отправлено 26 февраля 2007 - 20:29
Два студента разговаривают:
- Слышь, не знаешь как на латыни будет "член коммунистической партии"?
- "Пенис партикус коммунистикус"!
- Слышь, не знаешь как на латыни будет "член коммунистической партии"?
- "Пенис партикус коммунистикус"!