WebSite X5Help Center

 
Vladimír B.
Vladimír B.
User

How works option Send data to file?  en

Autor: Vladimír B.
Besucht 1726, Followers 1, Geteilt 0  

How works option Send data to file? Can you explain me it? What is inside php file - File of script (Php, ASP ...)?

Gepostet am
5 ANTWORTEN - 1 NüTZLICH
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)

Mehr lesen
Gepostet am von Anthony A.
Vladimír B.
Vladimír B.
User
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);
?>

Mehr lesen
Gepostet am von 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)

Mehr lesen
Gepostet am von Anthony A.
Vladimír B.
Vladimír B.
User
Autor

:-) Ooo thank you.

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

Mehr lesen
Gepostet am von 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)

Mehr lesen
Gepostet am von Anthony A.