WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-24-2003, 06:01 PM
mdaiah's Avatar
WebProWorld Pro
 

Join Date: Sep 2003
Location: Australia
Posts: 222
mdaiah RepRank 0
Default Help with link, anybody?

At http://www.humanecology.com.au/contactus.htm is a form.
I can't work out why the form isn't working. It ought to send visitor to thankyou.htm and send the enquiry to us. Would you be kind enough to take a look and tell us how to remedy.It works ok in Front Page (yes I know but we're stuck with what we have)but not when uploaded.
with thanks,
Michael (mdaiah)www.humanecology.com.au
__________________
ATSOHE is a registered charity which provides professional services to organisations and personal development courses to individuals.
Reply With Quote
  #2 (permalink)  
Old 09-24-2003, 06:07 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Posts: 1,087
Sualdam RepRank 0
Default

In the line:
Code:
<FORM MEHTHOD="POST' ACTION = "HTTP://www.webquarry.com/cgi-bin/chiemail/~humanecology.com.au/template.txt">
there is a typo ('mehthod') and the url gives a 404 (file not found) error.

Just two quick observations.

I can't see how this is supposed to work using a text file, though...
__________________
Sualdam
Reply With Quote
  #3 (permalink)  
Old 09-24-2003, 07:15 PM
mdaiah's Avatar
WebProWorld Pro
 

Join Date: Sep 2003
Location: Australia
Posts: 222
mdaiah RepRank 0
Default

Thank you Sualdam,
any further thoughts on your second comment- not sure how this is supposed to work?
Regards,
Michael
__________________
ATSOHE is a registered charity which provides professional services to organisations and personal development courses to individuals.
Reply With Quote
  #4 (permalink)  
Old 09-24-2003, 07:22 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Posts: 1,087
Sualdam RepRank 0
Default

Well, the only ways I know of sending form details in a formatted manner uses server side scripts.

Basically, you send the form information to this script, which removes the encoding, formats it the way you want it, then sends it using a specified mail server to the designated addressee(s).

Your code is tryng to send the information to a text file.

Can you paste the contents of the text file here?

The server side scripts are really just text files, but with a specific filename extension (and your server has to be able to intepret the code inside).

Without knowing the full story, I'm guessing this text file (which isn't on the server) is a misnamed script file.
__________________
Sualdam
Reply With Quote
  #5 (permalink)  
Old 09-24-2003, 08:11 PM
paulhiles's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default Script location

Hi Michael

I notice that you have a registration form on your site that uses a Perl script to process your visitor's information. This script appears to reside in your 'cgi-local' directory, and is fully functioning.

Does your host (is it quarry.com?) allow for a selection of generic scripts to run on their server? The majority of budget-priced hosts give their users such facilities as value added services.

My guess is that this is the case, and all you really need to do is locate the appropriate script on your site. Hopefully your host provides some form of support or an FAQ section? best bet would be to speak to them directly.

Feel free to put me straight, if I'm barking up the wrong tree!! :)

Take care

Paul
Reply With Quote
  #6 (permalink)  
Old 09-25-2003, 02:19 AM
mdaiah's Avatar
WebProWorld Pro
 

Join Date: Sep 2003
Location: Australia
Posts: 222
mdaiah RepRank 0
Default

hi Paul,
thank you for taking the time. I am following up on your comments and those of Sualdam and checking with Web Quarry.
Regards,
Michael
__________________
ATSOHE is a registered charity which provides professional services to organisations and personal development courses to individuals.
Reply With Quote
  #7 (permalink)  
Old 09-25-2003, 12:15 PM
williamjay's Avatar
WebProWorld New Member
 

Join Date: Sep 2003
Location: Prince Edward Island, Canada
Posts: 15
williamjay RepRank 0
Default Another Typo

In the line beginning <FORM METHOD="POST' ACTION = "HTTP://www.webq . . ., there are two things a bit out of line. One is obvious, the quotation mark after POST is a single. The other is not so obvious, there is a space after ACTION and another after the equal sign. . .

