We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Website not appearing correctly....

mikem1986
Posts: 358 Forumite
in Techie Stuff
Hi guys
If you look at
Website here
the review section box is coming up all distorted and i dont know why? The code is here for around the box but it says i have images missing? It doesnt show up in dreamweaver or the source code in notepad but as soon as i upload it to the web it goes wrong? Any ideas?
<tr>
<td height="410" align="left" valign="top"><p> </p>
<p align="left">Please be aware certain browsers may make this page look distorted. Eg: Firefox Best viewed in Internet Explorer.
<form action="MAILTO:enquiries@onethoughtpgd.co.uk" method="post" enctype="text/plain">
Your Name:<br>
<input type="text" name="name" size="20">
<br>
Your E-Mail:<br>
<input type="text" name="mail" size="20">
<br>
Review Of:<br>
<input type="text" name="comment" size="20">
<br>
Review Text:<br>
<textarea rows="15" cols="50"></textarea>
<br>
Rating Out of 10:<br>
<input type="text" name="comment" size="5">
<br>
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form> <br>
<center>
</center></td>
</tr>
If you look at
Website here
the review section box is coming up all distorted and i dont know why? The code is here for around the box but it says i have images missing? It doesnt show up in dreamweaver or the source code in notepad but as soon as i upload it to the web it goes wrong? Any ideas?
<tr>
<td height="410" align="left" valign="top"><p> </p>
<p align="left">Please be aware certain browsers may make this page look distorted. Eg: Firefox Best viewed in Internet Explorer.
<form action="MAILTO:enquiries@onethoughtpgd.co.uk" method="post" enctype="text/plain">
Your Name:<br>
<input type="text" name="name" size="20">
<br>
Your E-Mail:<br>
<input type="text" name="mail" size="20">
<br>
Review Of:<br>
<input type="text" name="comment" size="20">
<br>
Review Text:<br>
<textarea rows="15" cols="50"></textarea>
<br>
Rating Out of 10:<br>
<input type="text" name="comment" size="5">
<br>
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form> <br>
<center>
</center></td>
</tr>
I need a cig...
0
Comments
-
Do you definitely have the images saved in the right folder?
(BTW you aren't allowed links in your signature, nor advertise without permission from admin, forum rules here http://forums.moneysavingexpert.com/showthread.html?t=305655)"She is quite the oddball. Did you notice how she didn't even get excited when she saw this original ZX-81?"
Moss0 -
Hi Arista
I know its asking me for index/files>themes>default>images
but there has never been such a directory on my server? Ive never had it there and if you look at the source code it doesnt ask to see any images there? If that makes sense? Why would they just appear there without being in the source code?
RegardsI need a cig...
0 -
hi supercaper
there shouldnt be any images there? if you look at the source code that review section is just
<br>
Review Text:<br>
<textarea rows="15" cols="50"></textarea>
it shouldnt be requesting any images and there is no mention of those images or even that directory in all of the source codeI need a cig...
0 -
Arista
hi again, what other ways are there of sending the mail? I would like the form to send automatically but i dont know how to do that?I need a cig...
0 -
Hi Mikem.
You seem to be using something along the lines of tinymce?
<script language="javascript" type="text/javascript" src="../../index_files/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init(!!
mode : "textareas",
theme : "default",
language : "english",
editor_css : "includes/tiny_mce/themes/default/editor_ui.css",
force_p_newlines: "false",
force_br_newlines: "true"
});
</script><script language="javascript" type="text/javascript" src="../../index_files/editor_template.js"></script><script language="javascript" type="text/javascript" src="../../index_files/english.js"></script><link href="../../index_files/editor_ui.css" rel="stylesheet" type="text/css">
Is that intentional (i presume it is) if so, wherever you got the tinymce from, should have also included your images.
<link rel="StyleSheet" href="../../index_files/style.css" type="text/css">:beer:0 -
Hi Mikem.
There is an example at this website page
http://www.daniweb.com/forums/thread99701.html
for how to create a php form to email submission.
It wouldn't stop anyone just sending random rubbish to you though, you would need to look at a CAPTCHA option to help prevent this.
http://www.codewalkers.com/c/a/GUI-Code/Simple-PHPCAPTCHA/
I am sure you can find better examples than I have provided , but hopefull that will point you in the right direction. Have you hand built your site? if not, maybe your site design has a form already set up in the code somewhere?
Arista:beer:0 -
Hi Arista
Seem to have the images sorted now! Thanks!
I moved the images (dont remember doing it) and then deleted the themes folder because i thought it was empty and useless lol
thanks for your help!
Do you know how i would get the form to automatically send rather than mailto?I need a cig...
0 -
Hi Mikem.
In the previous response i sent, I included a couple of links that will point you in the right direction for form handling in PHP. I also inlcuded a link for info on CAPTCHA which will help prevent Bots spamming your form.:beer:0 -
sorry didnt notice that post. Thanks again.
I hand built 99% of it. Dreamweaver was giving me trouble with forms so my friend let me copy his code but obviously didnt work as i expected. Thanks againI need a cig...
0 -
Thats Ok.
Good Luck with the web site.:beer:0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351.3K Banking & Borrowing
- 253.2K Reduce Debt & Boost Income
- 453.8K Spending & Discounts
- 244.3K Work, Benefits & Business
- 599.5K Mortgages, Homes & Bills
- 177.1K Life & Family
- 257.8K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards