WebSite X5Help Center

 
Vladimír B.
Vladimír B.
User

How works option Send data to file?  en

Author: Vladimír B.
Visited 1725, Followers 1, Shared 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
5 ANSWERS - 1 USEFUL
Anthony A.
Anthony A.
User

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)

Read more
Posted on the from Anthony A.
Vladimír B.
Vladimír B.
User
Author

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);
?>

Read more
Posted on the from Vladimír B.
Anthony A.
Anthony A.
User

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)

Read more
Posted on the from Anthony A.
Vladimír B.
Vladimír B.
User
Author

:-) Ooo thank you.

But it does'n work. My file is empty. What is bad?

Read more
Posted on the from Vladimír B.
Anthony A.
Anthony A.
User

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)

Read more
Posted on the from Anthony A.