How to make a simple guestbook?

Posted on 2002-06-23
Last Modified: 2010-05-18
Hello experts,

I would like to create a simple guestbook in
flash. I am not so in PHP and stuff, and don't know
it that is the most simpel way to make a guestbook.
All you're suggestion are welcome.

Kind regards
Question by:stevenvervliet
  • 2
  • 2
  • 2

Accepted Solution

rootdir earned 150 total points
ID: 7102078

Author Comment

ID: 7103335
Hello RootDir,

Thank you for you're reply, i have been checking out
the links that you provide for me and they are very
interesting. Unfortunatly, they are a little bit to far right now for me. I will get there but for now...It's too heavy... So i thaugt of another idea to fix my problem with the guestbook on a more simpel way.
What if i would create 3 input boxes, Name, email & comment. And a send button.
When the visitor is finished filling the fields and clicks
on the send button, the info should be sent directly to my email, and NOT to asp,php,... If that is possible offcaurse. I will add the guestwritings then manually to the page myself.
Is there a way to do this? And is this more simple than with asp,php stuff?

Kind regards

LVL 19

Expert Comment

ID: 7105392
You MUST use asp/php/server side scripting if you want a guestbook. The files on the server have to be WRITTEN to, and you can only do that using server side scripting. There is no 'easy' way.

There ARE prebuilt guestbook programs, whoever is hosting your site most likely has one installed on the server. Use that. Contact them and ask them about it. It will NOT use Flash in any way.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 7105531
Hello WebWoman,

Thanks for you're comment. You write,"...The files on the server have to be WRITTEN to,..."
Why? I don't want to WRITE them, i want th SEND them directly to my email. I will add the comments later myself to a page socalled guestbook.


Expert Comment

ID: 7105724

call 'mailto' javascript function from flash as pass parameters name, email, comment etc. if you do not wanted to use ASP/PHP or any serverside script.

here is link how to use mail to javascript function. Modify this function as per your requirments and call it from flash using 'geturl' function

or use like this from flash

getURL("javascript:parent.location='mailto:" + email + "?subject=" + name + + " : " + email + "&body=" + comment, _self);

that's it. this is help you lot

LVL 19

Expert Comment

ID: 7106316
That doesn't always work -- it's completely dependent on the browser and the user. They don't want to send it, it doesn't get sent. Their browser doesn't have a mail client, it doesn't work. Without fancy javascript, you won't get ANY of that form info in the email.

ANd yes, you DO want to write to a file on the server -- that's how a guestbook works. YOU don't add the postings -- the SERVER handles that. You can always edit it, of course, but you don't have to manually enter everything. If you're going to do that, don't even bother with trying to use a form, just make a simple mailto link, and let the user fill out whatever they want.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reduce the size of the Flash SWF file it executes 12 424
Action Script commands 5 246
Add 'birds singing' to homepage 5 115
black magic design 1 131
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question