How works option Send data to file?
Autor: Vladimír B.
Visited 1728,
Followers 1,
Udostępniony 0
How works option Send data to file? Can you explain me it? What is inside php file - File of script (Php, ASP ...)?
Posted on the
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)
Autor
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)
Autor
:-) 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)