http://www.afbawindgap.org/mboard/mboard.php
...Hi...!
...it's me again....sorry to bother you...
...is there a way to increase the size of the box the security code is in..?
......and put it directly over the input box...?
....Oh yeah...
....My mail works on both gBook an mBoard...
....Thanks for all your help....
...................................Rodney...............
..Increase the size of the box the security code box?
The easiest way (without having to change any of the image PHP code) is to open mboard.php in Notepad, find and change width to 200 and height 40. The numbers might not be as smooth but should do the job.
Code: Select all
<img src="print_sec_img.php" width="100" height="20" alt="Security image" border="1">
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 10
- Joined: Fri Jan 04, 2008 4:43 pm
Try this if you have the number as text only...
place these tags in the style.css file
p.secnumber {
text-align:right;
padding-right:500px;
margin-bottom:-15px;
}
input.security {
font-size: 25px;
font-weight:bold;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#000000;
background-color:#FFFFFF;
}
Then add this code
between:
and this
place these tags in the style.css file
p.secnumber {
text-align:right;
padding-right:500px;
margin-bottom:-15px;
}
input.security {
font-size: 25px;
font-weight:bold;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#000000;
background-color:#FFFFFF;
}
Then add this code
Code: Select all
<p class="secnumber">Security number:
<b><font size="20px"><?php
if ($settings['autosubmit']==1) {
echo '<img src="print_sec_img.php" width="200" height="40" alt="Security image" border="1">';
} elseif ($settings['autosubmit']==2) {
echo $_SESSION['secnum'];
}
?>
</font></b>
</p>
<p class="secnumber">confirm above number:
<input class="security" type="text" size="7" name="secnumber" maxlength="5"></p>
<p>
<?php
foreach ($_POST as $k=>$v) {
if ($k == 'secnumber') {continue;}
echo '<input type="hidden" name="'.htmlspecialchars($k).'" value="'.htmlspecialchars(stripslashes($v)).'">';
}
?>
</p>
<p class="secnumber"><input class="security" type="submit" value=" Continue "></p>
</form>
</td>
</tr>
</table>
<p> </p>
<p> </p>
<?php
printDownHTML();
exit();
}
between:
Code: Select all
<p>This is a security check that prevents automated signups of this forum (SPAM).
Please enter the security number displayed below into the input field and click
the continue button.</p>
and this
Code: Select all
function JunkMark($email,$comments) {