This is driving me mad; hope someone could help me out.
In my index.php I have included my functions.php file which contains all my functions, one of my functions I use a form which includes image validation based on random number, this line that:
Code:
<img src='formmailerV.php' width='60' border='0' height='20' alt='' />
but when i echo my session value it has the previous value!
this is my functions.php
Code:
<div class='form_height'>
<span class='form_left'>Validation: *</span>
<table border='0' cellpadding='0' cellspacing='0'><tr><td><input type='text' name='validate_me' size='6' class='txt_contact'></td><td><img src='formmailerV.php' width='60' border='0' height='20' alt='' />
<label id='body_err' style='visibility:hidden;'>Required Field</label></td></tr></table>
</div>
formmailerV.php
Code:
<?php
}
?>
Offline
So your problem is the session isn't changing?
Is the reason this is not working because the filename is different?
<img src='formmailerV.php' width='60' border='0' height='20' alt='' />
<img src='formmailer_verify.php' width='60' border='0' height='20' alt='' />
Just a shot in the dark.
I <3 PHP!
Offline

<img src='formmailerV.php' width='60' border='0' height='20' alt='' />
<img src='formmailer_verify.php' width='60' border='0' height='20' alt='' />
why img tags for php files?
php files are not images files.
to include a files you should use $require=file name
please check the code syntax.
Offline
When i had the same prob, i tried this, but it did not solve my prob.
Offline