Access Right Problem?

Hi there 

I played around with acces-rights to solve a problem. Since then the first problem is solved but i got a new one :-( 

I can't login to my site with my admin-account !

 

That's the script, my hoster gave my and ordered me to run ... 

<?php
echo '1. Directories';
echo 
'<pre>';
$last_line system("/usr/bin/permission . -type d -group apache -exec chmod 777 {} \\; -printf 'Changing permissions of %p - %m -> 777 \n'"$retval); 
echo 
'
</pre>
<hr />' 
$retval;
echo 
'<p>';
echo 
'2. Files';
echo 
'<pre>';
$last_line system("/usr/bin/permission . -type f -group apache -exec chmod 666 {} \\; -printf 'Changing permissions of %p - %m -> 666 \n'"$retval); 
echo 
'
</pre>
<hr />' 
$retval;
?>