![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 565 Pomógł: 15 Dołączył: 11.10.2010 Ostrzeżenie: (20%) ![]() ![]() |
Otóż mam taki problem:
Na stronie np; WyslijZgloszenie.php znajduje sie takie cos: <form action="Zgloszenie.php" method="post"> <input type="text" name="Nick" value""> <input type="submit" name="Nick" value"Wyslij Zgloszenie !"> </form> W międzyczasie na stronie WyslijZgloszenie.php wpisujemy w polu adam, a w pliku zgłoszenie.php wysyła mi normalny mejl z tym wpisanym słowem (adam) ale jest takie cos na stronie Zgloszenie.php ==> header(Location:Dziekujemy.php), co zrobic aby na stronie Dziekujemy.php byl taki napis: Hej, adam dziekujemy Pomóżcie |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 380 Pomógł: 59 Dołączył: 24.04.2010 Skąd: London Ostrzeżenie: (0%) ![]() ![]() |
pokaz plik zgloszenie.php
-------------------- |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 565 Pomógł: 15 Dołączył: 11.10.2010 Ostrzeżenie: (20%) ![]() ![]() |
<?php
//////////////////////////////////////////////////////////////// // PERFECT // // ------- // // PHP E-mail Receive Form Electronic Content Text // // File: feedback.php // // Version: 1.8 (April 21, 2008) // // Description: Processes a web form to read the user input // // and then send the data to a predefined recipient. You // // are free to use and modify this script as you like. // // Instructions: Go to "http://www.centerkey.com/php". // // License: Public Domain Software // // // // Center Key Software * www.centerkey.com * Dem Pilafian // //////////////////////////////////////////////////////////////// // Configuration Settings $SendFrom = "costam"; $SendTo = "dokogol"; $SubjectLine = "Restockowa nagroda"; $ThanksURL = "Sucess.php"; //confirmation page // Build Message Body from Web Form Input foreach ($_POST as $Field=>$Value) $MsgBody .= "$Field: $Value\n"; $MsgBody .= "\n" . "\n" . $_SERVER['REMOTE_ADDR']; $MsgBody = htmlspecialchars($MsgBody, ENT_NOQUOTES); //make safe // Send E-Mail and Direct Browser to Confirmation Page mail($SendTo, $SubjectLine, $MsgBody, "From: $SendFrom"); header("Location: $ThanksURL"); ?> |
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 380 Pomógł: 59 Dołączył: 24.04.2010 Skąd: London Ostrzeżenie: (0%) ![]() ![]() |
a w kolejnym pliku: -------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 01:37 |