|
#1
|
|||
|
|||
|
I have been trying for a few weeks now to get this code to work but I have now just given up...
Please can someone help me to get the following code to work? The form... PHP Code:
PHP Code:
|
|
#2
|
|||
|
|||
|
have you narrowed down your problem at all?
what are you having trouble with? besides the obvious of getting it to work
__________________
This is a forum system not a PM system for questions. please treat it appropriately |
|
#3
|
|||
|
|||
|
Oh sorry I forgot... I am having trouble with the actual form being sent to my email...
I use hotmail and the hosting provider I use is myfreewebs.net I have just mentioned the above because looking through the internet people have had problems with there hosting provider or email provider (thought it might have helped you a bit) |
|
#4
|
|||
|
|||
|
does myfreewebs.net support php?
hotmail / yahoo are a little bit quirky when it comes to this kind of thing. There were days when I have gotten the email right away, and there were days where it took a couple hours, and I have actually had it take a full week before ... yes a full week. but if your server does support php have a look at a few other things my guess is the reason its not submitting is because of this typo Code:
<form action="http://nemesisclan.myfreewebs.net/sendeail.php" method="post"> this wont prevent your code from submitting but you forgot to close this tag Code:
<label style="FLOAT: left; WIDTH: 140px" for="name">Runescape Username: you have a double ending quote, again i dont thing it will prevent the form from submitting but its a coding error nonetheless Code:
<label style="FLOAT: left; WIDTH: 140px" for=ml">Mage Level:</label> Code:
<label style="FLOAT: left; WIDTH: 140px" for="ml">Mage Level:</label>
__________________
This is a forum system not a PM system for questions. please treat it appropriately |
|
#5
|
|||
|
|||
|
ahhh right kk... I thought the extra things I told you might help...
1st) Thankyou for spotting but it is purposely sendeail... 2nd) I did not see the unclosed tag will try and edit that now... 3rd) I'm confused... in that code does the label codes matter? I never thought it did but thankyou anyway... I will just give it a go now... |
|
#6
|
|||
|
|||
|
I have changed them but nothing has worked really...
My hosting provider does do PHP and its best one i can find... To be honest I think its the second code that is faulty... Maybe i havent closed my PHP tags up properly... |
|
#7
|
|||
|
|||
|
Any other ideas people?
|
|
#8
|
|||
|
|||
|
Quote:
as for the rest, the code is loaded with non-semantic and depreciated code, the "transitional" doctype really stopped being useful 10yrs ago when standards were just becoming the "thing" to use, XHTML isn't supported by IE, thus while it will render, it will be in quirks mode and you wont be able to use any of the special features available in XHTML, even though u weren't using any in the first place. I do not mean to attack you, I am simply just attempting to give you some constructive criticism. and I cant really see anything that stands out in your process code. It doesn't look like the problem is with the mail() function itself, so try to print out the results rather then send the email, and if you can view the results then it would have something to do with the server settings. and on a side note... i notice that you have php code in both the form and the processing script... that means both of your pages need to have the .php extension, which would then make having 2 files redundant. remove all of the php code from the initial form page and try that and if you can, try to see what error you are getting
__________________
This is a forum system not a PM system for questions. please treat it appropriately |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|