The reworking of my site that shows comparative statistics on every site based on the code from LiveJournal is now up and live and at a new URL: http://lj-stat.2718.us/. Moreover, there are now graphs of the data over time. The data is updated at noon and midnight central time (U.S.). One of the things that [...]
¶
Posted 22 October 2008
† 2718.us
§
LJ-Stat § Web Programming
‡
°
Also tagged: 2.0, 301, 301 moved permanently, 301 redirect, 302, antialias, antialiasing, chart, gd, gd2, graph, historical data, history, line thickness, livejournal, livejournal-based, livejournal.org, lj, lj clone, lj code, lj-based, LJ-Stat, redirect, stat, statistics, stats, v2.0
It appears that there are now demonstrated exploits of PHP apps that use mt_rand() and/or rand() as a result of issues of seeding in one application affecting the PRNG stream in another application that used the PRNG to generate passwords or similar such things. From mt_srand and not so random numbers: … it is strongly [...]
¶
Posted 31 August 2008
† 2718.us
§
Web Programming
‡
°
Also tagged: /dev/random, /dev/srandom, mersenne twister, mt_rand, password, prng, pseudo-random number, pseudo-random number generator, pseudorandom number generator, rand, random, random number, random number generator, rng, security
If, like me, you find yourself doing lots of random web stuff, particularly with all the HTML, CSS, MySQL, and PHP that go along with it, you may find yourself looking for a good reference book so you can quickly check the syntax of that one thing you only use like once a year and [...]
¶
Posted 17 April 2008
† 2718.us
§
Web Programming
‡
°
Also tagged: bob stein, browser book, card, css, guide, html, manual, mysql, reference, reference card, syntax, visibone
After implementing other pages that used WordPress to authenticate users and deal with access control, I went to move these pages off to a subdomain, and suddenly found that auth_redirect wasn’t quite working right. When auth_redirect is called and doesn’t find a logged-in user, it redirects to login and passes the URI of the current [...]
¶
Posted 16 April 2008
† 2718.us
§
Web Programming
‡
°
Also tagged: 2.5, authentication, auth_redirect, filter, filter hook, login, pluggable, plugin, user, user authentication, user login, wordpress, wordpress 2.5, wp, wp plugin, wp2.5, wp_redirect, wp_safe_redirect
Right, of course, I should be doing this already, but having magic quotes in PHP4 may hvae made me a bit lazy in some instances, and just like I’ve been going through and fixing register_globals dependence… As I read here, Both register_globals and Magic Quotes were implemented in PHP to help beginners who were learning [...]
Plenty of people seem to have written a lot about how to make WordPress use some other program’s user authentication mechanism, but there seems to be fairly little on how to get at WordPress’s user authentication from some other program. Fortunately, I found this article, and got what I wanted. It’s a fairly straight-forward process. [...]
¶
Posted 12 April 2008
† 2718.us
§
Web Programming
‡
°
Also tagged: 2.5, authentication, auth_redirect, login, user, user authentication, user login, wordpress, wordpress 2.5, wordpress login, wp, wp2.5
A few weeks ago, I upgraded my primary server to some version of php5 (from php4). It’s been some time since I moved from php3 to php4 (even though I still have some files with a .php3 extension), but I don’t remember it being a huge change. I upgraded because there was some small feature [...]