How works option Send data to file?
Autore: Vladimír B.
Visite 1727,
Followers 1,
Condiviso 0
How works option Send data to file? Can you explain me it? What is inside php file - File of script (Php, ASP ...)?
Postato il
it will keep it inside a php file.
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
https://nuluhost.com (compatible with x5 program, 30 days money back guarantee)
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)
Autore
Thank you, now I understand. It is OK this simply skript? Or how to get data to file?
<?php
$Adresa = $_POST['Adresa'];
$file="imemail/AddData-1-.php";
$testfile=$Adresa;file_put_contents($file, $testfile);
?>
program will generate it automaticlly, you dont need to come up with the script!
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
https://nuluhost.com (compatible with x5 program, 30 days money back guarantee)
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)
Autore
:-) Ooo thank you.
But it does'n work. My file is empty. What is bad?
you need to have new registration or entry for your blog or a new post for your guest book in order to new data being save inside that file, if there is nothing new, then file is blank.
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
https://nuluhost.com (compatible with x5 program, 30 days money back guarantee)
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)