The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Form problems: everything posts as "S"
I created my own PHP-based form that integrates with vBulletin. When the form posts, everything has a value of "S" which makes absolutely no sense. I'll have a text input field called "CompanyName", and then in the code to process the form I'll have:
echo $_POST['CompanyName']; The value will show as "S". It's like this for all of my fields. I'm using the method described in this post to generate my form/page. The same file that generates the form is also the one that handles the processing. I'm just using a switch() to check the value of a hidden field that determines if the form has been submitted or not. Of course, that doesn't work right either because the value of that hidden field is also posting as "S", even though if I view source on the form it shows the correct value. Any ideas why this is happening? EDIT: I should mention, if I change the target of the form to a PHP file that does not use any of the vBulletin stuff from that post mentioned above (no template or anything, just straight output), the values display properly. I'm assuming it's something that vBulletin does to forms? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|