?
Solved

How to make a simple guestbook?

Posted on 2002-06-23
6
Medium Priority
?
655 Views
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
Steven
0
Comment
Question by:stevenvervliet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
rootdir earned 600 total points
ID: 7102078
0
 

Author Comment

by:stevenvervliet
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
Steven






0
 
LVL 19

Expert Comment

by:webwoman
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.
0
Technology Partners: 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

by:stevenvervliet
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.

Regards
Steven
0
 
LVL 6

Expert Comment

by:rootdir
ID: 7105724
Steven,

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

http://www.winterstorm.ca/mailto.html

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

Cheers
RootDir
0
 
LVL 19

Expert Comment

by:webwoman
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.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses
Course of the Month9 days, 10 hours left to enroll

762 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