Lunarpages Web Hosting Forum

Author Topic: Formmail!!?  (Read 15135 times)

Offline Ed

  • Berserker Poster
  • *****
  • Posts: 5156
    • Joke A Whenever
Formmail!!?
« Reply #90 on: November 22, 2003, 04:45:36 PM »
bnbform will not allow you to attach files.

I've never tried doign that before, you may have to use a php script etc to do it. If your feeling really technically expert now, take a look at www.hotscripts.com to see if you can find something to attach files with.

- Ed

Offline Guldstrand

  • Galactic Royalty
  • *****
  • Posts: 245
    • EgenSida
Okej!
« Reply #91 on: November 22, 2003, 05:09:12 PM »
Iīm going to erase the file-fields from the form then.

But if i want to show the message that the person have submitted on the form in the thank you page, how can i do that??
::: Guldstrand :::

That i donīt allready know, i really want to learn...

Offline Ed

  • Berserker Poster
  • *****
  • Posts: 5156
    • Joke A Whenever
Formmail!!?
« Reply #92 on: November 22, 2003, 05:14:13 PM »
replace these two lines with what you want to to say:

Thank you for your submission. I will be
getting in touch with you soon.


insert $message wherever you want the content of the message to show.

If that doesn't work..Then I'm not sure what to suggest - its a little bit complex after that.

- Ed

Offline Guldstrand

  • Galactic Royalty
  • *****
  • Posts: 245
    • EgenSida
Formmail!!?
« Reply #93 on: November 22, 2003, 05:17:43 PM »
Quote from: Kata
replace these two lines with what you want to to say:

Thank you for your submission. I will be
getting in touch with you soon.


insert $message wherever you want the content of the message to show.

If that doesn't work..Then I'm not sure what to suggest - its a little bit complex after that.

- Ed


I really donīt understand!   :oops:

I want all the results from the formfields to be shown in the thank you page.  There is a code:
Code: [Select]
#$msgtext="";
     #$msgtext .= "On $the_date,\n";
     #$msgtext .=  "The following information was submitted:\n";
     #$msgtext .=  "Host: $ENV{'REMOTE_ADDR'}\n";
::: Guldstrand :::

That i donīt allready know, i really want to learn...

Offline Ed

  • Berserker Poster
  • *****
  • Posts: 5156
    • Joke A Whenever
Formmail!!?
« Reply #94 on: November 22, 2003, 05:30:51 PM »
I'm not really sure what to suggest! Take a look at bignosebird.com and his help files. Thats the best place to look.

- Ed

leighsww

  • Guest
Formmail!!?
« Reply #95 on: November 22, 2003, 05:53:36 PM »
Daniel,

Just forget about changing the Thank You page for now.  I think it will dawn on you when the time comes.

I didn't know anything about cgi scripting when I first used the script several years ago for my forms, but through trial-and-error, reading through the script and deducing things from the output that the script produces (like the Thank You page sentence) ... I figured it out.

You will figure it out and know where and when to change the wording of your Thank You page.  We have given you exactly how to do it here in this thread.  So, later you can go back and reread our posts and it might make more sense to you then, and the light bulb will go off.

You may even want to use other attributes of the script.  I use the "ok_url" attribute instead of the default Thank You from the script, but I'm not going to get into that with you here.  You need to do some research (as Ed suggested) on your own.

The script now works for you, you can publish your forms, so just take this time now to get the rest of your forms updated and available for your site.

Have a good weekend!

leighsww

  • Guest
Formmail!!?
« Reply #96 on: November 23, 2003, 03:00:49 AM »
Quote from: Guldstrand
I want all the results from the formfields to be shown in the thank you page


Daniel,

Copy the new bnbform.cgi from bignosebird.com.  Here's the URL ...

http://bignosebird.com/carchive/bnbform/bnbform.txt

Then, put that line of code that Ed gave you.

Do the normal upload in ASCII, rename file "bnbform.cgi" and chmod to 755.

You now will have the Thank You page outputting the results from the form fields.

Offline Guldstrand

  • Galactic Royalty
  • *****
  • Posts: 245
    • EgenSida
YES!
« Reply #97 on: November 23, 2003, 04:05:03 PM »
I copied the new bnbform.cgi from bignosebird.com. And it works fine, thanks to you all.   :lol:
::: Guldstrand :::

That i donīt allready know, i really want to learn...

leighsww

  • Guest
Formmail!!?
« Reply #98 on: November 23, 2003, 04:07:29 PM »
Fantastic!!

Offline Guldstrand

  • Galactic Royalty
  • *****
  • Posts: 245
    • EgenSida
One other thing!?
« Reply #99 on: November 23, 2003, 04:18:04 PM »
If i want to ask something about php-scripts, shall i start a new post or can i post the questions here??   :roll:
::: Guldstrand :::

That i donīt allready know, i really want to learn...

leighsww

  • Guest
Formmail!!?
« Reply #100 on: November 23, 2003, 04:19:43 PM »
Post it in the PHP section.  There you will find the experts on that.

Offline Guldstrand

  • Galactic Royalty
  • *****
  • Posts: 245
    • EgenSida
Formmail!!?
« Reply #101 on: November 23, 2003, 04:21:59 PM »
Okej, thanks. I was just wondering.   :lol:
::: Guldstrand :::

That i donīt allready know, i really want to learn...

Offline SF*

  • Newbie
  • *
  • Posts: 3
Re: Formmail!!?
« Reply #102 on: December 05, 2003, 08:58:01 PM »
hello can someone
please help me fix my formmail???

here's the url with the form

http://www.sfaustina.com/bloodwars_03_web/abouttext.html

its just a simple email submit form? i seems too always have problems
with this. last time lunar changed the form script...then i got a new
form script and just changed the name and it worked for a month or more.
and now i just founded out that it has not been working and i didnt
change anything???

the form is just matt script

thank you
sf