Guest zethilone Posted June 29, 2003 Posted June 29, 2003 Ok!! I have been working on this for sometime now and I am trying to get this to work! All I want this to do is email me what the people write down in the text boxes. The page is here: http://tuxc.net/hosting/contact.htm Please tell me what other files in need and where to put them! -Thanks -Matt >To: zethilone@hotmail.com Subject: TuXc Hosting Question / Comment From: [Name] Email: [submit_by] Domain Name: [Doman] Company: [Company] Phone: [Phone] Fax: [Fax] Comments: [Comments] -------------------------------------------------------------------------------------------------------------------------------------- This is the html for the form on this page: http://tuxc.net/hosting/contact.htm ><tr> <td width="100%"><form METHOD="POST" ACTION="https://tuxc.net/hosting/template.txt" onClick="highlight(event)"> <p> <input type="hidden" name="required" value="Name,submit_by,Company,Comments"> <input type="hidden" name="data_order" value="Name,submit_by,Domain,Company,Phone,Fax,Comments"> <input type="hidden" name="submit_to" value="zethilone@hotmail.com"> <input type="hidden" name="ok_url" value="htt://tuxc.net/hosting/thanks.htm"> <input type="hidden" name="not_ok_url" value="oops.htm"> </p> <p> Before sending us an email, you should ask us at our <font color="#0000FF">l</font><font color="#FFFF00">i</font><font color="#FF0000">v</font><font color="#00FFFF">e</font> <a href="http://tuxc.net/hosting/forums.htm"><strong>forums</strong></a>. </p> <p>______________________________________________________________________________</p> <p><font face="Verdana"><font size="2">Please use this form to tell us what you think about TuXc Hosting or to ask any questions you may have concerning our services. You may also use this form to submit a request for technical support.</font></font><font face="arial,helvetica" size="2" color="#FFFFFF">.</font></p> <font face="arial, Arial, Helvetica"> <table cellpadding="3" cellspacing="5" border="0" width="470"> <tr> <td><b><font face="arial,helvetica" size="2">Your Name: </font></b> </td> <font face="arial,helvetica" size="2"><td><input type="text" size="30" name="Name"> </font></td> </tr> <tr> <font face="arial,helvetica" size="2"><td></font><b><font face="arial,helvetica" size="2">Your Email: </font></b> </td> <font face="arial,helvetica" size="2"><td><input type="text" size="30" name="submit_by"> </font></td> </tr> </font> <tr> <td><font face="arial,helvetica" size="2"><b>Domain Name:</b></font> </td> <font face="arial, Arial, Helvetica"><td> <font face="arial,helvetica" size="2"><input type="text" size="30" name="Domain"> </font></td> </tr> <tr> <font face="arial,helvetica" size="2"><td></font><b><font face="arial,helvetica" size="2">Company: </font></b> </td> <font face="arial,helvetica" size="2"><td><input type="text" size="30" name="Company"> </font></td> </tr> <tr> <font face="arial,helvetica" size="2"><td></font><b><font face="arial,helvetica" size="2">Phone: </font></b> </td> <font face="arial,helvetica" size="2"><td><input type="text" size="30" name="Phone"> </font></td> </tr> <tr> <font face="arial,helvetica" size="2"><td></font><b><font face="arial,helvetica" size="2">Fax: </font></b> </td> <font face="arial,helvetica" size="2"><td><input type="text" size="30" name="Fax"> </font></td> </tr> <tr> <font face="arial,helvetica" size="3"><td></font><b><font face="arial,helvetica" size="2">Message: </font></b> </td> <font face="arial,helvetica" size="2"><td><textarea name="Comments" rows="6" cols="36" wrap="hard"></textarea> </font></td> </tr> <tr> <td colspan="2"><input type="submit" value="Submit"> <input type="reset" value="Clear All"><br> </td> </tr> Quote
TCH-Andy Posted June 29, 2003 Posted June 29, 2003 Hi Matt, You will need to change your ACTION="https://tuxc.net/hosting/template.txt" to point to the script you are trying to use. I would suggest that you use the forms PHP script that surefire has put together Script There are a number of discussions on this script on the forum. There are a number of other changes you will need to make, but I would get the script, reader the header info in it, and then come back and ask questions about the bits you are not sure of. Andy Quote
Guest zethilone Posted June 30, 2003 Posted June 30, 2003 juat tryed it and it wont work..... http://www.tuxc.net/hosting/contact.htm try your seld. WHAT AM I DOING SO WRONG!!!!!!!!!!!!!!! Quote
surefire Posted June 30, 2003 Posted June 30, 2003 zethilone, First, all caps tends to imply that you are yelling. I doubt that you mean to say that you're yelling... but that's what it usually means. Second, When you're stuck on a script, it's usually a good time to walk away from the computer so you don't end up putting your foot through the monitor. Not trying to preach or talk down to you... I've wanted to do the same many times myself and you wouldn't believe how obstacles dissolve after some much needed sleep/rest/time away etc. Third, I'm about to release a form mail script that might be easier for you to implement. It needs to be tested further, but my initial testing seems to indicate it works great. Fourth, Your main page for hosting information has a background that repeats when you move down towards the bottom of the page. Just thought you'd want to know. Everything above said with the best of intentions and desire to help a fellow TCH member. Quote
TCH-Andy Posted June 30, 2003 Posted June 30, 2003 zethilone, The first thing I would do is to change from using the secure server until you have things working. ie. change ACTION="https://tuxc.net/sendit.php" toACTION="http://tuxc.net/sendit.php" by removing the "s" in the http statement. At the moment it isn't pointing to the right place and that may be the easiest way to get things going. Andy Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.