Se c'è un volenteroso che gentilmente mi può dare una mano a risolvere lerrore che mi restituisce in fase di debug, " PHP Designer 2005" .
La cartella "include " è nella stessa cartella ove è questo listato ( esempio: pippo/include
Posto anche il codice in modo da poter capire ed è il seguente;
<?php include('./classes/auth_check.php') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Home</td>
<td>Riservata2</td>
<td>Riservata3</td>
<td>Riservata4</td>
<td>Logout</td>
</tr>
</table>
"Se ho capito il messaggio quì si aspettava una parentesi graffa --> {
o ho mal capito ? "
Benvenuto <?php echo $authObj->name ?> !
</body>
</html>
__________________________________________________ _____________
Questo è l'errore che mi viene restituito i fase di debug . __________________________________________________ _____________
Parse error: syntax error, unexpected '{' in C:\Documents and Settings\mediatel-service\Documenti\Web\esperimenti da rivista-PHP\php\script\area_riservata\classes\auth_check.p hp on line 13