William
Reply With Quote
  #8 (permalink)  
Old 09-25-2003, 04:42 PM
mdaiah's Avatar
WebProWorld Pro
 

Join Date: Sep 2003
Location: Australia
Posts: 222
mdaiah RepRank 0
Default

Thanks William,
These little details that hide away. Once you'd pointed it out it was as we say here 'sticking out like dogsballs'. You are in a beautiful place - I have a friend who lives there somewhere, runs a little cafe perhaps called 'little bites or tastes',do you know it? Say hello if you do.
Warm regards,
Michael
__________________
ATSOHE is a registered charity which provides professional services to organisations and personal development courses to individuals.
Reply With Quote
  #9 (permalink)  
Old 09-25-2003, 05:45 PM
williamjay's Avatar
WebProWorld New Member
 

Join Date: Sep 2003
Location: Prince Edward Island, Canada
Posts: 15
williamjay RepRank 0
Default another minute detail

Howdy mdaiah,

Well, I've just recently moved here, so haven't gotten around much, but will look for it and let you know. Another small detail about the page, METHOD="POST"ACTION="HT... , better but missing a space after "POST". We'll get it working yet.

William
Reply With Quote
  #10 (permalink)  
Old 09-25-2003, 06:12 PM
williamjay's Avatar
WebProWorld New Member
 

Join Date: Sep 2003
Location: Prince Edward Island, Canada
Posts: 15
williamjay RepRank 0
Default more . . .

Howdy again Michael,

The thing is that when a form uses the method post, it's usually posted to a script for processing, and a page is returned to the browser, dependent on the results of the processing, (missing info, success, failure, etc). Normally the cgi script will have the file extension .cgi or .pl rather than .txt as it is specified in your page. I think what you want is for the submitter to be sent to the 'thank you' page and the form entries sent to the cgi script. It will require more details about the Web Quarry site and software to fix this.

William
Reply With Quote
  #11 (permalink)  
Old 09-26-2003, 03:35 PM
WebProWorld New Member
 

Join Date: Aug 2003
Location: Netherlands
Posts: 19
MartinHa RepRank 0
Default mail

<FORM METHOD="POST" ACTION="HTTP://www.webquarry.com/cgi-bin/chiemail/~humanecology.com.au/thank_you_for_enquiry.txt">

<font color="#008080"><input TYPE="hidden" NAME="user" VALUE="humane0">
<input TYPE="hidden" NAME="templtfile" VALUE="template/template.txt">
<input TYPE="hidden" NAME="responseURL" VALUE="http://www.humanecology.com.au/thankyou.htm">


templtfile is that correct? and why a different action and responseURL?

Only you need is this part <form action="thankyou.htm" method="post">

Mart
Reply With Quote
  #12 (permalink)  
Old 09-30-2003, 07:50 AM
williamjay's Avatar
WebProWorld New Member
 

Join Date: Sep 2003
Location: Prince Edward Island, Canada
Posts: 15
williamjay RepRank 0
Default Another Day another Edit . . .

Howdy Michael,

I see this morning that there is an extra less than sign in the page, FORM METHOD="POST" ACTION=<A href="http://www.webquarry, after ACTION= . . .

Have you made contact with the webmasters there at webquarry to ascertain the proper code to call the cgi script? I've checked their help pages to see not much help. I understand what the tilde, (~), character is usually for, but scripts normally expect a question mark or ampersand in that place, (? &), so it may be as simple as changing that . . .

William
Reply With Quote
  #13 (permalink)  
Old 10-29-2003, 10:11 AM
williamjay's Avatar
WebProWorld New Member
 

Join Date: Sep 2003
Location: Prince Edward Island, Canada
Posts: 15
williamjay RepRank 0
Default

Hi There,

It looks like you got it straightened out Michael, that line <form ACTION="cgi-local/registration.pl" METHOD="POST"> was what I was attempting to describe.

Is it possible that the cafe is called "Right Bite Cafe", if so, it's a bit far at the moment, but I'll definitely check it out when I'm out that way . . .

regards,

William
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0