1,326

(14 replies, posted in Programming)

Ofcourse it does smile

It's indeed a good way to do so. WHat I do when allowing image uploads is usually do a strstr() on "image/" for the type.
If possible, run this check: http://be2.php.net/manual/en/function.m … t-type.php

1,327

(12 replies, posted in PunBB 1.2 troubleshooting)

Well, the problem is that we cannot know the size of an external images without eating up bandwidth and slowing down the server wink

PunBB doesn't 'rely' on JS, it's merely a small script that validates the form.

Now for the cookies... I suppose PunBB *could* be modified to use sessions (which would still require a cookie). But I don't see why this is a problem really.

1,329

(14 replies, posted in Programming)

Thanks for the clarification on the actual vulnerability Rickard smile

1,330

(43 replies, posted in General discussion)

I'll go find a decent version then tongue

And yes, I installed Wine. That so file is there somewhere, a whereis told me tongue I copied it to some dirs in the cedega folder, but didn't work =/

1,331

(43 replies, posted in General discussion)

Well... I don't want to pay for it =/

Nice, although your forum could use a skin that's a bit more integrated with the website smile

1,333

(14 replies, posted in Programming)

As far as I know, it's a byte that ends each string. Also seen as \0
So if you had the word hello in a C char type, it'd be like this:

str[0] = 'h';
str[1] = 'e';
str[2] = 'l';
str[3] = 'l';
str[4] = 'o';
str[5] = '\0';

I have no idea what the problem with it is though =/
More info

Put these two things in your main.tpl's <head>:

<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>

1,335

(43 replies, posted in General discussion)

I really want help on getting Cedega to work =P It always refuses to work =/
Tried on both CentOS and Ubuntu 6.06, both failed. Bear in mind I'm trying to install from CVS, not with a paid package wink

Here's the error I always keep getting:

./wine: error while loading shared libraries: libntdll.so: cannot open shared object file: No such file or directory

I tried installing the official Wine package in the hope that so file would be included... or not tongue Didn't work sad

1,336

(5 replies, posted in PunBB 1.2 show off)

Looks very nice big_smile
Great job ^^

1,337

(95 replies, posted in News)

It's just a small fix to prevent errors during installation wink

1,338

(95 replies, posted in News)

You need to change it in your database. It's in the config table.

Oh, the 1337-ness yikes

And in 7 minutes it's 13:37 yikes

lol tongue

1,341

(9 replies, posted in General discussion)

Endre wrote:

Another thing that makes YouTube unique, is the amount of time spent there by each user, it's 5-20 times as long as on a regular website.

Which is quite logical, as videos usually take a while tongue

1,342

(95 replies, posted in News)

big_smile

Good to see another update smile

1,343

(43 replies, posted in General discussion)

Go for the desktop system and install LAMP for linux or something (I know XAMPP has a Linux installer)

1,344

(43 replies, posted in General discussion)

Ok, thanks smile That worked.
But it's silly that the root account isn't properly configured at install.

1,345

(43 replies, posted in General discussion)

I ran into a little problem yesterday... su didn't work. It asked for a pass, I enter it, pass incorrect >=/

I fail to see the logic there. As that pass worked for entering some of the administration parts.

1,346

(11 replies, posted in PunBB 1.2 troubleshooting)

Try removing that bit and try again smile

He hasn't updated the link to the new teamspeak thingy.

And Adam: if it's only going to be used for inclusion, remove the HTML header etc wink

Jannson wrote:

##                    Also note that the search_* tables are not required
##                    after install and can therefor be dropped. The install
##                    does not remove these tables, but the mod makes PunBB
##                    to stop updating them. You can keep updating them by not
##                    replacing search_idx.php, in case you just want to try
##                    out the mod and have the ability to change back quickly.

1,349

(43 replies, posted in General discussion)

Posting from Ubuntu on VMWare now ^^

I wonder why it won't install VMWare Tools =/ Cos now I'm on a 1024x768 resolution in a window that can easily support much higher resolutions =/

1,350

(4 replies, posted in Programming)

They won't sad *sniff*

Yes, I know I'm lazy, but it'd be quite handy tongue And not only for my moderator work over at PunRes, just a handy extension in general.