<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>
    <td>Last Name *</td>
    <td colspan="2"><input name="lname" type="text" size="30" /></td>
    <td>Your E-mail *</td>
    <td colspan="2"><input type="text" name="mail" size="30" /></td>
    <td colspan="2"><input name="phone" type="text" size="30" onkeypress="return numere(event)" onkeyup="return limitarelungime(this, 12)"  /></td>
    <td>Message Priority </td>
    <td colspan="2"><select name="mpriority">
      <option selected="selected">Normal</option>
    <td>Subject *</td>
    <td colspan="2"><input name="subject" type="text" size="30" /></td>
    <td>Message *</td>
    <td colspan="2"><textarea name="message" onkeyup="return limitarelungime(this, 255)"  cols="35" rows="5"></textarea></td>
       <td><p>Security Code*<br/>
       <td><input id="chapcha_code"  size="10" name="chapcha_code" type="text" /> </td>        
       <td><img src="./contact/security_image.php" border="0" /></td>
    <td> </td>
    <td colspan="2"> </td>
    <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>

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?[/

Edited by pyTony: fixed code formating

6 Years
Discussion Span
Last Post by smantscheff

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.