Skip to content

u/BTMPL

In this archive from May 2010 to Jan 2019

5
posts
601
comments
0
media
2.1k
score

No, you just need to flip it upside-down. On his initial push he did not use enough strength so it did not fully flip.

3 points

Not sure, but I know of a couple of website owners that did buy into the whole "I'll add the info for a fee" scam - they usually charge 4 times what I would charge, it's a 15 minute job.

I do know a couple of people that got sued over bad rules and regulations for an e-commerce (there's a line saying that in case of any issues not covered by the R&R it will be settled in the court located in the city of the shop owner, which is against some EU law - you need to let the suer chose the court - and there are some law practices that will sue you over it and auto win in small-cases courts).

2 points

Yeah, it's all fun and games untill someone threatens to sue you, because you're not complying to the law. And before you go saying "ruybish", let me tell you that those kind of legal trolls are real as I've experienced them first hand.

They take multiple form:

  • either a "webdev company" saying they will make the changes to your site for a small fee of $100+
  • or a legal office troll that will send you an official letter with "either pay me $XXX or I will sue you"
1 points

Keep in minds that steam profile names aren't unique and can be changed at any time.

Socket.io is also a client, so you can replace your jQuery AJAX solution with a socket, and have a socket server either in node or with PHP (yes, it can be done - the question is should it be done ;))

2 points
  1. Why not integrate the name choice process into the initial signup? Just show the prompt for username right after the user authenticates with openid, and if he choses not to, don't store his info into DB and treat all the nexst openid attempts as the first one, untill the person choses a (valid) username.

  2. Try to skip the AJAX part and use websockets ( http://socket.io/ ) it it matches your userbase ( http://caniuse.com/#feat=websockets can't find socket.io support table )

1 points

I'm confused at the code provided.

            /*
             * Password was generated by password_hash(), so we need to use
             * password_verify() to check it.
             * 
             * @see http://php.net/manual/en/ref.password.php
             */

yet, you're not using it, because you've checked the password against md5 hash earlier.

$secretKey = base64_decode(SECRET_KEY);

Yet your secret key is defined as a plain text, not base64 data.

5 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.