问题描述:

May I am wrong, but i think this codei posted below should work. Any of the PHP-Code won't be executed from line 1 - 10 and 100 - 106. I already tested it on my XAMPP and on my online FTP via a public webhoster. Every other file executed from the FTP or localclient is normally working with PHP (for example the database connection).

And do not wonder the lines 6,7,8 and 100 - 106 are only testlines to see if PHP works properly, which is not the case in my opinion.

Main Goal:

If session is active and the variable 'access' is set then redirect directly to the userview.php.

Code on pastebin (loginmask)

DB-Connection

I would be glad if someone could help.

网友答案:

Try to replace the <? ?> tags with <?php ?>, or check your short_open_tag directive in php.ini file.

相关阅读:
Top