The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am reading this article on security and it mentions something about passing data through the address bar.
If I had PHP Code:
PHP Code:
PHP Code:
PHP Code:
I am guessing that browsers recognize the "#" character. |
#2
|
||||
|
||||
![]()
it would only work if a variable of the same name existed, was used in a query string, and was not previously cleansed.
In a nutshell, it CAN happen - but its rare and really only through irresponsible coding or a complete oversight. BTW: It couldnt happen the way you are trying to do it anyway. Why exactly are you posting this anyway? This is 'hacking' fodder which kind of concerns me. |
#3
|
|||
|
|||
![]()
I don't plan on hacking anyone's site, I just wanted more insight about sql injection to protect myself.
|
#4
|
||||
|
||||
![]()
Here is a little information on protecting yourself from injections with vb however it looks a bit dated (globalize isnt used as such anymore)
https://vborg.vbsupport.ru/showthrea...ight=injection HTHs |
#5
|
|||
|
|||
![]()
Thank you.
This is offtopic I have four button "up, down, right, left" When a button is pressed it adds or substracts from the value and re-inserts into the database. PHP Code:
It'll place and image according to those coordinates. So my question is if I have a lot of people playing at the same time will it bog down the server? |
#6
|
|||
|
|||
![]()
Well it for sure could get wrong results (there is a little time between calculating and submitting the query). I suggest somehting like the following:
PHP Code:
You can add the code to add to the $move array for horizontal yourself. |
#7
|
|||
|
|||
![]()
I did the mktime on my script using my way and your way and they're both pretty much the same.
For my way I get "0.00130414962769" seconds For your way I get "0.00123000144958" seconds I'll use your way since it looks more complex. I have anoher offtopic question How can I pass a variable to a script without loading the script I'm sending it to? Instead of doing this... Code:
<form action='somescript.php' method='post> But I would like to send $_POST['var'] to somescript.php with the browser redirecting to somescript.php? I know it sounds weird but I may have an use for it. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|