The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
problem with variable not being passed
hi people,
what the hell is wrong with this code ? PHP Code:
$vbullein->GPC['ban'] (doesn't work) $_GET['ban'] (works but that's against the coding standards) it's an $_GET so the first parameter should be g (short from get).The strange thing is that the same code works fine in another method(yes the verry same code) why ohhh why :devious: |
#2
|
|||
|
|||
Quote:
|
#3
|
|||
|
|||
Quote:
PHP Code:
[high]* Delphiprogrammi is a shamed about the typo[/high] hi people, Look here you can see what i mean in the attach screengrabs. i totally don't get it |
#4
|
||||
|
||||
it works for me
?act=completeremove&ban=hello displays : hello |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Are you sure you are using GET vars?
How is this field passed/submitted to this scrips? |
#7
|
|||
|
|||
Quote:
PHP Code:
PHP Code:
|
#8
|
|||
|
|||
Well that still don't answer my question.
What is the (HTML) source of the page that submits the act=completeremove. |
#9
|
|||
|
|||
Quote:
HTML Code:
<input type="hidden" name="temp_ban" value="" /> (act=completeremove) <input type="hidden" name="temp_ban" value="N" />(act remove) |
#10
|
|||
|
|||
That is not the code for the "ban" variable (but temp_ban). Please post the whole <form> </form> block.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|