newbie question

Codes here !

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 9
Joined: Tue Jan 28, 2003 10:20 am

Wed Jan 29, 2003 12:19 pm


i wrote a php script that allow a user to login to a sql server.
But after i tried to log with an account it said that i was authorized to get in.

But that's not the problem, when i get back to phpmyadmin i get the following messages :

Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\phpmyadmin\libraries\auth\config.auth.lib.php:91) in c:\program files\easyphp\phpmyadmin\ on line 23

...... etc ..


i checked in the faq but it didn't work (it said to verify if there were any blanks or charater before or after <? ?> in a file.

what must i do get back my mysqladmin????

2nd question : i must create a website that allows to view data of a mysql database. I think i should create a guest account to permit users to view the data only, and then special account users for those who want to send data.

Is it the best solution???


:sorry for the english

User avatar
Joan Garnet
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Wed Jan 29, 2003 4:32 pm

The first one...
I really don't understand what happened.
Did you change anything with phpmyadmin??
Didi it work previously?
When did it start happening?
The second one,
If you want to let users to see the contents of a database you'll have to write the code with php.
You can show whatever you want and you can allow users to change, add or delete anything you want.
You just have to write the program :)

Post Reply