Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 11:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[PHP/HTML] Formular ausfüllen und speichern als txt

Discussion on [PHP/HTML] Formular ausfüllen und speichern als txt within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
bestora's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,191
Received Thanks: 177
[PHP/HTML] Formular ausfüllen und speichern als txt

Hallo Leute,
ich wollte fragen ob irgendjemand ein einfaches Formular entwirft was sich später dann beim bestätigen als txt speichert

Wäre nett wenn jemand das machen könnte und zeigen könnte wie es geht

ich bin noch am anfang mit HTML und PHP und brauche sowas für ein projekt von mir
bestora is offline  
Old 12/29/2011, 19:21   #2
 
PseudoPsycho's Avatar
 
elite*gold: 1715
Join Date: Dec 2011
Posts: 672
Received Thanks: 207
HTML-Formular:
Code:
<form name="formular" action="auswertung.php" method="post">
<input name="wert1"><input name="wert2">
</form>
PHP-Datei:
Code:
<?php
$file = 'save.txt'; // Name der Textdatei

$inhalt = $_POST['wert1']."\r\n".$_POST['wert2']."\r\n"; // Neuer Inhalt der Datei
$handler = fOpen($file , 'a+'); // Datei öffnen
fWrite($handler , $inhalt); // Inhalt in Datei schreiben
fClose($handler); // Datei wieder schließen
PseudoPsycho is offline  
Reply


Similar Threads Similar Threads
[HTML]Webseite automatisch speichern
10/09/2011 - Web Development - 2 Replies
Hey e*pvpers, Ich wollte mal wissen ob es einen Code gibt, der eine Webseite automatisch kopiert und auf dem Webspace speichert ? mfg xazorstix
Hilfe in Cinema 4d ? Datei Speichern mit transparentem hintergrund Speichern ?
09/29/2011 - elite*gold Trading - 10 Replies
^this. Melde euch bei mir, wenn es klappt, bekommt ihr bisschen egold.
Kann mir einer die Quest ausfüllen?
09/09/2011 - Metin2 Private Server - 2 Replies
Hey Leute. Kann mir einer den Inhalt von der quest hier ausfüllen? http://www.elitepvpers.com/forum/metin2-pserver-g uides-strategies/1412569-release-schere-stein-papi er-quest.html Da steht ja NPc vnum einsetzen hab dann die von Octavio hinzugefügt dann erscheint son error nach make.py :/ octavio:20008
[C#] Felder ausfüllen auf einer Webseite
07/10/2010 - .NET Languages - 1 Replies
Huhu, hab da ein kleines Problem mit der Paysafecard Seite. Der Quelltext wo ich was eingeben will ist: <input type="hidden" name="mainPagePart" value="mainPagePart" /> <!-- START PIN --> <fieldset><div id="mainPagePart:j_id51" class="form-inner-pin"><div id="mainPagePart:j_id52" class="col-left1"><div id="mainPagePart:j_id53" class="row pin"> <label>PIN-Code:</label></div>&l t;div id="mainPagePart:j_id57" class="row pin"><div...



All times are GMT +1. The time now is 11:50.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.