issue posting php code

hi - try UNCOMMENTING out the following php code block -- it give me an error:

The following error occurred:
Forbidden
You don't have permission to access /forum/forums/bug-reports.11/create-thread/preview on this server.

Apache Server at forum.interserver.net Port 80


PHP:
/*
                $fh = fopen($mailFile, 'r');
                while (!feof($fh))      {
                        $line = fgets($fh)      ;
                        if  ( preg_match('/^mydestination /', $line ))  {
*/
                                $pieces = explode(' ', $line);

                                $domainName = trim(array_pop($pieces));
                                break;
                        }
               }
thoughts? concerns?
[/PHP]
 
one liner example:

PHP:
               /*  $domainName    = preg_replace($pattern, '', exec('head -1 /etc/hosts')) ;
              */
maybe we cant post the "exec" function?
 
Top