Post the code in the confirm.php.. thats where the error is. If you read the error code it shows that thats the file having the error. Post the code and see if we can help ya out. I tested the code above and only got the parse error for confirm.php cause i dont have it.. lol
Sorry about that Prophit. I discovered I did that too late unfortunately.
Anyway, heres the latest. I reinstalled a "fresh" copy of the contact.php script and its working! Now onto my newest problem. One which I may not have any control over unless I find a "pay" host.
I know that my webhost allows PHP, but I am not sure if they offer "sendmail". Is there a way of telling other then their website? I contacted them too, but got no response.
-
My website address is: http://healthwon.50free.net
If you click on the "contact" page, you will see the new error message.
Also, could you have a look at the "mainpage" of "50free.com" which is:
http://www.50free.com/ and tell me if they offer sendmail? Thanks alot, Matt
Hrm i think you took the best step in contacting them. I cant really tell if the do or not. But you might want to change you redirect in your sendmail.php script to send you back to contact_us.php instead of contact.php
Thanks for checking Prophit. I will email them again to ask. I thought I saw a little script somewhere that will "ask" the server if it offers sendmail. On the redirect, I am changing that today. I just haven't been too concerned because I haven't submitted the site yet and I may be chaginging that page to a plain old "email" page if the webhost doesn't offer sendmail.
Right on.. hrm i havent scene any scripts.. i will check my books and see if can find anything.. i know there are some sendmail scripts but you already have one made. But im sure you have to pay or have to add it throught the host.
Well, now I am getting this error message after hitting the submit button:
"Warning: Cannot add header information - headers already sent by (output started at /home/www/healthwon.50free.net/emailform.php:11) in /home/www/healthwon.50free.net/emailform.php on line 93"
Let me know if anyone wants to see the script, its a new one I tried, supposed to be VERY easy for newbies at scripts........"hmmm ,alrighty then"
you either have a blank line or space near the top of the file...remove it or comment it out...php will take any blank space/blank lines to mean that some output is to be sent to the browser
toi chua biet gi` ve trang wet na`y xin dc chi giup
Author: (203.162.177.---)
Date: 07-28-04 00:33
day la trang wet gi ` vay ? cac ban co the gio thieu cho tui duoc chu ! nhung ma` phai la tieng viet
xin chan thanh` cam on ! bastien wrote:
>
> missing a '] in the code on line 19
>
> try showing the code