# PHP Contact Form Tutorial Error

**URL:** <https://forum.kirupa.com/t/php-contact-form-tutorial-error/263214>\
**Category:** Uncategorized\
**Created:** [June 13, 2008, 12:15pm UTC](https://forum.kirupa.com/t/php-contact-form-tutorial-error/263214 "2008-06-13T12:15:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian\_dcuk](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@ian\_dcuk](https://forum.kirupa.com/u/ian_dcuk)\
**Post date:** [June 13, 2008, 12:15pm UTC](https://forum.kirupa.com/t/php-contact-form-tutorial-error/263214/1 "2008-06-13T12:15:55Z")

</div>

I have tried completing the simple php mailer tutorial provided on this website, however since uploading the files into the same directory on my webspace. When executed I am responded with the error - “Method Not Allowed. The requested method POST is not allowed for the URL /newportfolio/pages/mailer.php.”

So i dont know what I need to do next to resolve this situation… Any suggestions at all??

You can see it running here: [http://www.iancockram.co.uk/newportfolio/pages/contact.html](http://www.iancockram.co.uk/newportfolio/pages/contact.html)

IanI:-)

---

<div class="post-metadata">

**Author:** ![ian\_dcuk](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@ian\_dcuk](https://forum.kirupa.com/u/ian_dcuk)\
**Post date:** [June 13, 2008, 3:49pm UTC](https://forum.kirupa.com/t/php-contact-form-tutorial-error/263214/2 "2008-06-13T15:49:03Z")

</div>

> [@ahmednuaman;2342148](#):
>
> Do you use a .htaccess file? Is this site on a dedicated server or shared?

What do you mean by a .htaccess file?

This is all uploaded on my 123-reg web hosting server.
