Search found 18 matches

by gedq
Sat May 02, 2015 1:03 am
Forum: Programs/Assets/Libs/Open Source/Ect...
Topic: torque 3d - anyone used it?
Replies: -1
Views: 5842

torque 3d - anyone used it?

just curious, has anyone used it? Any good?
by gedq
Mon Apr 27, 2015 12:33 am
Forum: Beginner Help and Support
Topic: PHP/MySQL: Secure logging in on public computers? (solved)
Replies: -1
Views: 4640

Re: PHP/MySQL: Secure logging in on public computers?

Jackolantern wrote:I have never quite understood the point of hashing a password client-side. If someone was a man-in-the-middle and got the hash, wouldn't it be just as easy to send the hash directly to the server as it would be to send a plain-text password?
damn ye Jack, ninja'd and better put :D
by gedq
Mon Apr 27, 2015 12:30 am
Forum: Beginner Help and Support
Topic: PHP/MySQL: Secure logging in on public computers? (solved)
Replies: -1
Views: 4640

Re: PHP/MySQL: Secure logging in on public computers? (solve

but the whole point of a hash is that it can't be decrypted, so once it's hashed there's no way for your server side code to know what the original password was. So all it can do is a straight compare of hashes, so it's no better than sending over a plain text password and storing it plain text on t...
by gedq
Mon Apr 27, 2015 12:24 am
Forum: Beginner Help and Support
Topic: Beginner PHP/MySQL question: SELECTing multiple variables.
Replies: -1
Views: 1587

Re: Beginner PHP/MySQL question: SELECTing multiple variable

no, what you'll get back is a mysql result set, which can't be read directly from PHP, you have to use a function to read it, it can then be converted to native php data types. You're using mysql_ functions, which are deprecated and likely to be removed in a year or two, destroying your code; you're...
by gedq
Mon Apr 27, 2015 12:15 am
Forum: Older Browser MMO Videos
Topic: Strange letter on battle.php
Replies: -1
Views: 2438

Re: Strange letter on battle.php

you need to escape the singles in the html line and render the variable outside the string - single quotes aren't put through the parser:

echo '<a href=\'attack.php?creature=' , $creature, '\'>Attack!';
by gedq
Sun Apr 26, 2015 6:49 pm
Forum: General Development
Topic: Big Thanks to Halls, Need Advice Also
Replies: -1
Views: 1141

Re: Big Thanks to Halls, Need Advice Also

every interview I've done in 2 years (I'm a contractor) has asked me to name design patterns. And everyone seems hot on testing, so you will be wise to be able to talk about phpunit :)

good luck!
by gedq
Sun Apr 26, 2015 6:45 pm
Forum: Older Browser MMO Videos
Topic: Strange letter on battle.php
Replies: -1
Views: 2438

Re: Strange letter on battle.php

Change the double quotes to single so any hidden characters don't get rendered?
by gedq
Sun Apr 26, 2015 3:49 pm
Forum: General
Topic: Updating to Mysqli?
Replies: -1
Views: 725

Re: Updating to Mysqli?

I didn't notice that this thread was app specific :) however I think the point I was replying to was about general code: "I recently saw an online game that I visited have depreciation errors displayed all over and so was unplayable." production code shouldn't be putting error messages out...
by gedq
Sun Apr 26, 2015 11:54 am
Forum: General
Topic: Updating to Mysqli?
Replies: -1
Views: 725

Re: Updating to Mysqli?

I'd go straight to PDO, although talking to someone from the Zend team last week, PHP 7 isn't expected to be useable until 7.1 and crap knows when that's coming out; it certainly won't be 2015. There's no guarantee that they will strip the mysql_ functions even in 7 given how much legacy code that w...
by gedq
Tue Apr 14, 2015 8:08 pm
Forum: Beginner Help and Support
Topic: Registration
Replies: -1
Views: 2517

Re: Registration

Of course another thing to remember is that depending on your encoding, some characters can take up to 6 chars to store.

Go to advanced search