Solved

How to make a simple guestbook?

Posted on 2002-06-23
6
625 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
  • 2
  • 2
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
rootdir earned 150 total points
Comment Utility
0
 

Author Comment

by:stevenvervliet
Comment Utility
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
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:stevenvervliet
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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 how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now