I have a php-direct eval page with some drop-downs and a Submit button on the same page / same code. The page sends POST data to/from itself. It has been up running for a month after help I got here.
Now, after 4.0.7 I have problems
IF I am logged on to the site, I get the following message after hitting the submit button / posting
HTML Code:
vBulletin Messege:
Your submission could not be processed because you have logged in since the previous page was loaded.
Please push the back button and reload the previous window.
I have logged on / off / refreshed several times to confirm. IE8 and FF
If I am NOT logged in, I do not get that message but POST data is not read by the code:
PHP Code:
$brand = vB::$vbulletin->input->clean_gpc('r', 'brand', TYPE_STR);
$nominalsize = vB::$vbulletin->input->clean_gpc('r', 'nominalsize', TYPE_STR);
The variables ($brand and $nominalsize) remain empty.
A secuity token is generated like this.
PHP Code:
$a.='<input type="hidden" name="securitytoken" value="';
$a.=vb::$vbulletin->userinfo[securitytoken];
$a.='" />';
If this is not included, I get a security error message instead.
Any clues?
The page is here:
http://www.41hz.com/forums/content.php?253-TSdb