August 24, 200917 yr Just moved webservers and am struggling setting up cgiemail again. I have a form set up here http:/www.painswickyfc.co.uk/client/client8.htm. The text file it points to is here: http://www.painswickyfc.co.uk/cgi-bin/contact.txt but I can't access it in my browser. Currently have the action set to: http://www.painswickyfc.c.uk/client/cgi-bin/cgiemail/contact.txt - is this correct?
August 25, 200917 yr Both links are broken.... if you paste the html code, and the .txt code on here we can see what the problem is
August 25, 200917 yr Author Thanks Helen, that really is helpful!! HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Painswick & District YFC</title> <meta name="robots" content="noindex, nofollow"> <meta name="keywords" content="Painswick+District+YFC+rural+Youth+UK+farm+countryside+social+fun+club+charity+gloucestershire+young+farmers+glos"> <meta name="description" content="Painswick YFC is one of the most active Young Farmers clubs within Gloucestershire. The club consists of members aged 10-26 from a variety of backgrounds, both farming and non-farming. If you want an active social life, YFC is the place to be!"> <link rel="stylesheet" href="../pyfc.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="Javascript" type="text/javascript"> function hidestatus(){ window.status='Painswick & District YFC' return true } //--> if (document.layers) document.captureEvents(Event.mouseover | Event.mouseout) document.onmouseover=hidestatus document.onmouseout=hidestatus <!-- document.oncontextmenu = function(){return false} if(document.layers) { window.captureEvents(Event.mousedown); window.onmousedown = function(e){ if(e.target==document)return false; } } else { document.onmousedown = function(){return false} } //--> </script> </head> <body bgcolor="#FFFFEE"> <p> </p><div align="center"> <table width="580" border="0" cellpadding="2" cellspacing="2" class="fm_table"> <tr> <td class="fm_title"><div align="center">Contact Us</div></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td colspan="2">If you have any comments relating to the website or would like to request/add something you think we are missing please email our <a href="mailto:webmaster@painswickyfc.co.uk?subject=Painswick YFC Website Comments" title="" style="text-decoration:none">webmaster.</a> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td colspan="2">For further information, please complete the form below:</td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> <tr> <td height="563"> <form method="post" action="http://www.painswickyfc.co.uk/cgi-bin/cgiemail/client/contact.txt"> <input type="hidden" name="success" value="http://www.painswickyfc.co.uk/client/success.htm"> <input type="hidden" name="failure" value="http://www.painswickyfc.co.uk/client/failure.htm"> <table width="580" border="0" cellpadding="2" cellspacing="2" class="fm_table"> <tr> <td width="157">*First Name</td> <td width="409"><input type="text" name="required-FirstName"> </td> <td rowspan="6"><object type="application/x-shockwave-flash" id="plugoo" data= "http://www.plugoo.com/plug.swf?go=OT11OEPYYLW" width="160" height="300"> <param name="movie" value= "http://www.plugoo.com/plug.swf?go=OT11OEPYYLW" /> <param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> </object></td> </tr> <tr> <td>*Last Name</td> <td><input type="text" name="required-LastName"> </td> </tr> <tr> <td>*Email Address:</td> <td><input type="text" name="required-EmailAddress"> </td> </tr> <tr> <td>Address:</td> <td><input type="text" name="Address1"> </td> </tr> <tr> <td> </td> <td><input type="text" name="Address2"> </td> </tr> <tr> <td> </td> <td><input type="text" name="Address3"> </td> </tr> <tr> <td> </td> <td><input type="text" name="Address4"> </td> </tr> <tr> <td>Postcode:</td> <td><input type="text" name="Postcode"> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td colspan="2"><br> *How did you hear about us?</td> </tr> <tr> <td> </td> <td><input type="radio" name="Foundby" value="NFYFC Website"> NFYFC Website <br><input type="radio" name="Foundby" value="County Website"> County Website <br><input type="radio" name="Foundby" value="Word of Mouth"> Word of Mouth <br> <input type="radio" name="Foundby" value="Search Engine"> Search Engine <br> <input type="radio" checked name="Foundby" value="Other"> Other (please specify below) </td> </tr> <tr> <td> </td> <td colspan="1"><input name="Other" type="text" id="organisation" size="30" maxlength="50"> </td> </tr> <tr> <td valign="top">*Comments</td> <td colspan="3"><textarea name="required-Comments" cols="50" rows="4" class="forform" id="comment"></textarea></td> </tr> <tr> <td height="27"> <input name="submit" type="submit" value="Submit"> <input name="reset" type="reset" value="Reset"> <br> *Required fields </td> <td> </td> </tr> </table> </form> </td> </tr> </table> <table width="50" border="0" cellspacing="2" cellpadding="2"> <tr> <td> <p> <a href="http://validator.w3.org/check?uri=http://www.painswickyfc.co.uk/client/client8.htm"><img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a></p></td> <td> <p> <a href="http://www.familyfriendlysites.com/FamilyFriendly/default.asp?nID=40701" ><img border="0" src= "http://www.familyfriendlysites.com/emblems/familyfriendly88x31.gif" alt="We're Family Friendly!" height="31" width="88"></a></p></td> <td> <p> <a href="http://tool.motoricerca.info/robots-checker.phtml "><img border="0" src="http://tool.motoricerca.info/pic/valid-robots.png" alt="Valid Robots.txt!" height="31" width="88"></a></p></td> </tr> </table> </div> </body> </html> TEXT: To: info@painswickyfc.co.ukSubject: Painswick YFC Feedback Feedback from Painswick YFC Website: First Name: [required-FirstName] Last Name: [required-LastName] Email Address: [required-EmailAddress] Address 1: [Address1] Address 2: [Address2] Address 3: [Address3] Address 4: [Address4] Postcode: [Postcode] How Did You Hear? [Foundby] Other: [Other] Comments: [required-Comments] Edited January 28, 201016 yr by Sam G added [code] and [quote] tags
August 25, 200917 yr I think because your files are in the cgibin folder they are not public and therefore not viewable to anyone else I've wanted to enter some data into your form, to try it - it won't let me
August 25, 200917 yr Author I think because your files are in the cgibin folder they are not public and therefore not viewable to anyone else I've wanted to enter some data into your form, to try it - it won't let me Hi NeRo, thanks for the help. How do I go about fixing that? Will it not let you type anything in the boxes, or do you get the error when you click submit?
August 25, 200917 yr The cgibin is for server-side files and shouldn't be made directly viewable. I couldn't enter data in the form when I used Firefox. However, I could in Explorer - I entered data in the required fields only and it returned the error page edit - if I remove the script, I can enter data in FF
August 25, 200917 yr Author The cgibin is for server-side files and shouldn't be made directly viewable. I couldn't enter data in the form when I used Firefox. However, I could in Explorer - I entered data in the required fields only and it returned the error page edit - if I remove the script, I can enter data in FF Thanks. At least with the *.txt and script pasted it should make it easier for people to help.
August 28, 200917 yr Author Thanks. At least with the *.txt and script pasted it should make it easier for people to help. Still struggling I'm afraid. Thought this was probably just a simple error that I'd made. Any help greatly appreciated. Is cgiemail the best thing to use, or would I be better switching to another format? TIA
Create an account or sign in to comment