# Two php form questions

**URL:** <https://forum.kirupa.com/t/two-php-form-questions/275037>\
**Category:** Uncategorized\
**Created:** [November 8, 2008, 3:42am UTC](https://forum.kirupa.com/t/two-php-form-questions/275037 "2008-11-08T03:42:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![polymaze](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@polymaze](https://forum.kirupa.com/u/polymaze)\
**Post date:** [November 8, 2008, 3:42am UTC](https://forum.kirupa.com/t/two-php-form-questions/275037/1 "2008-11-08T03:42:09Z")

</div>

Hello,  
I have been having trouble getting a php uploader to work properly.

You can see the form here  
[http://www.polymaze.funformentals.com/](http://www.polymaze.funformentals.com/)

So far, it is for two reasons:

1. If the file upload input is left empty, I keep getting two error messages. Rather than just not attaching a file.

```auto

Warning: fread(): supplied argument is not a valid stream resource in /home/content/a/l/a/alanigraphics/html/dsigns/brendanmoyer/utilities/uploader.php on line 37

Warning: fclose(): supplied argument is not a valid stream resource in /home/content/a/l/a/alanigraphics/html/dsigns/brendanmoyer/utilities/uploader.php on line 38

```

1. The email that it sends isn’t broken onto seperate lines, even though I have placed

```auto

```

at the end of the parts I would like to have seperated.

Any help would be greatly appreciated  
Thanks
