Jump to content

Custom guestbook for website?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
RuneNova91

RuneNova91

    Learning Programmer

  • Members
  • PipPipPip
  • 74 posts
Hey Codecall,

I'm going to FullSail University Online for Web Design & Development.
That being said, I attempted to get into the actual Web Designing early and am currently designing a website for a client.
Basically, she would like a guestbook added to her site (being built with Dreamweaver CS5).
The way she wants the guestbook laid out is to have an input box for the persons name, then a text box to type a message underneath it.
When the person submits the guestbook message, it gets sent to her email to notify her (and only she can see her guestbook, no viewers of the site can)

I learned some basic PHP awhile back and I'm going back over it, however, can anyone help me out with this?

Thank you
How many programmers does it take to fix a light bulb? ...None, its a hardware problem.

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
I am sure it is not too difficult to do, if the client wants a viewable guest book and emailing then you will need to call mail() and then insert a record in to the database, with their name and message.

A custom page can view the records for the client of course once authenticated.

Have you started? Do yo have any specific questions?
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
RuneNova91

RuneNova91

    Learning Programmer

  • Members
  • PipPipPip
  • 74 posts
I have started, sort of...haha.
I'm looking at other kinds of guestbooks (and their coding) to get an idea of what I'm working with.
But here's a question...I figured PHP would be easiest, however, I assume it can also be HTML?
And if it can only be PHP, since the guestbook messages will be getting sent to my clients e-mail only, does any kind of server have to be set up for it at all?

Thanks
How many programmers does it take to fix a light bulb? ...None, its a hardware problem.

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
Most shared hosting servers have their own dedicated mail server, and it will be set up in their PHP instance already so mail() will work. If not , then you will have to configure an MTA (maybe sendmail) to speak to a specified mailserver.

As for the guestbook, PHP will simply dump the records holding their entries, HTML and CSS would be the thing that makes it a "book" (stylings, etc.)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
RuneNova91

RuneNova91

    Learning Programmer

  • Members
  • PipPipPip
  • 74 posts
Ok that clears things up. Thank you
How many programmers does it take to fix a light bulb? ...None, its a hardware problem.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users