Solved

How to make a simple guestbook?

Posted on 2002-06-23
6
637 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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.
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.

810 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