Solved

How to make a simple guestbook?

Posted on 2002-06-23
6
641 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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
Flash media server 1 333
Pushing Adobe Flash Player Fails with Error %%2 1 489
Accessing Live Dynamic Stream 6 199
How to convert image files to a movie file 6 111
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…
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…
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 which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

856 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