Ciao a tutti,
ho un sito con un'area protetta creata con Pageprotect ( uno script scaricato da questo sito ).
Lo script ha alcune funzioni richiamabili da altre pagine che permettono di visualizzare il nome dell'utente e il suo username.
Lo script riporta una pagina di prova con questo codice:
<body style="font-family:arial;text-align:center;">
<h1>Examples of available functions:</h1>
<h4>
print_name():
Hello <? print_name(); ?>!
print_username():
Your username is "<?php print_username(); ?>".
che stampa appunto il nome e l'username con i quali ci si è loggati.
ho ricreato lo stesso in una mia pagina .php con questo codice:
<P align = "cente"><FONT size="4">
Ciao <? print_name(); ?>!
</P></FONT>
bhè non ci crederete ma mi scrive solo Ciao!!! cos'è che non va?
Grazie e ciao a tutti!