contactform.php messing up site I've tried creating a contactform.php file with the P&amp;T Contact Form plugin and using the code in the documentation to be able to programmatically add recipients. However, when I use this code: 

&lt;?php
    namespace Craft;

    $toEmail = craft()-&gt;request-&gt;getPost('toEmail');
    $toEmail = craft()-&gt;security-&gt;validateData($toEmail);

    return array(
        'toEmail' =&gt; ($toEmail ?: null),
        ...
    );


I end up getting a white screen of death and a 500 Internal Server Error. I don't know why it's doing this, I tried editing the permissions of my craft folder and the contactform.php file, but nothing has worked and I keep getting a white screen. 

How can I fix this?
Thanks!
The problem is the ... in your contactform.php file.

The docs use it because they assume you might have some other valid config settings you want to include in that config file, but it's not real code, which is why PHP is choking on it.

Remove the ... and you should be set.