שאלה דחופה אחים שלי...
תראו יש לי את הקוד הבא: <?php $filename = 'yahav.txt'; $somecontent = "here the text\n"; // Let's make sure the file exists and is writable first. if (is_writable($filename)) { // In our example we're opening $filename in append mode. // The file pointer is at the bottom of the file hence // that's where $somecontent will go when we fwrite() it. if (!$handle = fopen($filename, 'a')) { print "Cannot open file ($filename)"; exit; } // Write $somecontent to our opened file. if (!fwrite($handle, $somecontent)) { print "Cannot write to file ($filename)"; exit; } print "הצלחהההה !!!"; fclose($handle); } else { print "The file $filename is not writable"; } ?> שהוא עושה דבר כזה...: כשאתה נכנס לדף מעביר לקובץ טקסט את מה שרשום למעלה: here the text אבל אם אני רוצה לעשות תיבת טקסט וכפתור.. וברגע שלוחצים על הכפתור..כל מה שהם כתבו בתיבה יעבור לקובץ.... אפשר לעשות דבר כזה..??? אם כן תגידו לי איך בבקשה אני תחנןןן
תראו יש לי את הקוד הבא: <?php $filename = 'yahav.txt'; $somecontent = "here the text\n"; // Let's make sure the file exists and is writable first. if (is_writable($filename)) { // In our example we're opening $filename in append mode. // The file pointer is at the bottom of the file hence // that's where $somecontent will go when we fwrite() it. if (!$handle = fopen($filename, 'a')) { print "Cannot open file ($filename)"; exit; } // Write $somecontent to our opened file. if (!fwrite($handle, $somecontent)) { print "Cannot write to file ($filename)"; exit; } print "הצלחהההה !!!"; fclose($handle); } else { print "The file $filename is not writable"; } ?> שהוא עושה דבר כזה...: כשאתה נכנס לדף מעביר לקובץ טקסט את מה שרשום למעלה: here the text אבל אם אני רוצה לעשות תיבת טקסט וכפתור.. וברגע שלוחצים על הכפתור..כל מה שהם כתבו בתיבה יעבור לקובץ.... אפשר לעשות דבר כזה..??? אם כן תגידו לי איך בבקשה אני תחנןןן