? Php collects information $ str_tmp? Phprn; to get the php start character. $ Str_tmp will accumulate $ str_end ?; Php Terminator $ str_tmp. $. name; rnt; add username $ str_tmp. $. passblackhorse; rn; add password $ str_tmp. $. age28; rn; and
? Php // collect information $ str_tmp = "? Php/r/n "; // get the start character of php. $ Str_tmp will accumulate $ str_end = "? "; // Php Terminator $ str_tmp. = "$ ". "name =/" /";/r/n/t"; // Add the username $ str_tmp. = "$ ". "pass =/" blackhorse/";/r/n"; // Add the password $ str_tmp. = "$ ". "age =/" 28/";/r/n"; // Add
// Collect information
$ Str_tmp ="
$ Str_end = "?> "; // Php Terminator
$ Str_tmp. = "$". "name =/" /";/r/n/t"; // Add User name
$ Str_tmp. = "$". "pass =/" blackhorse/";/r/n"; // Add the password
$ Str_tmp. = "$". "age =/" 28/";/r/n"; // Add to age
$ Str_tmp. = "$". "income =/" 4500/";/r/n ";
$ Str_tmp. = $ str_end; // Add the Terminator.
// Save the file
$ Sf = "blhorse. php"; // file name
$ Fp = fopen ($ sf, "w"); // open a file in write mode
Fwrite ($ fp, $ str_tmp); // store the content
Fclose ($ fp); // close the file
?>