Search found 58 matches

by Carbine
Sat Sep 10, 2011 10:12 pm
Forum: PHP
Topic: Forum software - Store information in a database or file?
Replies: 2
Views: 847

Forum software - Store information in a database or file?

I'm creating some software like phpBB, not hoping to get anywhere with it but I want to have a reason to do php every so often and develop my skills. I know how I would do boths options in the title, but which one would be more sensable. By information, I mean, Forum Name, Max posts per topic, Posts...
by Carbine
Wed Sep 07, 2011 2:57 pm
Forum: General Chat
Topic: Examination Results
Replies: 17
Views: 3141

Re: Examination Results

I'm only in year 10 now, so I got my year 9 exam results.

Mathmatics GCSE B1 = A* (Only the first exam, 2 to go.) 108/120
ICT Functional skills exam = Pass
by Carbine
Tue Aug 23, 2011 1:06 pm
Forum: PHP
Topic: Round a calculation result.
Replies: 10
Views: 1801

Re: Round a calculation result.

jacek wrote:I don't really get how your rounding works. why should 41.39 wound up to 42.5 and not just 42 ?
He wants to round to the nearest multiple of 2.5.
by Carbine
Sun Aug 14, 2011 10:40 pm
Forum: General Chat
Topic: Building a Computer
Replies: 32
Views: 6713

Re: Building a Computer

I got a AMD Radeon HD 6850 and it only just fits in my case :P
by Carbine
Sat May 21, 2011 11:44 am
Forum: PHP
Topic: PHP Activation System
Replies: 7
Views: 1621

Re: PHP Activation System

Fair enough, so posting through to a page on my server is the best way to go? And if so. I'd use hidden fields to post any other information such as IP if needed?
by Carbine
Sat May 21, 2011 10:58 am
Forum: PHP
Topic: PHP Activation System
Replies: 7
Views: 1621

Re: PHP Activation System

by Carbine
Sat May 21, 2011 10:28 am
Forum: PHP
Topic: PHP Activation System
Replies: 7
Views: 1621

Re: PHP Activation System

Think about if you're selling some software, putting database details in the script to see if it's a right code would be very insecure, and also they could manipulate it go to their own database :L Also they could just delete the whole activation bit right? /E would I need to use some sort of encode...
by Carbine
Fri May 20, 2011 8:49 pm
Forum: SQL
Topic: SQL Injection
Replies: 5
Views: 1570

Re: SQL Injection

It may also be like the same way I use my login script. I just select the username, not the password in the query. Then select information, but I don't directly use the password in the query, if it makes sense >.> So if they try to use the OR 0=0 or whatever you use to inject it, the number of rows ...
by Carbine
Fri May 20, 2011 8:44 pm
Forum: PHP
Topic: PHP Activation System
Replies: 7
Views: 1621

PHP Activation System

This isn't necercerally something that I need now, but I think it could be helpful for the future. Lets take vBulletin for example, how do they know if your activation key is right because it's to risky using a database as the software would give out the details easily. Any ideas?
by Carbine
Tue May 17, 2011 3:32 pm
Forum: General Chat
Topic: Video capture program thing
Replies: 13
Views: 2492

Re: Video capture program thing

You can use the hypercam 2 (to record the screen) with some codecs such as: - Xvid - DivX I personally prefer DivX, but that also costs (not too much). As for Xvid, I believe it's free and I heard just as good. You will have to configure the settings in hypercam to use the codec. If you just want a ...
by Carbine
Mon May 16, 2011 9:18 pm
Forum: Suggestions
Topic: Link to main website/youtube channel
Replies: 14
Views: 6055

Re: Link to main website/youtube channel

He is currently making his own forum anyway (I think??? Back me up on that) so I don't think there would be too much point. It could help though I suppose, and only takes 2 minutes. phpBB has a feature for links on the main page.
by Carbine
Mon May 16, 2011 9:11 pm
Forum: Code
Topic: Stop Forum Spam Checking Function
Replies: 15
Views: 6509

Re: Stop Forum Spam Checking Function

Wow, I may just use this in my website! Thanks for this. I hate spammers! Doesn't matter too much anyway as I use email activation, but I'll have a word with the other funder of my site and see if we should use it :D
by Carbine
Mon May 16, 2011 7:56 pm
Forum: Tutorials
Topic: How to Secure IDs For a MySQL Query
Replies: 6
Views: 4496

Re: How to Secure IDs For a MySQL Query

I agree with him, using (int) is a lot simplier yet just as effective, although your method is just as good. I use (int) in most cases as it's easy, simple, and effective (repeating myself ftw!). int is the best, the web host I use has a older version of PHP and doesn't support php_round_half_down, ...
by Carbine
Thu May 12, 2011 8:55 pm
Forum: General Chat
Topic: GD Libary
Replies: 3
Views: 970

Re: GD Libary

Nah just the useful ones :P
by Carbine
Thu May 12, 2011 8:52 pm
Forum: Code
Topic: BetterPHP PHP Library
Replies: 102
Views: 43474

Re: BetterPHP PHP Library

Well I'm currently thinking about learning the GD Libary, and I could create a few functions I suppose. It seems interesting enough to not make me bored...
by Carbine
Thu May 12, 2011 8:48 pm
Forum: General Chat
Topic: GD Libary
Replies: 3
Views: 970

GD Libary

Do you think I should go through the whole GD libary, learn everything and make functions ect? Because it seems kind of interesting, but is it worth it?
by Carbine
Thu May 12, 2011 8:39 pm
Forum: Code
Topic: BetterPHP PHP Library
Replies: 102
Views: 43474

Re: BetterPHP PHP Library

I have actually made a thumbnailer which resizes the image, and recentantly created a function that changes the size of a jpeg image :L I could upload it if you like?
by Carbine
Wed May 11, 2011 2:25 pm
Forum: Code
Topic: BetterPHP PHP Library
Replies: 102
Views: 43474

Re: BetterPHP PHP Library

Well is the libary just going to be for specific things (i.e images) or just filled with any function? Because I think an image libary that uses default functions, but takes it further would be nice.
by Carbine
Mon May 09, 2011 7:38 pm
Forum: Code
Topic: Mobile Browser Identification
Replies: 11
Views: 14486

Re: Mobile Browser Identification

You could have used the switch statement I suppose xD but nice
by Carbine
Sun May 08, 2011 1:33 pm
Forum: PHP
Topic: Allowing ' through databases
Replies: 4
Views: 1404

Re: Allowing ' through databases

Thanks very much Tino, you're a legend.
by Carbine
Sun May 08, 2011 1:29 pm
Forum: PHP
Topic: Allowing ' through databases
Replies: 4
Views: 1404

Allowing ' through databases

I want ' and " to be allowed through the database, but without mysql injection. I use htmlentities, but that doesn't do anything to them. Sorry if this is a stupid question, I just don't want to injected :L I tried entering apos; in the articles to see if that's allowed through and if so I coul...