-

  • (343)
  • Ѩ (189)
  •     (107)
  •     (25)
  •     (15)
  •     (12)
  •     (6)
  •     (4)
  •     (2)
  •     (2)
  •     (2)
  •     (1)
  •     (1)
  • (147)
  •     . (69)
  •     (11)
  • , (112)
  •     (6)
  • (98)
  • Ѩ (98)
  • (92)
  • (77)
  • (77)
  • , , (69)
  •     (24)
  • (60)
  • (54)
  • (41)
  •     Ѩ (5)
  • (34)
  • (32)
  • (31)
  • (22)
  •     (1)
  •     - (1)
  • GIMP (20)
  •     GIMP (15)
  •     GIMP (1)
  • (17)
  • (17)
  • (17)
  •     (3)
  • (16)
  • (16)
  • (15)
  • (14)
  • (13)
  • (11)
  • (9)
  • (8)
  • - (8)
  • (7)
  • Paint (6)
  • - (6)
  • (5)
  • -- (5)
  • (4)
  • (4)
  • (4)
  • (4)
  • (4)
  • (3)
  • (3)
  • (2)
  • (2)
  •     (2)
  • PAINT.NET Ѩ ͨ (1)
  • (0)

 -

 -

   _

 - e-mail

 

 -

( : 2) _ _

 -

 LiveInternet.ru:
: 01.06.2010
:
:
: 4822

:


-

, 10 2011 . 16:49 +

 


, .
, php html.
.
.
:

, .php, :

<?php
/*
Template Name: mail
*/
?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php
if (isset($_POST['name'])) {$name = $_POST['name'];}
if (isset($_POST['email'])) {$email = $_POST['email'];}
if (isset($_POST['sub'])) {$sub = $_POST['sub'];}
if (isset($_POST['body'])) {$body = $_POST['body'];}
 
$address = "mr.valen-ok@mail.ru";
$mes = ": $name \nE-mail: $email \n: $sub \n: $body";
$send = mail ($address,$sub,$mes,"Content-type:text/plain; charset = UTF-8\r\nFrom:$email");
if ($send == 'true')
{
echo " ,      ! <a href='http://blog-kota.ru/'> </a>";
}
else 
{
echo "  ,       ";
}
?>

?
.
, :
/wp-content/themes/__/mail.php

:
– – mail.php
, - - :

1)
$address = «mr.valen-ok@mail.ru»;
E-mail .

2)
{

echo « , !
<a href=’http://blog-kota.ru/’> </a>»;

}
, .
, .
, «».

:
http://_/wp-content/themes/ _/mail.php

, , , E-mail .

, php , , .

:

<form name="MyForm" action="/wp-content/themes/coman_special/mail.php" method="post">
<p><input class="input" name="name" type="text" style="width:31%" value=" " onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /></p>
 
<p><input class="input" name="email" type="text" style="width:31%" value=". " onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /></p>
 
<p><input class="input" name="sub" type="text" style="width:31%" value="" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /></p>
 
<p><textarea name="body" cols="1" rows="5" style="width:98%" onfocus="if(this.value==' '){this.value=''};"  onblur="if(this.value==''){this.value=' '}" > </textarea></p>
<p><input value=" " type="submit" /></p>
</form>

.
, :

, E-mail., .

   




1

: [1] []
santa3   , 10 2011 . 19:37 ()
?
   

, 10 2011 . 19:55
_
santa3, - , . , , . ? , . - , , , - , ..

, 10 2011 . 20:14
_
santa3, - , . , , . ? , . - , , , - , ..
....))

, 10 2011 . 20:21
_
santa3, !
: [1] []
 

:
: 

: ( )

:

  URL