![]() ![]() |
Oct 23 2009, 07:56 PM
Post
#16
|
|
![]() SuperMember Group: Tech Team Posts: 1,655 Joined: 7-January 09 From: Flint, Michigan Member No.: 83,485 Operating System: Windows XP, Server 2003/2008, Linux |
If SMTP is disabled, then it is definitely not going to work. You are using a "mail script," and it does use SMTP.
Unfortunately, I don't know where to recommend that you host this page. On a side note, web hosting is fairly cheap and may be a viable alternative if need be. I think you are going to have this problem with pretty much any free hosting site. You could use something like the Economy plan at GoDaddy: http://www.godaddy.com/Hosting/web-hosting.aspx?ci=9009 Its only $5 per month. THere is probably even cheaper, but $5 a month sounds pretty reasonable. I think you can even buy a domain name (www.yourdomainname.com) for only $2 more if you buy the hosting plan. These are just options. I don't know what else to suggest. |
|
|
|
Oct 23 2009, 08:40 PM
Post
#17
|
|
![]() Authentic Member ![]() ![]() Group: Authentic Member Posts: 65 Joined: 6-February 07 Member No.: 67,284 Operating System: Windows 2000 Professional w/ Service Pack 4 |
Hi Appleoddity:
I tried another web hosting company. Their home page looks suspiciously similar to www.AwardSpace.com (I wonder if its really the same company.) ![]() The web hosting company is apparently named "agilityhoster.com". The following picture contains their surprise: "SMTP feature is Disabled for all free hosting accounts. Mail scripts will not be able to send emails ". ![]() Note: It appears that there are a large amount of Dishonest / Highly Deceptive companies out there as advertising free service with lots of needed features. Then when you try to utilize that websites features......they essentially force you to submit private information. Then after you finally gain access to their companies web site....Surprise!......The features that were promised to you in their online advertisement as being free won't actually work unless you Pay them MONEY! Why would anyone place their Trust in these fraudulent people / companies and actually give these dishonest people money? I guess I need to keep searching for an honest web hosting site. _____________________________________________________________ Re: Your "www.godaddy.com" recommendation I called the "GoDaddy" company and was essentially told that I would need to buy two separate things from them: a) Domain Name = URL address B) Web Page Hosting on their server(s) Summary: After explaining to them that I'm a beginner and that my code (is a combination of php and html) for my web form does not appear to function.. They Strongly recommended Against buying a Domain Name and Web Page Hosting UNTIL such time as I have fully functioning web page code to use. _____________________________________________________________ You wrote: QUOTE The whole thing that we have created here consists of three files: Initial_Contact.html, sendmail.php, and Thank_You.html. Do you mean that I'm not supposed to be combining my html code and the php code that you provided to me onto one web page (as located / hosted at one URL address)?The Initial_Contact.html file contains the HTML code to design your web form with all the text boxes and radio buttons. The sendmail.php file contains the PHP program that I designed in order to handle the sending of the e-mail. The sendmail.php program (file) is executed by the Initial_Contact.html file when the user clicks, "Submit." The Thank_You.html file is displayed by the sendmail.php file if the e-mail is successfully sent without issues. I believe that you have mistakingly been trying to copy and paste the PHP code I gave you into the Initial_Contact.html file in one way or another. The webserver decides what to do with each file based on the file extension. If yes: Exactly how do the two separate pages interact? You wrote: QUOTE it will work no matter where you upload these three files at, as long as all three files are in the same folder. What folder? I currently have web hosting on Tripod. To the best of my knowledge there are no folders where a person can add / delete / or edit files that they've written. If I understand correctly -The only areas that can be amended are (bottom of list) the last three or four items on the list (Please see the following picture): ![]() ______________________________________________________________________ I think that I may understand how the "Thank_You.html" functions as it's located on a separate web page (all by itself) at a different URL address. After the person completes the form and then clicks on the "submit" button - The persons web browser is used to take them to see my "Thank_You.html" page. This post has been edited by Step_By_Step: Oct 25 2009, 01:05 PM |
|
|
|
Oct 26 2009, 10:07 AM
Post
#18
|
|
![]() SuperMember Group: Tech Team Posts: 1,655 Joined: 7-January 09 From: Flint, Michigan Member No.: 83,485 Operating System: Windows XP, Server 2003/2008, Linux |
Sorry.. I didn't see your edited post. You added quite a bit.
To answer your questions: Yes, you need to keep searching for an honest web host. That is why I suggested GoDaddy. I highly doubt you will find anything that is completely free. But, web hosting now a days is very affordable. At $5/month, if you only need it for a couple of months or even longer it should be affordable for most. GoDaddy is not going to understand what you are saying if you're not able to completely explain it yourself. QUOTE Do you mean that I'm not supposed to be combining my html code and the php code that you provided to me onto one web page (as located / hosted at one URL address)? If yes: Exactly how do the two separate pages interact? Yes, I am saying that there are 3 seperate files. You do not combine the PHP code into the HTML file. You do understand that there are three files like I mentioned right? Initial_Contact.html, sendmail.php, and Thank_You.html? The file called Initial_Contact.html has all the "code" for displaying the web form and providing options to the end user. A special part of that file tells it to "send" the information submitted on that form to the sendmail.php file for processing when the user clicks, "submit." Because the technical details of how exactly this happens is not relevant here I would like to forego that type of in-depth explanation. Again, there are many basics to the foundation of what you are asking here that you would need to learn and research to fully understand. QUOTE What folder? I currently have web hosting on Tripod. To the best of my knowledge there are no folders where a person can add / delete / or edit files that they've written. If I understand correctly -The only areas that can be amended are (bottom of list) the last three or four items on the list (Please see the following picture): The term "Folder" and "Directory" are synonymous. Tripod calls them directories, and they are identified by the yellow "folder" icons in your file listing. Using the button "New Directory," you can create one of those new fangled folders as I call it. By designing and programming correctly the code can be made portable so that no matter where you host it, and no matter what directory you put it in, it will still work. This is so you won't have any problems if you upload those three files to tripod, or godaddy, or whereever. You can even place them in their own seperate "directory" (or folder). For instance. Lets say you create a "new directory" called application at tripod. Then, you upload those three files into the "application" directory. Now, in order to access the files you would type in the URL like this: http://homecare7.tripod.com/application/Initial_Contact.html Folders and directories (synonymous) are just a way of organizing specific aspects of your website. So, to be more specific, if the code is designed properly, you could host those three files (in the same directory) anywhere, in any directory/folder. If they are designed properly, each file knows to look in the current location for the other two files no matter where that "current location," is. That is what is called a "relative" path. A relative path means it is relative to whatever location you are at NOW. And when programmed properly, the relative path says "the two files you are looking for are in the same location you are now." So, those three files could be on godaddy, tripod, etc. and in any folder, as long as they are together. Hope that explains it clearly enough. |
|
|
|
Oct 26 2009, 03:19 PM
Post
#19
|
|
![]() Authentic Member ![]() ![]() Group: Authentic Member Posts: 65 Joined: 6-February 07 Member No.: 67,284 Operating System: Windows 2000 Professional w/ Service Pack 4 |
To: Appleoddity
Prior to beginning this process I edited the sendmail.php file or script as per your directions (As much as possible as I obviously don't have all of the needed details at this point.) QUOTE $headers2 = "From: noreply@YourCompany.com"; // Change this to a no reply address at your company - the user will see this as the from address for the confirmation e-mail Re: noreply@YourCompany.com If I understand correctly..........Then I don't have this URL "@YourCompany.com" address yet. QUOTE // Compose a confirmation e-mail (this will be sent back to the applicant) Re: www.oursite.com Once again (If I understand correctly ) I don't have this URL address yet.. _______________________________________________________$headers2 = "From: noreply@YourCompany.com"; // Change this to a no reply address at your company - the user will see this as the from address for the confirmation e-mail $subject2 = "Home Care Application - Confirmation"; // Compose your message to the applicant here. $autoreply = "Thank you for contacting us. Your application has been received. Somebody will get back to you as soon as possible. If you have any more questions, please consult our website at www.oursite.com"; Step 1: I created a new "Folder" or "Directory" within Tripod as named Application. Please see the following picture: ![]() Step 2: I moved the following files ( Initial_Contact.html and sendmail.php and Thank_You.html ) into the newly created Application "Folder" or "Directory"...Please see the following picture: ![]() ________________________________________________________ I tested out the above as hosted on Tripod and it doesn't function. I imagine it could be related to either a) limitations on Tripod's free service or b) Error(s) in editing sendmail.php code. ________________________________________________________ You wrote: QUOTE "Sorry.. I didn't see your edited post. You added quite a bit." Re: "You added quite a bit." Please understand that I thought in providing you with more information that it would be helpful in this process. Re: "Sorry.. I didn't see your edited post." Due to security concerns (After considering what you'd previous written about revealing private information in an exposed manner) I was therefore cautious about sending the edited code to this open forum. Is it feasible (recommended) for me to Private Message it to you? |
|
|
|
Oct 26 2009, 03:38 PM
Post
#20
|
|
![]() SuperMember Group: Tech Team Posts: 1,655 Joined: 7-January 09 From: Flint, Michigan Member No.: 83,485 Operating System: Windows XP, Server 2003/2008, Linux |
Step_by_Step, my example of creating an "application," folder was merely to explain a topic that you asked a question about.
We have already determined that tripod will not, no matter how you try, handle this type of scripting unless you are a paid member. You are correct in your other statements about the confirmation e-mail in the php code. You don't have to use that. You can change it to whatever you want or not use anything at all. That is merely a working example. An example, meaning I expect that you will want to change it some. If you purchase a domain name then it will certainly be more professional to include that information in a confirmation e-mail, but it is not necessary to accomplish what you are try to do. You are correct that I don't want you posting code that contains private e-mail addresses here in the open forum, but I do not need to see your modifications, and I don't want you to PM it to me at the time. Until you get a suitable web host there is nothing else to do. At that time you can try out your web form on a provider that supports what it is you are trying to do. If there is still a problem then we can examine further what might be wrong. |
|
|
|
Oct 26 2009, 04:41 PM
Post
#21
|
|
![]() Authentic Member ![]() ![]() Group: Authentic Member Posts: 65 Joined: 6-February 07 Member No.: 67,284 Operating System: Windows 2000 Professional w/ Service Pack 4 |
To appleoddity:
Sorry to conflict with your (read after I already sent the PM to you) instruction. However, I was able to Private Message the .php code (as edited) to you. Please check it for errors. You wrote: QUOTE Until you get a suitable web host there is nothing else to do. Per Godaddy.com instructions - I don't want to buy their services unless / until I have fully functioning code.
This post has been edited by Step_By_Step: Oct 26 2009, 04:45 PM |
|
|
|
Oct 26 2009, 05:10 PM
Post
#22
|
|
![]() SuperMember Group: Tech Team Posts: 1,655 Joined: 7-January 09 From: Flint, Michigan Member No.: 83,485 Operating System: Windows XP, Server 2003/2008, Linux |
I don't see any problems with the changes you made. You did what you are supposed to do. The only reason why it doesn't function is because it is not hosted somewhere that supports e-mail functions.
I'm not sure what GoDaddy is telling you. How are you going to test and experiment with your web site if you don't have a capable host to try it on? I think there may be some confusion there. You can't clean a fish before you catch it. I'm not saying that you have to use GoDaddy, but you have to use a provider that supports what you are trying to do, which I think we have decided is probably not going to be had for free. The first step is to get the host, the second step is to upload your code, the third step is to test and debug it. |
|
|
|
Oct 29 2009, 01:57 PM
Post
#23
|
|
![]() Authentic Member ![]() ![]() Group: Authentic Member Posts: 65 Joined: 6-February 07 Member No.: 67,284 Operating System: Windows 2000 Professional w/ Service Pack 4 |
Appleoddity:
What are your thoughts about me downloading and running the following program? "“Wamp server" in order to test out the code for functionality? |
|
|
|
Oct 29 2009, 03:02 PM
Post
#24
|
|
![]() Tech Team Group: Administrator Posts: 6,237 Joined: 15-May 05 From: California Member No.: 32,477 Operating System: Win98, Win2k Pro, XP Pro, XP Home |
(per appleoddity) QUOTE you have to use a provider that supports what you are trying to do, which I think we have decided is probably not going to be had for free. The first step is to get the host, the second step is to upload your code, the third step is to test and debug it. That's the bottom line. I use BlueHost for about $105 annually (website plus email addresses. Again, they only support the features that they offer. BlueHost has their own "package" just like any other host. It is somewhat limiting but very acceptable for my own basic site. So ask them to have a look at what you wish to do before signing up. The same should be done with whatever host you eventually select. Best Regards |
|
|
|
Nov 4 2009, 04:32 PM
Post
#25
|
|
![]() Authentic Member ![]() ![]() Group: Authentic Member Posts: 65 Joined: 6-February 07 Member No.: 67,284 Operating System: Windows 2000 Professional w/ Service Pack 4 |
appleoddity:
Hi, This is just a note to say. I haven't forgotten. I'm working on $. |
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
3 | jocase | 58 | Today, 02:25 AM Last post by: chamber |
|||
![]() |
2 | dpennmaas | 40 | Yesterday, 05:27 PM Last post by: dpennmaas |
|||
![]() |
0 | Crimea | 38 | 17th November 2009 - 04:11 PM Last post by: Crimea |
|||
![]() |
0 | AplusWebMaster | 43 | 14th November 2009 - 07:19 AM Last post by: AplusWebMaster |
|||
|
Time is now: 20th November 2009 - 05:10 PM |