Search found 535 matches

by bowersbros
Sat Nov 10, 2012 12:43 pm
Forum: Other
Topic: [GENERAL] My IP hasn't changed in 3 years...
Replies: 7
Views: 4390

Re: [GENERAL] My IP hasn't changed in 3 years...

Why is it an issue?
by bowersbros
Mon Oct 29, 2012 4:29 pm
Forum: General Chat
Topic: I'm a Huge Criminal
Replies: 22
Views: 5340

Re: I'm a Huge Criminal

o_O I wonder what in that video they claim to own... Well it's more or less impossible to work out who FFT is but from watching the video back I guess it's some of the software I used that is non-free, there is nothing else in there :? You'r gonna be thrown in jail... lol :( I've had it before wher...
by bowersbros
Fri Oct 12, 2012 11:23 pm
Forum: General Chat
Topic: I am a horrible, horrible person.
Replies: 4
Views: 1620

Re: I am a horrible, horrible person.

Everybody who remained loyal got paid $50,000,000 for staying with the forum.

Pity, you just missed out.

;)

Nah. Not much really.
by bowersbros
Sat Sep 29, 2012 8:31 am
Forum: General Chat
Topic: Doctor Who
Replies: 5
Views: 1814

Re: Doctor Who

My favourite is probably David Tennant (only seen the last 3 doctors though)

Although, I met Chrisopher eccleston in Starbucks once. In manchester, where I live :)

Matt smith is quite good, but for me; David was miles better.
by bowersbros
Mon Sep 24, 2012 6:52 am
Forum: SQL
Topic: MySQL value minus 1?
Replies: 3
Views: 3275

Re: MySQL value minus 1?

SQL is quite a powerful language. You can nest statements, create procedures (basically functions) and do all sorts of useful things. it is far more advanced than just Select, insert, delete or update.
by bowersbros
Sun Sep 02, 2012 4:40 pm
Forum: PHP
Topic: Google InApp Payments
Replies: 1
Views: 1049

Google InApp Payments

I am trying to process an inapp request for Google Wallet (so that its instant rather than google checkout which takes longer) The processing (in terms of charging the user) works perfectly. However, I can't seem to process the actual postback. https://developers.google.com/in-app-payments/docs/post...
by bowersbros
Sat Sep 01, 2012 12:19 pm
Forum: Code
Topic: Mobile Browser Identification
Replies: 11
Views: 14558

Re: Mobile Browser Identification

-snip- Unless you do this in the background (ie, not at runtime) then no, it affects the user. Because PHP is interpreted, it runs line by line, so once it gets to this section of the code it has to perform each operation, and the user wont be able to progress until it is done. Oh that's not good :...
by bowersbros
Sat Sep 01, 2012 12:18 pm
Forum: General Chat
Topic: Best way to do login
Replies: 17
Views: 6418

Re: Best way to do login

-snip- I know what DMCA is. But, the point of the website is that people don't need to be worried about any tracebacks. Or as few as possible. DMCA saves me from being sued (apparently. Although the US doesn't seem to know its own laws too well) But, I'm trying to help my users also, by not storing...
by bowersbros
Sat Sep 01, 2012 10:52 am
Forum: Code
Topic: Mobile Browser Identification
Replies: 11
Views: 14558

Re: Mobile Browser Identification

ou my lord thats a big file!! :lol: Exactly, if you have the last browser in the list and the last OS in the list there are about 100 unnecessary if operations. Something I've always wanted to know, having this file wont affect the user, right? Just the server? Unless you do this in the background ...
by bowersbros
Sat Sep 01, 2012 10:38 am
Forum: General Chat
Topic: Best way to do login
Replies: 17
Views: 6418

Re: Best way to do login

Since I can guarantee that not all 100% of the data is going to be legal. You seriously need to look into DMCA.... I know what DMCA is. But, the point of the website is that people don't need to be worried about any tracebacks. Or as few as possible. DMCA saves me from being sued (apparently. Altho...
by bowersbros
Fri Aug 31, 2012 5:26 pm
Forum: Code
Topic: Secure Password Class
Replies: 6
Views: 4261

Re: Secure Password Class

Would there be any noticeable difference in security if you would go farther than 2048, or incorporate letters as well? I'm thinking that 2048 bits is difficult enough to crack, so going bigger wouldn't necessarily mean being safer. Am I wrong here? Bigger will always work better; however. It doesn...
by bowersbros
Fri Aug 31, 2012 1:21 pm
Forum: Code
Topic: Secure Password Class
Replies: 6
Views: 4261

Re: Secure Password Class

If somebody was able to obtain the hashed password, then they'd be able to obtain the salt as well then. Regardless of whether it is in the same table as it or not. Most likely, the safest way to do salts is to store the salt in a file which is outside of root. That way, the file isn't readable by a...
by bowersbros
Wed Aug 29, 2012 1:57 pm
Forum: Suggestions
Topic: security: password encryption
Replies: 4
Views: 3705

Re: security: password encryption

Quick addition to this:

Does anyone know the difference between openssl_digest, hash, hash_hmac, crypt, bcrypt and scrypt?
by bowersbros
Sun Aug 12, 2012 12:36 am
Forum: General Chat
Topic: Best way to do login
Replies: 17
Views: 6418

Re: Best way to do login

jacek wrote:Store a hash of the IP that can't be used to get back to the original IP ?
Heh, didn't think of that.

Hmm, could do.
by bowersbros
Sun Aug 12, 2012 12:20 am
Forum: General Chat
Topic: Best way to do login
Replies: 17
Views: 6418

Re: Best way to do login

Im trying to do the entire project without storing personally identifiable information, except their email address. So, no IP storing :( Interesting challenge, but why bother ? Storing the IP makes this very easy and reduces your queries per page load :) Because Im doing an upload website, which if...
by bowersbros
Wed Aug 08, 2012 1:25 pm
Forum: General Chat
Topic: Best way to do login
Replies: 17
Views: 6418

Re: Best way to do login

Kamal wrote:
bowersbros wrote: So, no IP storing :(
You are already doing that, look at your nginx logs ;)
Im planning on having no logs eventually, Im currently logging stuff so that I can keep track of any visitors I dont particarly want yet :P
by bowersbros
Wed Aug 08, 2012 11:06 am
Forum: General Chat
Topic: Best way to do login
Replies: 17
Views: 6418

Re: Best way to do login

What I mean though, is that it is too easy for someone to create a session isn't it, and fake their way to me believing that they're someone else. Link the session ID to the IP address, problem solved :P Plus they have to be able to guess the session ID which is not easy Im trying to do the entire ...
by bowersbros
Tue Aug 07, 2012 8:54 pm
Forum: General Chat
Topic: Best way to do login
Replies: 17
Views: 6418

Re: Best way to do login

You should probably have the users' ID, from the database, in the session and then the username. Then you can check to see whether the user ID and the username match. That could be easy to fake. Depending on setup of profile pages etc. The way I chose to do this in the end was: public static functi...
by bowersbros
Tue Aug 07, 2012 11:49 am
Forum: JavaScript
Topic: legal ECMA-262 octal constant
Replies: 2
Views: 4559

Re: legal ECMA-262 octal constant

In javascript, numbers with a leading zero are not considered to be correct, when used in the way you use them. There are different types of numbers, for example binary ,decimal, octal and hexadecimal. Octal doesn't allow leading zeros. keep them in the form of decimal to carry out calculations on t...