What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » tag limit...

tag limit...
Author: Message:
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
O.P. tag limit...
You know this would be happening after the reply traxor posted...

60 million [quote]s... the server died directly... :cheesy:
10-07-2004 05:16 PM
Profile E-Mail PM Find Quote Report
user27089
Disabled Account


Posts: 6321
Joined: Nov 2003
Status: Away
RE: tag limit...
quote:
Originally posted by Millenium_edition
You know this would be happening after the reply traxor posted...

60 million [quote]s... the server died directly... :cheesy:


I was merely doing this to test to see whether the server could manage x amount of tags. apparently, it doesn't, and the thread, is now closed temporarily.
10-07-2004 05:20 PM
Profile PM Find Quote Report
surfichris
Former Admin
*****

Avatar

Posts: 2365
Reputation: 81
Joined: Mar 2002
RE: tag limit...
You're stupid I will give you that. Try anything like that again, test or not and we'll see your server wide banned.

NO server could handle 60 million preg_replace's like that, in a short time anyways..
10-08-2004 12:10 AM
Profile PM Find Quote Report
Johnny_Mac
Elite Member
*****

Avatar

Posts: 2556
Reputation: 20
38 / Male / Flag
Joined: Apr 2002
RE: tag limit...
quote:
Originally posted by Chris Boulton
NO server could handle 60 million preg_replace's like that, in a short time anyways..
Then limit it? :^)
10-08-2004 09:04 PM
Profile PM Find Quote Report
user27089
Disabled Account


Posts: 6321
Joined: Nov 2003
Status: Away
RE: tag limit...
quote:
Originally posted by Johnny_Mac
quote:
Originally posted by Chris Boulton
NO server could handle 60 million preg_replace's like that, in a short time anyways..
Then limit it? :^)

Thats exactly what was said, and it wasn't 6,000,000 that was just a guesstimate, it couldn't have been over, say, 60,000 :$ sorry :'(
10-08-2004 09:05 PM
Profile PM Find Quote Report
surfichris
Former Admin
*****

Avatar

Posts: 2365
Reputation: 81
Joined: Mar 2002
RE: tag limit...
quote:
Originally posted by Johnny_Mac
quote:
Originally posted by Chris Boulton
NO server could handle 60 million preg_replace's like that, in a short time anyways..
Then limit it? :^)

There is no SAFE way to limit it (well you could use preg_replace's limit option). It would also mean having to count how many tags there are in the post before that and that (so we can subtract the amount of tags in the post with those limited in a certain tag to have the remainder left) could also possibly kill it.

It's been looked in to before..

Also, even if i do implement some dodgy counting code for quotes, then I would have to do it with [ b] and every other bbcode tag..
10-08-2004 10:33 PM
Profile PM Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
O.P. RE: tag limit...
how about scanning the post for a number of tags and when the limit is reached return an error to the poster, before it's submitted to the database?
10-08-2004 10:40 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On