You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 10 of 13)
I havent come across any totally generic articles. I've seen some on thecodeproject.com for asp.net (none of which I'd recomend as they tend to cover only the activex way). the request is processed the same from the server side. What gets returned just needs to be formatted in the xmlhttp request xml structure.
the reason for the frameworks is because the different browsers implement it differently. IE uses ActiveX to do it, where as mozilla implemented it as a native browser object since v1.0. wikipedia should be a pretty good resource for how it works technically: http://en.wikipedia.org/wiki/XMLHttpRequest
lol, how is it a security issue, and why would one query (or even a whole bunch) slow the database performance down for the rest of the users. databases are highly optimized applications which are specifically designed and written to 1) have a lot of connections, and 2) look for data.
think 30-40 seconds is slow?
we do a massive tracking system for united way that has some fairly complex searching of the database (sproc's that are hundreds of lines long). we moved the searches off of the sqlserver and into an online search engines, and the query that indexes the search data into the search engine takes about 5 hours to execute, and thats a seriously optimized query too.
one way is to alter the way registration works. add a users_temp table that stores the users record w/ the addition of 2 extra fields which are 1) a ramdomly generated digest (not a hash of the password), and 2) a plain text associative word. when the user signs up, they are displayed an image of an object (which they're told to remember. this is a simple one word object like circle, or square, or something very very simple). when the user submits their registration the link in the email has the random digest token, and takes them to a page where they then have to enter in the word to match the picture they saw when the signed up. when they've successfully enterd the right word they're added to the users table (and removed from the temp table). if they miss the word 3 times, their record is removed and they're told to re-register.
this will cut down on the number of people who provide bogus email addresses, but know the formula for generating the hash of their password, and posting the authorization post that finalizes the sign up process. once you keep them from registering, then the random spam should also stop.
compare it w/ pulling every post in the forum and matching it out in php... I'm sure the %text% will be faster.
including it like: index.php?page=forum is going to be overly complicated and burdensome.
I have mine integrated like that (edit: embedded in a section of the page, not using the strange url), and all you have to do is open the main template, add your website stuff and insert the <pun_xxx> stuff inside the content table row.
the only thing that annoys me about dreamweaver is their intellisense/code insite/code complete (whatever you want to call it). when I type something, the hint list drops down, and I always use the wheel mouse to scroll up and down the list. w/ dw, it scrolls the page and leaves the drop down list at the original x/y location on the screen (doesnt scroll the list at all)
seeing as how he (paul) is one of the guys writing it, I think he'd have a pretty good idea of what's going on in dev.
the hosting company probably did that (it would be my guess anyway).
@OP just delete the users from the database (as well as posts by those users) if you have control over that.
the double posts do have the same pid.
and every post by me is double posted. not seeing all posts "double shown" was an oversite on my part, as I browse w/ many tabs open, and it seems once you've posted after like 1:00 this shows up, where I was not seeing double posts were in windows I had opened prior to posting, which is when the double posts seem to show up.
$db is a database object ("object" in an "Object Oriented Programming" or OOP sense). you can only invoke the query function if you have an instance of the database object, which you must not have.
hrm I didnt check the pid's. if it does it again tonight I'll check it out.
I did check the db though (just to make sure somebody didnt run a crafty injection which duplicated all of just my posts ;P), and everything was right in the db.
yep same account.
I've never seen it do that before.
this is happening to my forums at the moment.
its only with my posts though (older posts showing up only once, but newer ones are showing up twice).
any chance anybody knows how to resolve this?
yea it has a few thousand more. bf2s is pretty big for how long its been up though.
it really doesnt count though because we all know mac users are sub human and only count as 50% of a person so really theres only 12 thousand some odd people jk
I think bf2s' forums have everybody beat:
Total number of registered users: 20501
Total number of topics: 36924
Total number of posts: 668362
the last company I worked for had class and method names so long that when we tried to dynamically load an assembly (.net) and reflectively use it, we'd get an assembly type load exception because the class name (which was implemented as a singleton, and its singleton accessor was equally long named) exceeded 256 characters.
we did systems integrations and would often go out on services projects and part of that was training them how to do their integration using our software. I had to author the training material, and let me tell you how hard it was to paste a class name (with any method call or singleton reference) with a class name of 256 characters. it ended up being such a small font that it wasnt readable in the final print media.
especially on a 20.1 inch wide screen monitor.
placing open braces on a newline does the same for me, but if you're working for die hard C coders, then going beyond that 80 column can cause serious bodily harm.
http://php.net <-- best book ever written (and I've yet to do anything in v5. all my hosts only have 4 but that doesnt stop anyone from doing OOP w/ the 4.x branch)
if we all stick to the 80 column rule there's no need for word wrapping.
keeping it from showing up, but not removing it from the db.
edit: dr.j beat me to it (and w/ a better explaination :S )
The AndreasXX templates rock. I think i've downloaded every one he's done.
phpnuke is great portal system. I use it for another site I run. its about as easy to mod as punbb was to add to my other site.
I'd rather port punbb to phpnuke.
thats just me though.
Posts found: 226 to 250 of 321