Quote:
02-26-03 at 07:45 AM kuska said this in Post #45
Well im sure you had good intentions but i had to remowe this hack from my shared server and as ive been told all the people running this hack had to remove it.
I highly dont recommend installing this hack due to the server kill it creates. This is two emails i just recieved from my host http://www.f5hosting.com:
And after i removed the file this is the second email i recieved:
lol , not to be mean, i dont know nothing about writing hacks, but Michael totally burned you !!!!
|
Well, at least he's right about my age, but you don't measure the speed of a query by the number of joins. I mean, wow! It's got three joins in it, it must be bad. Oh well, i shouldn't complain. It was my fault.
Here's the fix:
Run the following query:
ALTER TABLE `post` ADD INDEX ( `attachmentid` )
and replace attach.php with the attached file. Be sure to TEST IT.