Use PHP + java to implement an automatic news rolling window, and read the code of using PHP + java to implement an automatic news rolling window. show. php source code :? If ($ action = cp) {echodivalign = centerp scroll menu data input/pformmethod = postaction = show. php? Action = edui text 1:. show. php source code:
If ($ action = "cp "){
Echo"
Scroll menu data input
"; Exit ;}
If ($ action = "edit "){
$ Wname = "data.txt"; # data storage file, attribute 666
$ Writeurl = "$ t1 <\/a>
$ T2 <\/a>
$ T3 <\/a>
$ T4 <\/a>
$ T5 <\/a>
";
$ Fp = fopen ($ wname, "w ");
$ Ww = fputs ($ fp, $ writeurl );
If ($ ww) {echo file written successfully;} else {echo write failed ;}
Exit ;}
$ Wname = "php-bin/data.txt"; # because it is called on the page, you must enter the relative or absolute path of the page and program!
$ Fa = fopen ($ wname, "r + ");
$ Wwww = fread ($ fa, filesize ($ wname ));
Echo"