|
| |
|
|
curious monkey
Posts: 543 Joined: 4/28/2006 From: The lower handle of US Status: offline
|
noobie's first site - 4/28/2006 9:18:50
hello outfront. this is my first site and I have a couple of problems with it. The load time is very very slow and it only works in IE. check it out and let me know what you think. helpfl if I gave the link. www.treationsinc.com
|
|
|
|
Minix
Posts: 435 Joined: 2/13/2004 Status: offline
|
RE: noobie's first site - 4/28/2006 12:35:15
Here is your load time report from Netmechanics 14.4Kbps 10021.98 seconds 28.8Kbps 5011.99 seconds 56Kbps 2551.25 seconds ISDN (128Kbps) 1129.25 seconds Cable (512 Kbps) 283.81 seconds T1 (1.44 Mbps) 102.20 seconds SDSL (1.544 Mbps) 95.45 seconds ADSL (2.0 Mbps) 74.14 seconds
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: noobie's first site - 5/5/2006 7:36:21
our form is beig sent here: action="javascript.asp?ID=<%=siteID%>" do you have such a page?
_____________________________
Dan
|
|
|
|
Tailslide
Posts: 5972 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: noobie's first site - 5/5/2006 9:58:54
What sort of form are you using on the page? Is it some sort of FrontPage thing or another script such as FormMail?
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: noobie's first site - 5/5/2006 11:18:28
quote:
Ok i've changed that to my conformation page generally, a form goes to a page to process that form and then to a confirmation page. does your confirmation page process the form??
_____________________________
Dan
|
|
|
|
Tailslide
Posts: 5972 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: noobie's first site - 5/6/2006 3:09:05
This may make me unpopular here but I think you're doing things the right way - learning the code properly and using Notepad - this is exactly what I did. Don't let the occasional problem get the better of you, they can all be sorted! If you've already started in Notepad then I'd seriously advise you not to switch to FrontPage. You'll get a much better grip of the code doing what you're doing. Ok so, this is what I'd do (assuming you've got a *nix webserver - let us know if you don't and we'll tell you the alternative) Go to this site http://nms-cgi.sourceforge.net/scripts.shtml and download the zip file for FormMail.nms (this is a more secure version of the old favourite FormMail.pl which has been around for years). Extract all the files on your pc. Open up the file called Formail.pl in Notepad and follow the instructions there and in the Readme file. There are certain security settings that you can set up to prevent multiple spam mailings and other nasties - follow their advice. Upload it to the CGI folder on your webserver using your FTP program. Change the CHMOD settings for this file once on your web server to 755. I do this via the FTP program - if I right-click on the file I get the option of changing the file's Properties and the CHMOD stuff is there - tick the Execute boxes till the CHMOD total goes to 755 or just type the number in. So that's that end set up. Now open your form in Notepad and add the following bits: <form id="enquiry" action="http://www.yoursite.com/cgi-bin/FormMail.pl" method="post">
<input type="hidden" name="recipient" value="1" />
<input type="hidden" name="subject" value="Website Enquiry" />
<input type="hidden" name="print_config" value="email, subject" />
<input type="hidden" name="required" value="required field 1, required field 2" />
<input type="hidden" name="redirect" value="http://www.yoursite.com/confirmationpage.html" /> in place of what you've got at the top of your form now. There's various hidden fields there which are explained in the Readme file - this is just what I've got set up on my form. The recipient value=1 bit corresponds with your email address in the cgi file - this way you reduce the risk of spam from having your email address in the HTML page itself. The next couple of hidden value fields are to do with how the email you recieve is set up - this is how I've done it but there are other options. The Required fields bit is listing in the value section the fields I want to be required. If they try submitting without filling those they'll get a server-side reminder. You don't need those and can take it out if you want. The last hidden field is the redirect to your confirmation page. This is usually fairly simple to get running. If you're getting errors then they're usually fairly predictable and easy to fix. Have a go and see what happens. Edit: actually looking at your site I can see you're on a windows server so the particular script I mention won't work for you. There's another here: http://www.brainjar.com/asp/formmail/ that's very similar and has worked for me in the past. Same sort of set up as for the other script.
< Message edited by Tailslide -- 5/7/2006 2:34:44 >
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
walrus
Posts: 543 Joined: 3/13/2003 From: London Status: offline
|
RE: noobie's first site - 5/6/2006 18:53:31
The page cannot be displayed The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access. -------------------------------------------------------------------------------- Please try the following: Contact the Web site administrator if you believe that this request should be allowed. Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. HTTP Error 405 - The HTTP verb used to access this page is not allowed. Internet Information Services (IIS)
_____________________________
I hope The Boss isn't reading this, ...she thinks I program everything!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|