<? php
$ file = "file name . txt" ; // Name of text file
if ( file_exists ( $ file ) ) {
$ counter = file_get_contents ( $ file ) ;
$ visitreal = @ $ _ COOKIE [ 'edit this space' [19659007]] ;
if (! $ visitreal ) $ counter + + ;
] } else {
touch ( $ file ) ;
chmod ( ] $ file 0755 ) ;
$ counter = 1;
}
// Time so that the visit can be re-told
setcookie ( "edit this space" 1 time () + 3600 ) ;
file_put_contents ( $ file $ counter ) ;
]? >
from Nettech Post http://bit.ly/2Sw0P3A
No hay comentarios:
Publicar un comentario