Search found 3234 matches

by jacek
Fri May 06, 2011 12:10 am
Forum: PHP
Topic: PHP url from table/database
Replies: 6
Views: 2012

Re: PHP url from table/database

You need to output it as a link tag, ie

[syntax=php]$result = mysql_query('SELECT `link` FROM `table`');

while ($row = mysql_fetch_assoc($result)){
echo "<a href=\"{$row['link']}\">{$row['link']}</a>";
}[/syntax]

If that's what you meant ?
by jacek
Fri May 06, 2011 12:06 am
Forum: Code
Topic: Mime Type Compatibility Function
Replies: 4
Views: 1734

Mime Type Compatibility Function

Another function from my library that helps with the incompatibilities between systems with different php versions. It returns the mime type of the given file using one of the available methods, if none are available (which would be weird) the file extension is used. [syntax=php]function file_get_mi...
by jacek
Thu May 05, 2011 11:54 pm
Forum: Introductions
Topic: Hello (Woo)
Replies: 11
Views: 2735

Re: Hello (Woo)

That may be out new tag line :)
by jacek
Thu May 05, 2011 9:13 pm
Forum: General Chat
Topic: There are no rules ?
Replies: 17
Views: 3998

Re: There are no rules ?

wignall6 wrote:I'm sure most people who commonly use forums know the basic rules most forums have.

Exactly, that's what I really mean by common sense ;)

People only read them if they get told they broke a rule anyway.
by jacek
Thu May 05, 2011 9:12 pm
Forum: Suggestions
Topic: Forum Description
Replies: 2
Views: 991

Re: Forum Description

Exactly, who ever gives 5/5.

to know where I can improve, people need to point out all the bad things,

saying that, if you want to say how great I am, I won't stop you
by jacek
Thu May 05, 2011 9:10 pm
Forum: Introductions
Topic: Hello (Woo)
Replies: 11
Views: 2735

Re: Woo

KnightMaire wrote:(Topic should be renamed to "HELLO") =D

Only I can do that... *abuses admin power*
by jacek
Thu May 05, 2011 8:59 pm
Forum: General Chat
Topic: There are no rules ?
Replies: 17
Views: 3998

Re: There are no rules ?

I mean my common sense :?

I'll get to that at some point.

Probably when there are more than 8 members
by jacek
Thu May 05, 2011 8:49 pm
Forum: General Chat
Topic: xhcBB
Replies: 15
Views: 3516

Re: xhcBB

It's the Linux system that is the problem, I just need some time to work it out :)

I would feel like I cheated if I had help :lol:
by jacek
Thu May 05, 2011 8:48 pm
Forum: Code
Topic: Three Missing String Functions
Replies: 1
Views: 1320

Three Missing String Functions

These are three functions from my standard php library. they tend to be pretty useful as I get sick of having to constantly look up the order of parameters for strpos [syntax=php]function str_starts_with($needle, $haystack){ $needle_len = strlen($needle); return ($needle_len <= strlen($haystack) &am...
by jacek
Thu May 05, 2011 8:48 pm
Forum: Staff Picks
Topic: Three Missing String Functions
Replies: 0
Views: 1109

Three Missing String Functions

This is an archive post, any discussion should take place here http://betterphp.co.uk/board/viewtopic.php?f=5&t=8 These are three functions from my standard php library. they tend to be pretty useful as I get sick of having to constantly look up the order of parameters for strpos [syntax=php]fu...
by jacek
Thu May 05, 2011 8:46 pm
Forum: General Chat
Topic: There are no rules ?
Replies: 17
Views: 3998

Re: There are no rules ?

I may just go with "Use common sense." :lol:
by jacek
Thu May 05, 2011 8:45 pm
Forum: General Chat
Topic: xhcBB
Replies: 15
Views: 3516

Re: xhcBB

A little unfortunately.

the installer is written in C, and it has to do some fairly complex system modifications.

and I don't know C that well.
by jacek
Thu May 05, 2011 8:44 pm
Forum: General Chat
Topic: There are no rules ?
Replies: 17
Views: 3998

There are no rules ?

Just to draw your attention to the fact that there is no "forum rules" type post...

This does not mean no rules... it means you have to guess what the rules are until I write them.

Use common sense.
by jacek
Thu May 05, 2011 8:38 pm
Forum: General Chat
Topic: xhcBB
Replies: 15
Views: 3516

Re: xhcBB

bowersbros wrote:Well in fairness, it was like a year ago when you last coded anything for it? :P

Last week I did about an hour on the installer.

to be honest I'm a bit stuck on that :lol:
by jacek
Thu May 05, 2011 8:37 pm
Forum: Code
Topic: Watermark an Image
Replies: 4
Views: 1798

Re: Watermark an Image

To be a pain: can you use the syntax buttons when posting code, as that’s what XHBB will eventually use for code.

also, this looks good :)
by jacek
Thu May 05, 2011 8:30 pm
Forum: General Chat
Topic: xhcBB
Replies: 15
Views: 3516

Re: xhcBB

Your accounts will be ported, I will be creating the "import phpbb database" as part of the install process. The only problem may be passwords, so you may all get an email saying you need to password reset. I don't see any problems with anything else. And i think i deserve an honorable men...
by jacek
Thu May 05, 2011 8:22 pm
Forum: General Chat
Topic: xhcBB
Replies: 15
Views: 3516

Re: xhcBB

Watch my latest video :)

this is a temporary forum until I get time to finish XHBB

porting all the settings and stuff will be FUN

phpBB creates 62 tables, so far I only have 8 in my forum thing :lol:
by jacek
Thu May 05, 2011 8:21 pm
Forum: Introductions
Topic: Hello (Woo)
Replies: 11
Views: 2735

Re: Woo

Cornbane wrote:Yay! We are all part of a non-existent community!

! someone read the video description !
by jacek
Thu May 05, 2011 8:20 pm
Forum: Suggestions
Topic: XHTML/HTML/CSS
Replies: 1
Views: 893

Re: XHTML/HTML/CSS

Your right there, added :)

I didn't want to add too many categories until the post count was up a bit, but I guess it makes sense
by jacek
Thu May 05, 2011 8:15 pm
Forum: General Chat
Topic: Which web browser do you use?
Replies: 48
Views: 6271

Re: Which web browser do you use?

Firefox as my main browser, very occasionally chrome, usually to debug some JavaScript.
by jacek
Thu May 05, 2011 8:14 pm
Forum: Introductions
Topic: Hello (Woo)
Replies: 11
Views: 2735

Re: Woo

Hey guys.

More than 0 people registered :)