Autor | Zpráva | ||
---|---|---|---|
sared Profil * |
#1 · Zasláno: 7. 1. 2006, 22:28:26
stejne sem to nepochopil me prichazi jen prazdnej e-mail na jedné stránce mám formulár s textovxma polema a na druhe ten script na odeslani takto
<form name="registrace" enctype="text/plain" onsubmit="Zpracuj(this)" action="registrace.php" method="post"> <table width="400" id="table1" height="146"> <tr><td width="92"><span lang="en-us"> </span> Kapitán:<td width="298" colspan="3"> <FONT size=3 face=Bassoon> <input type="text" name="Kapitan" size="30"></font><br> <tr> <td width="92"> <FONT size=3 face=Bassoon>Zástupce CL:<td width="298" colspan="3"> <FONT size=3 face=Bassoon> <input type="text" name="ZCL" size="30"></tr> <tr> <td width="92"> <FONT size=3 face=Bassoon> Hráč1:<td width="298" colspan="3"> <FONT size=3 face=Bassoon> <input type="text" name="Hrac1" size="30"></tr> <tr> <td width="92">   ; <FONT size=3 face=Bassoon> Hráč2:<td width="298" colspan="3"> <FONT size=3 face=Bassoon> <input type="text" name="Hrac2" size="30"></tr> <tr> <td width="92" height="26"> <FONT size=3 face=Bassoon> Web:<td height="26" width="298" colspan="3"> <FONT size=3 face=Bassoon> <input type="text" name="Web" size="30" value="http://"></tr> <tr><td height="24" width="92"> ICQ CL:<td height="24" width="298" colspan="3"> <FONT size=3 face=Bassoon> <input type="text" name="ICQCL" size="30"></font><br> <tr><td height="21" width="92"> ICQ zCL:<td height="21" width="298" colspan="3"> <FONT size=3 face=Bassoon> <input type="text" name="ICQZCL" size="30"></font><br> <tr><td width="92">   ; E-mail:<td width="298" colspan="3"> <input type="text" name="Email" size="30" value="@"> <tr> <td width="92"> <td width="57"> <p align="left"> <td width="84"><FONT size=3 face=Bassoon> <span style="font-style: normal"><font face="Comic Sans MS" size="3"> <input type=submit value="Registruj" style="font-family: Comic Sans MS; font-weight: 700"></font></span><td width="149"> </tr> </table> <address> </address> <address> </address> </form> a na druhe strance ten script co je zde na jakpsatweb a potrebuju ho upravt aby to bylo jako pres outlook <? if ( Mail("hrbekp@seznam.cz", $predmet, $zprava, "From: " . $Kapitan) ) echo "Registrace proběhla úspěšně"; else echo "Selhalo, skuste znovu"; ?> Snad to pomuze :) |
||
grafical Profil |
#2 · Zasláno: 8. 1. 2006, 14:11:30
sared
a mas pred tou druhou castou $predmet = ... $zprava = ... $Kapitan = ... ?? |
||
sacred Profil |
#3 · Zasláno: 9. 1. 2006, 18:47:03
sared
a mas pred tou druhou castou $predmet = ... $zprava = ... $Kapitan = ... ?? sem te nepochopil me to tam nic nedela jen bordel |
||
habendorf Profil |
#4 · Zasláno: 9. 1. 2006, 18:59:02 · Upravil/a: habendorf
Myslím že grafical se ti snaží naznačit, že je potřeba převzít proměnné.
Jinak ten formulář, to je teda něco, fuj. |
||
sacred Profil |
#5 · Zasláno: 9. 1. 2006, 20:31:05
njn je ale ja sem totalnej zacatecnik ja sem rad za to co mam
|
||
sacred Profil |
#6 · Zasláno: 9. 1. 2006, 20:33:15
jen prekopat tenhle script
<? if ( Mail("hrbekp@seznam.cz", $predmet, $zprava, "From: " . $Kapitan) ) echo "Registrace proběhla úspěšně"; else echo "Selhalo, skuste znovu"; ?> na to aby to pasovalo s tim formularem to by se hodilo |
||
sacred Profil |
#7 · Zasláno: 9. 1. 2006, 20:35:05
ale dik za snahu sem stracenej pripad makam na COD2 aby to bylo dobry je to jen zacinajici ale nic moc :'(.....
..... tak nic |
||
habendorf Profil |
#8 · Zasláno: 9. 1. 2006, 20:40:57
Jak naznačoval grafical, začni takhle:
$predmet=$_POST['predmet']; , to udělěj pro všechny proměnné. Pak teprve použiješ funkci mail. |
||
sacred Profil |
#9 · Zasláno: 9. 1. 2006, 21:03:25
jj chapu snad dik uz to fakt chapu vyplati se sem napsat a ten formular je fakt hnus :D THX
|
||
Časová prodleva: 17 let
|
Toto téma je uzamčeno. Odpověď nelze zaslat.
0