676

(8 replies, posted in PunBB 1.2 discussion)

1.3 will use fulltext searching, that will gravely optimise the search

677

(4 replies, posted in PunBB 1.2 discussion)

Unlikely, unless you're using up tons of memory.

What PHP version are you running?

679

(114 replies, posted in Programming)

rollonequick wrote:
elbekko wrote:

That is... bad. Very bad.

What is bad??

My site or the fact that I used frontpage 2003????

Primarily Frontpage. But the fact that your site is a bunch of copied scripts and Frontpage-generated code doesn't make that very good either.

Seems to me like MySQL isn't too good with UTF-8 characters and unique keys. Maybe something to investigate? smile

681

(114 replies, posted in Programming)

That is... bad. Very bad.

Enable debug mode

Then replace intval with $db->escape for those two.

Erm, do you get any errors? Have you tried my code?

redirect($_SERVER['HTTP_REFERER'], 'Form processed');

Well yes, but it's still possible tongue

687

(2 replies, posted in Programming)

Well, the DB uses it to escape. It finds a \, removes it and handles whatever comes next as part of that string. They shouldn't be seen in phpMyAdmin.

$_GET values aren't read-only. You can just assign to $_GET and have extern.php use it later when included, no?

689

(11 replies, posted in PunBB 1.2 troubleshooting)

Hrmm, so it is. Sorry, misread.

Could you post the structure of the table? (columns, types)

690

(11 replies, posted in PunBB 1.2 troubleshooting)

Yes, the IP is a string. Not a numeric value. So it should be in quotes.

691

(13 replies, posted in Programming)

I like my current avatar better, but thank you tongue

Odd enough, your message was marked as spam.

692

(13 replies, posted in Programming)

$db->num_rows() should do.

693

(13 replies, posted in Programming)

Looks correct, yes.

NAT does everything a regular firewall does, just less annoying and better.

ZoneAlarm is an annoying piece of junk. I do remember the time when ZoneAlarm Pro could be activated with a key consisting purely out of 0's tho tongue

That's a way too, but not the way it should be done.

Well, 1.3 is still in development, so stuff like this is to be expected.

It looks to me like the PUN_CACHE_DIR constant isn't being used in functions.php yet (which is where the error is most likely to be occuring).

You could probably do a search/replace like so:
PUN_ROOT.'cache/
with
PUN_CACHE_DIR.'

Try the reputation mod.

for ($i = 0; $i < $num_args; ++$i)

That should be more correct.

699

(3 replies, posted in Programming)

You're asking for quite alot there, so I doubt it.
Go look at rent a coder or so.

700

(7 replies, posted in PunBB 1.2 troubleshooting)

Setting it in the admin panel should automatically update the cache hmm