NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:e-mail-dateianhang [2012/01/11 12:11] Knut Heermann (flip-flop) |
deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:e-mail-dateianhang [2018/06/03 18:08] (current) |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| \\ | \\ | ||
| - | |||
| Script für den Aufruf einer PHP-Funktion aus einem Formular heraus nach dem submit. | Script für den Aufruf einer PHP-Funktion aus einem Formular heraus nach dem submit. | ||
| Line 26: | Line 25: | ||
| In einem Formular können alle drei Varianten gleichzeitig verwendet werden. Auch die parallele Verwendung von Einträgen im versteckten Feld und im TAG sind möglich. | In einem Formular können alle drei Varianten gleichzeitig verwendet werden. Auch die parallele Verwendung von Einträgen im versteckten Feld und im TAG sind möglich. | ||
| + | |||
| + | <note> | ||
| + | **Leere Felder oder TAGs sollten nicht verwendet werden.** | ||
| + | </note> | ||
| \\ | \\ | ||
| ** Ausgeschlossene Dateiendungen:** | ** Ausgeschlossene Dateiendungen:** | ||
| - | Dateien mit den Endungen: ##%%*.exe, *.php, *.asp,*.php3, *.php4, *.php5, *.aspx, *.cfm, *.js%%## werden nicht versendet. | + | * Dateien mit den Endungen: ##%%*.exe, *.php, *.asp,*.php3, *.php4, *.php5, *.aspx, *.cfm, *.js%%## werden nicht versendet. |
| \\ | \\ | ||
| Line 123: | Line 126: | ||
| ===== Download ===== | ===== Download ===== | ||
| - | **Datei:** template/inc_script/frontend_init/cp_form_add_attachment01.php | + | * **Datei:** template/inc_script/frontend_init/cp_form_add_attachment01.php |
| + | * **Datei:** template/inc_script/frontend_render/cp_form_add_attachment01.php | ||
| + | |||
| + | **V 1.11 12.01.2012 Update:** Fehlererkennung verbessert, bei leeren Feldern/TAGs wird kein Fehler generiert. \\ | ||
| + | **V 1.11 13.01.2012 Update:** Fehler in %%/template/inc_script/frontend_render/cp_form_add_attachment01.php%% "Line 22" beseitigt ([[http://forum.phpwcms.org/viewtopic.php?p=133731#p133731|Automatische Rückmail mit Dateianhang mit Kontaktformular]]). | ||
| + | * Zeile 22 ersetzt durch<code>if (strpos($content['all'], 'jumpForm')) { </code> | ||
| + | |||
| + | |||
| + | \\ | ||
| + | {{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:add_attachment01_v111.zip|}} | ||
| - | **Datei:** template/inc_script/frontend_render/cp_form_add_attachment01.php | ||
| - | {{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:add_attachment01.zip|}} | ||
| \\ | \\ | ||