Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dynamic Webpages

New Here ,
Sep 23, 2008 Sep 23, 2008
I am trying to create a dynamic webpage,where the contact details of a customer are entered into a webform and sent to the buisness' email. To do this I purchased the 'Advanced Dreamweaver Dynamic Applications' book.

When I test the page on my PC at home (useing it as the test server) an error message appears and the email does not send. I have checked the code and it is the same as the book's code.

Can anyone help?

Thanks
TOPICS
Server side applications
270
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 23, 2008 Sep 23, 2008
LATEST
Big22211 wrote:
> When I test the page on my PC at home (useing it as the test server) an error
> message appears and the email does not send. I have checked the code and it is
> the same as the book's code.

I'm not familiar with that book, but testing PHP mail() from a local
computer is generally a fruitless endeavour. A few years ago, you could
normally just set up sendmail_from in php.ini and point the mail at your
ISP. Sadly, the proliferation of spam means ISPs now demand
authentication before accepting email. The PHP mail() function wasn't
designed for authentication, so it fails.

The only reliable way of testing mail() is by uploading the script to
your remote server, and testing it there.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines