~AeroWinSe7en~ {Windows~Browser~Graphic~Console~Internet Owned~HTML & CSS}

CONTACT HTML

« Older   Newer »
  Share  
¤~DarKsO
CAT_IMG Posted on 26/2/2010, 14:40




Prima di tutto creare una nuova pagina Html e inserire questo codice

CODICE
<form id=”form1″ name=”form1″ method=”post” action=”send_email.php”>
Name: <input name=”name” type=”text” id=”name”>

Email: <input name=”email” type=”text” id=”email”>

Subject: <input name=”subject” type=”text” id=”subject”>

Message:

<textarea name=”message” cols=”40″ rows=”8″ id=”message”>


<input type=”submit” name=”Submit” value=”Submit”>
<input name=”Reset” type=”reset” id=”Reset” value=”Reset”>
</form>


Save the file as “contact_form.html” including double quotes.



Secondo, crea un nuovo file e inserisci questo codice PHP. Ricordati di sostituire $receiver = “[email protected]” con la tua mail
CODICE
<?php
$sender = $email;
$receiver = “[email protected]”;
$email_body = “Name: $name \nEmail: $email \nMessage: $message”;

if( mail( $receiver, $subject, $email_body, “From: $sender\r\n” .
“Reply-To: $sender \r\n” . “X-Mailer: PHP/” . phpversion()) )
{
echo “Success! Your message has been sent. Thank You.”;
}
else
{
echo “Your message cannot be sent.”;
}
?>
 
Top
giro94
CAT_IMG Posted on 26/2/2010, 14:42




cos'č??
 
Top
®AleX©
CAT_IMG Posted on 26/2/2010, 14:44




E a che serve?
 
Top
¤~DarKsO
CAT_IMG Posted on 2/3/2010, 20:59




Per creare una pagina HTML !
 
Top
giro94
CAT_IMG Posted on 2/3/2010, 21:51




si, ma che cosa fa??
 
Top
$MarcoMilan$
CAT_IMG Posted on 16/4/2010, 14:09




cosa fa una pagina html???
 
Top
giro94
CAT_IMG Posted on 16/4/2010, 14:10




una pagina č composta da un html, ovvero le istruzioni
 
Top
$MarcoMilan$
CAT_IMG Posted on 16/4/2010, 14:13




quello lo so!
 
Top
CAT_IMG Posted on 4/3/2024, 03:04

Junior Member

Group:
Member
Posts:
1

Status:


I hand-me-down to active not far from the Jabalia and when other place prostrate from heaven I was luckier than the people who lived there.
My repute is µ†., I am a displaced person and I am raising loot to help.
Elect if you can send a dollar saved to a Bitcoin billfold, do so. I will have a stab to send funds due to the fact that humanitarian backing to the victims in the Gaza Strip.

Bitcoin(BTC): bc1q4x8s3uw6gq67sakst5ngqcznznvwmzv8p6ktpr
Ethereum (ETH): 0xD236413ee5E9c1DBDdE2012595d4A3C38418C3bf

If you can't send funds, choose don't cancel this despatch or send it to SPAM. Elect leading it to those who can send at least 1 dollar.


§†€† .
…¬ .
. .

Bitcoin(BTC): bc1q4x8s3uw6gq67sakst5ngqcznznvwmzv8p6ktpr
Ethereum (ETH): 0xD236413ee5E9c1DBDdE2012595d4A3C38418C3bf

. .
 
Top
9 replies since 26/2/2010, 14:40   24412 views
  Share