PDA

View Full Version : Problems with forms/pages not loading properly



Troy
11-22-2005, 04:54 PM
hi Guys,

Thanks for your help on my last thread...i can now upload my pages!! thankfully!!

Another couple of issues if anyone can help at all...

1st - I have created a form - exactly as the video tutorial said - using the same fields - name, email address, submit etc.
problem is, when i go to site and type details in, it gives me a message saying my mail client will send it etc, i confirm but do not receive the mail.
when looking in outlook express it is in my sent mail as message sent from form etc but it never actually sends, so if someon fills a form in im not getting it - any ideas?

And lastly - when i view the site -its fine!
some people are not getting it - they get boxes with small crosses in and cannot navigate around the site.

If anyone wants to take a look and tell me what they get it owuld be appreciated,

its www.pine*****pub.co.uk (http://www.pine*****pub.co.uk) (the contact form is in the contact page of the site)

thanks to anyone that can help!!
Troy

Troy
11-22-2005, 05:04 PM
**Update on last thread**

when the form is filled in, i DO now get an email saying its been sent from the web etc....but no text from the comments box is included with the email...there is an attatchment with a .att at the end but this will not open - any ideas?

VodaHost
11-22-2005, 05:37 PM
use the .php code that is provided.

Troy
11-22-2005, 06:36 PM
use the .php code that is provided.

im lost on this one to be honest..
i have copied the code from another thread and get a thankyou for your feedback message - but in the form it now doesnt specify it needs to be mailed to my address so im not receiving any mail??

Troy
11-22-2005, 06:40 PM
ok. . now i have selected the plain text option and i do get an email saying its from xxx@xx.xx and submit=submit on a new line..
i still done get the text that somone would write!!>?>

Gray
11-23-2005, 09:33 PM
I was looking at your HTML code and I saw that you were missing a php code that sends the data to your email.


<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "info@pine*****pub.co.uk";
$mailsubj = "Form Submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

To add this to your HTML Code, Click View > Page HTML, Click Inside Body Tag and Paste the Code in the box, then click ok and give it a try.

I hope it works for you.

Troy
11-24-2005, 12:02 AM
Hi Gray..

thanks for your suggestion..
still the same problem though im afraid.

All i get int he email is the email address it is from,
and then submit=submit.

Im starting to tear my hair out with this one now, lol...
any other ideas at all?

Appreciate any help you can offer!!

troy

Watdaflip
11-24-2005, 12:13 AM
Im willing to bet the reason that people can't view the images is becasue they are linked directly to your hard drive. Make sure that ever image is linked to your website.

Troy
11-24-2005, 12:16 AM
can i be really thick and ask how to do this...
im grabbing all my images from the same file...so i dont understand why some show, and others dont??

thanx for the help tho :-)

Watdaflip
11-24-2005, 02:23 AM
Actually I an wrong... (I didn't realize you had a link to your site). Your links are correct, when the page first loaded I had some images with a red x, but the page loaded and they looked as they should. Are the users that complain about this problem on dial up? It may just be the page takes a while to load, and its giving you the red x until it loads the image