PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
dimitris wrote:This file is included inorder to make a connection with the database!It is the same that was used to authenticate the user in the login form!
Sorry that was my mistake enabling phpbb code!
Thats the right code which i use:
The index page sabotages itself at the next stage!
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I changed it but the same error returns!
I have also to add that pages' title changed to Untitled Document
In my opinion something wrong is going on with the headers!
Thanks a lot for the advise! I wasn't sure to use $_SESSION('x') whether session_register('x') but unfortunately the error continues!
Let me describe my page:
It is index.php with 4 php scripts which recall some records from some tables. There is a form which authenticates users. When a user submits the form he goes straight to the same page with the known results!
I will try to send the submition to another page (e.g. usercheck.php) and then with redirection back to index.php, with the suitable session variable.
I will try it and then inform you!
Of course the first error should also be resolved without this trick.