[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] phpmyadmin package letting user download raw php code



Hi all. I installed the phpmyadmin package from http://www.nuonce.net/cobalt-phpmyadmin.php If I access http://domain.com/phpmyadmin/ where is domain.com is not the first domain on the server I get the username and password box. But the real problem is that when I access it from the first domain ever put on the raq I get this php file downloaded via my browser:


<?php
/* $Id: index.php,v 1.54 2003/07/11 09:35:05 rabus Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:


/**
* Gets core libraries and defines some variables
*/
require('./libraries/grab_globals.lib.php');
require('./libraries/common.lib.php');
.....
DELETED TO SAVE SOME SPACE
.......



I suspect this is bad but I can't find anyway to stop it from happening. I know php is turned on for all the sites.

How can I stop the php code from being sent to the user?

Thanks

_________________________________________________________________
Keep up with high-tech trends here at "Hook'd on Technology." http://special.msn.com/msnbc/hookedontech.armx