<form name="contact_form" method="post" action="./contact/mailer.php" onSubmit="return evalid()">
<table border="0"><tr>
    <td>First Name *</td>
    <td colspan="2"><input name="fname" type="text" size="30" /></td>
  </tr><tr>
    <td>Last Name *</td>
    <td colspan="2"><input name="lname" type="text" size="30" /></td>
  </tr><tr>
    <td>Your E-mail *</td>
    <td colspan="2"><input type="text" name="mail" size="30" /></td>
  </tr><tr>
    <td>Phone</td>
    <td colspan="2"><input name="phone" type="text" size="30" onkeypress="return numere(event)" onkeyup="return limitarelungime(this, 12)"  /></td>
  </tr><tr>
    <td>Message Priority </td>
    <td colspan="2"><select name="mpriority">
      <option selected="selected">Normal</option>
      <option>Low</option>
      <option>High</option>
      <option>Urgent</option>
        </select>
    </td>
  </tr><tr>
    <td>Subject *</td>
    <td colspan="2"><input name="subject" type="text" size="30" /></td>
  </tr><tr>
    <td>Message *</td>
    <td colspan="2"><textarea name="message" onkeyup="return limitarelungime(this, 255)"  cols="35" rows="5"></textarea></td>
  </tr><tr>
       <td><p>Security Code*<br/>
           </p>
         </td>
       <td><input id="chapcha_code"  size="10" name="chapcha_code" type="text" /> </td>        
       <td><img src="./contact/security_image.php" border="0" /></td>
     </tr><tr>
    <td> </td>
    <td colspan="2"> </td>
  </tr>
  <tr>
    <td><input type="reset" name="reset" value="Reset"/></td>
    <td align="right"><input type="submit" name="Submit" value="Submit"></td><td align="right"><a href="http://www.scriptgenerator.net/71/HTML%7B47%7DPHP-Contact-Form-Mailer-Generator/" title="Valid Contact Form"><img src="http://www.scriptgenerator.net/images/validform.jpg" alt="Valid Contact Form" width="20" height="20" border="0" /></a></td>
  </tr>
</table>
</form>    

cannot get the captcha to load the image, am using my computer as a tempt webserver to preview as yet to get a web host.

also have contact.php, mailer.php, security_image.php but have linked them all together as best as what i know?[/

Recommended Answers

All 3 Replies

Can you load /contact/security_image.php in your browser? Does it produce an image as output?

it produces a open/save window, no image in web browser if i run security_image.php but if i run the webpage then image does not load if that is any help. I can upload the other source codes if thats any help ? but could it be anything to do with i am running the page on the computer and not actual sever with the files being the server side code ?

You are using security_image.php as the SRC attribute in an IMG tag. If it does not produce an image as output, the browser cannot display an image. So you first have to find out why security_image.php does not generate an image. Maybe your server is configured to serve php files always as text/html and somehow overrides the header() call in this file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.