View Full Version : cgiemail question
Flash ho
10-13-2002, 09:58 PM
Trying to set up my first cgi form and I'm lost already. Really, basic ( like in ,I should know this), where does the ,<form> blah blah </form> code go? In the cgi-bin as an .html file?? as a .cgi file?
and would the path be flashho.com/cgi-bin/cgiemail/info.txt ???
info.txt is in my root and defines the variables.
Thanks!
Mary B.
10-13-2002, 10:13 PM
The form can go in your html page or in a flash file, as you prefer, and preferably not in the cgi-bin. The critical thing about setting up your form is that you make the filepath in your <form action=cgi-bin/mycgiscript.com> line correctly point the way from the directory where your form resides to the formmail cgi script.
With formmail type scripts, the script's behavior is usually governed by the commands you send to the script. These commands are put into hidden form fields, and must be formatted in a specific way so the script will read and process them correctly.
In your case, the script is set up to look for the info.txt file, so it would seem that all you need to do is set up your <form action=cgi-bin/mycgiscript.com> line correctly.
Flash ho
10-13-2002, 10:23 PM
Thanks Mary,
So all I have to do is add the form script to my page html? And then using RS cgi-bin, make my
ACTION="http://theflashho.com/cgi-bin/info.txt"> ??? seems too simple
Since my learned partner can't post I am posting for her.....
"Everything goes in public_html folder. Open cgi folder. Ours has form.cgi and whatever.txt in there. form.cgi is chmod 755 and the txt file is chmod 755 also. There is also a file named cgiemail there (chmod 755) which I have no idea about, if it was there or a form put it there.
His form should have instructions on what to add or put where.
From Knowledge Base:
What is the FormMail Clone and how do I use it?
This script is similar to Matt's FormMail script and is located in the server cgi-bin, for use with your forms. You will not need to put it into your individual cgi-bin. You only need to link to it with your unique URL.
(You can find your unique URL that you need to use in your forms by clicking the "FormMail Clone" link in CPanel. Put this link in the "method=post" line of your form code. The rest of your form code controls what your form looks like on your page and the actions it will take."
Mary B.
10-13-2002, 10:36 PM
Just so we aren't going in circles here, which script did you install, Richard? Did you just click the FormMail clone link in the control panel, or did you actually install a FormMail script manually?
Flash ho
10-13-2002, 10:47 PM
Hi Fred and Mary,
I want to use cgiemail vs form mail. My form script for a simple comment box is
<FORM METHOD="POST"
ACTION="http://theflashho.com/cgi-bin/cgiemail/info.txt">
Your e-mail address: <INPUT NAME="email">
SiteVisitor: <INPUT NAME="name">
Comments: <INPUT NAME="comments">
Frame info: <INPUT NAME="frame">
<INPUT TYPE="submit" value="Submit">
<input type="reset" value="Reset">
</FORM>
The info.text file is
From:
To: [email]zgdesign@starband.net
Subject photo Portfolio
Visitor: [name]
Had this to say:
[comments]
interested in frame style:
[frame]
In my cgi-bin folder, I have cart.cgi, entroybanner.cgi and randhtml.cgi, but no cgiemail, so w/o cgiemail, I don't know how to test it.
How do I chmod?
I'm using the above as a test, then have a 32 chech box form I need to set up.
on edit - I'm using ws_ftp, not cpanel.
on second edit - Ok, got the chmod changed.
Mary B.
10-13-2002, 11:04 PM
If your info.txt file is in the public_html directory, it looks like you have the form action set right. You should have a cgiecho file and a cgiemail file in your cgi-bin. If you don't, click the cgiemail link in your control panel to put those files in your cgi-bin.
I see you worked out the chmod, so it looks like you're ready to test!
Flash ho
10-13-2002, 11:33 PM
Ok, yep, chmod is complete! my only hurdle!
info.text is root.
page displays, but displays flash version ( just thrown together) and a version that the <form ...</form> is generating ( I think)
i don't think it is finding the info.txt file filling either results in a 404
When I go to cpanel>cgiemail, it brings up the mit site, where I can no find any info on setting up cgiecho or cgiemail in the cgi-bin directory. I think that is the problem. How can I set that up? Or where is the info to set it up? Or Fred sets it up? That would be great! LOL
Mary B.
10-13-2002, 11:39 PM
That's odd. When I clicked the link in my control panel, those two files were automagically installed in my cgi-bin, and I got a CPanel page with links to the cgiemail documentation.
Flash ho
10-13-2002, 11:51 PM
I just hit referesh and no echo or cgiemail. I get the documentation ok. How big are those files? Can you e mail them or upload them and I'll download them??? is that even possible?
Mary B.
10-13-2002, 11:58 PM
Since CPanel installed them automatically to my cgi-bin, I'd have to assume that they are configured to my account, and would do you no good.
Just curious, why don't you want to use the FormMail Clone? It's much easier to set up, and it doesn't have the security issues that Matt's FormMail does.
Flash ho
10-14-2002, 12:08 AM
Guess I'll wait for Fred to ck it out and set it up. Thanks for the help!
I checked out using formmail and cgiemail, They both work with flash, but cgiemail is recommended more often by the flash communittee and there is alot more support/tutorials/scripts for flash.
And I just spent most of the day writing (learning to write :| ) the cgiemail script for the main form. :!:
Guess it is break time.
Thanks again!
We are checking but I doubt if we will find a solution tonight.
Helen says - http://theflashho.com/cgi-bin/cgiemail/info.txt This sounds like info.txt is in a folder named cgiemail to me. There is no cgiemail folder, it is a file... which you don't have. :cry:
Flash ho
10-14-2002, 12:56 AM
Ok, I need a night off, let me know when you find it. Thanks
How do you view cgiemail and cgiecho files? I opened in Notepad and it is garbage.
Flash ho
10-14-2002, 01:55 PM
Try execute or test with a form tag.
Flash ho
10-14-2002, 10:27 PM
It works, just needed a full cgi-bin.
Thanks, Mary
and Fred and Helen.
Flash ho
10-15-2002, 04:12 AM
and all this time I thiought forms were difficult!
not done yet, almost completed the big form.
http://www.theflashho.com/lvs/lvsWk5advFlashRichard/photoPortfolio.htm
Helen
10-16-2002, 12:28 AM
Yep, having the right files makes a big difference! :shock:
VERY nice job and great pics too. Spiffy new avatar! :cool:
Flash ho
10-16-2002, 02:36 PM
Thanks Helen,
The picture gallery is made as a template. It has a 3 sentence tutorial! Basically, Just upload the template file and your pics! I will be making it available as a free download here, shortly.
Mary B.
10-16-2002, 03:11 PM
Ok, I'll bite. What's on that page besides a very large white rectangle?
Flash ho
10-16-2002, 06:10 PM
Your getting nothing on the picture page?
http://www.theflashho.com/lvs/lvsWk5advFlashRichard/photoPortfolio.htm
or somewhere else?
Mary B.
10-16-2002, 06:24 PM
I get a big white rectangle on that page - on a blue background. The white takes up most of the page.
Flash ho
10-16-2002, 07:11 PM
May be a corrupt Flash 6 player, the first version had bugs.
6.0.29 is latest version.
http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P5_Language=English
Shane
10-17-2002, 01:02 AM
Yeah sounds like a Flash Player prob, MM released the first one too quickly I think...digging the new avatar Richard, just working out which one is the moon going down, ahem...or is it the sun ? :shocked:
Helen
10-17-2002, 02:28 AM
Great Flash ho! Can't wait for that. :D
Moon? Sun? I like the rainbow. :rotfl2:
I like the gentle landscape. I also have some oceanfront property for sale in Kansas.
:anicat25:
fuhgedaboutit
10-17-2002, 03:50 AM
Re: Forms being difficult!
Now Richard would that be "blond" forms or "cgiemail forms?"
wanta make a guess of which form? :kitty: :evil:
Flash ho
10-17-2002, 03:07 PM
Hey Dusty - She's Italian, pure brunette! And yes, while waiting for a form to fill out, I occupy my time with Fireworks! Curves are not difficult, once you know how to "envelope" them, they can be manipulated. FW joke.
:wink:
Helen and Shane - You're both correct, a moon with a rainbow! What more could you ask for :P
Fred - sounds like a rare find!
Helen
10-18-2002, 04:13 AM
Y'all are a HOOT!!! :rotfl2:
fuhgedaboutit
10-18-2002, 06:16 AM
Richard, It was so sweet of you to post the picture you took of me in your portfolio. It gets my vote.
All your photos are beautiful!
http://www.fuhgedaboutit.com/Perfect%20Form.gif
Thanks Helen, I'm finally catching on to uploading.
Flash ho
10-18-2002, 01:28 PM
Thanks and You ARE my favorite model!
When are we going to see your web site (sight!)?
Shane
10-18-2002, 02:49 PM
Yeah Dusty...............................when :shocked:
Hey guys! How come sometimes I get a prompt to installn and run MM Flash Player 6 when I'm already running it and other times I don't? I just got it again when viewing Rich's portfolio page (had to try to put a face with Dusty! LOL). I clicked to go ahead and download and install it, since I"ve been getting the message a lot lately, and as soon as I did that, it instantly played the portfolio. Does this sound normal? :roll:
Thanks!
Flash ho
10-18-2002, 03:39 PM
Your player was searching for 6.29 as my script called for. It didn't find it, but realized it would play with anyold flash 6 player and proceeded. I changed my script to only require finding a flash 6 player vs a 6.29. It should not give you that player indication again. To prevent this problem from happening on other sites, uninstall flash player and re install f6. Sounds like when you installed 6, it didn't overwrite the old player(s).
vBulletin v3.5.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.