#1 2006-07-16 05:17:42

max
New member
Ranking
Registered: 2006-07-16
Posts: 3
Reputation :  [+ 0/ -0 ]
Expertise

$__SESSION, old value?

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

 

#2 2006-07-19 05:30:17

cyrus
Member
RankingRanking
Registered: 2006-07-19
Posts: 32
Reputation :  [+ 1/ -0 ]
Expertise

Re: $__SESSION, old value?

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

 

#3 2006-11-21 21:57:45

ravi_mareedu
New member
Ranking
Registered: 2006-11-21
Posts: 5
Reputation :  [+ 0/ -0 ]
Expertise

Re: $__SESSION, old value?

<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

 

#4 2007-04-17 02:47:57

Gracia
Member
RankingRanking
Registered: 2007-04-16
Posts: 18
Reputation :  [+ 1/ -0 ]
Expertise

Re: $__SESSION, old value?

When i had the same prob, i tried this, but it did not solve my prob.

Offline

 

Board footer

OPML feedsRSS feeds



Powered by WWWThreads Forum
© Copyright 2006, WWWThreads