Bandwidth Leeching
I seem to remember we had a problem with this before the forums moved.
To prevent this from happening again, I suggest you use the following script: :
|
Eh WTF??? I'm a computer idiot so can you please explain more clearly?
|
I think Death's message is meant for Alcar or Abe Babe. Don't worry about it, Joshy. :fuzwink:
-oddguy :fuzcool: |
Maybe so, but people are likely to be interested in the well being of the Forums. I know I'm slightly intrugued.
|
I'm intrugued as well, but that code looks like somewhat giberish to me. I know basic HTML.
-oddguy :fuzcool: |
Yeah I know HTML and such, but this scripts new to me.
|
:
You have your html page. Inside it are php variables. The variables are toggled by you. Toggling the variables sets up the page ready to send data. Clicking on "Go" sends this data to a server. The server sends it through PHP to be "parsed" and "processed". After processing the data, a new html page is generated with the variables you requested. This happens when you post a new thread, post a new post, change your user cp options, do a search, or even send a pm. Sending a pm is interesting though, because in most forums, it sends both your inbox, and the recipiants inbox for processing. It takes the message you made in your inbox, and moves that to the recipiants inbox, as though the content was there all along. It doesn't work quite like an email, where the whole message is sent down a pipeline. It's rather more like posting in one thread, but having the post appear in another. Weird huh? :) |
Very interesting. And you're saying that the above code will stop zee forums from running into the problem we had last time, right?
-oddguy :fuzcool: |
:
|
Thanks for the php explanation, Death. I must say I've tried to learn it several times, but never been able to wrap my head around the grammar or syntax, and such. However, the Forums can do with any help you can provide.
|
:
The problem is, all the people that write php tutorials are ubergeeks anyway. They "assume" you already know programming languages (which is a bit stupid) and as a result, they speak all the jargon. Jargon which they fail to explain. So usually after the first paragraph it gets enormously complicated. Which is why people who know php usually act as if they are something really special. They like talking jargon that nobody else understands, because it makes them feel big. (trust me, I've been there) It's also the reason why people who know php are considered very valuable. You shouldn't feel stupid because you don't know php. |
The problem with that script is, that it cannot be used effectively. It could be placed in PHP scripts, but the PHP scripts we use are scipts that we want outside guests to be able to access. As for attachments and guests, we could actually just turn off guest attachment viewing.
Though I'm baffled as to why there are underscores in your PHP code. Alcar... |
:
|
You could have just used the CODE, HTML or PHP vBulletin BBCode Tags. But yes, I understand why, seeing as you'd put it in a QUOTE tag.
Alcar... |