Putting PHP to work for the people.
Dec 14, 2005:
Their Embedding QuickTime toutorial is out of date, and there is the merest hint that you might need to wrap your (W3C-deprecated) embed tags in an object tag, but without providing the syntax.
Here's a nice reference to replace it.
Oh, and here is Apple's Embedding QuickTime for the Web (circa 2004), and here is the QuickTime ActiveX Plugin "Important Information for End Users" document it links to.
The QuckTime site is woefully thin on webmaster resources. I'm working on an page dumping what I know from 7 years working with their excellent, but poorly documented, plugin. Stay tuned (or ask me for it).
Nov 25, 2005:Gmail Program Policies are pretty interesting, especially if you've never looked at them before. Highlights of the things Gmail users may not do:
Send spam Promote illegal activity Unauthorized transmission of intellectual property Use of Gmail for peer-to-peer filesharing
Well at least they haven't prohibited the transmission of disparaging remarks about Google services or advertisers...
Nov 17, 2005:
Fortunately, if you need your browser to take text composition seriously, there are a few Firefox extensions that will ease the pain. Spellcheck-on-demand just saved me a few hours of programming! (Provided I can convince my userbase to use Firefox, of course.)
Oct 31, 2005:iwconfig today so that I could get a command-line readout of the current wireless signal strength. This is good for sniffing out WiFi reception "sweet spots" in the office, and for tuning antenna positioning on the access point.
Apple hides their airport command line tool at/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airportThere's no manual page, but the --help switch will tell you everything you need to know. :-)
Oct 05, 2005:this Ning thing, but it looks really fun and weird. I can't wait to start working with it, I really hope they got this right. I mean... open, clonable PHP? Are they mad?
Ning is the crazy robot that will take over the world, but it's okay because you and I are going to build it, and keep a "social" eye on it.
Sep 13, 2005:
All this to say that my book on secure web application programming is on the shelves, it looks great, and it takes a full-system approach that is rare in PHP books. But more on that later!
Sep 12, 2005:Joshua Peskay for digging this out of Word's edit preferences. You'll find it in Tools > Options > Edit tab:When selecting, automatically select entire wordHallelujah! You really can make Word behave like every other program.
Solve this usability nightmare for yourself by unchecking that box.
Aug 25, 2005:
Unicode (and dingbats) rock. So lightweight, so universal.
Jul 24, 2005:
I spent this afternoon trying to figure out what one looks like. This document includes a template that has been successful for me.
As discussed in this very long thread on nyphp-talk (thanks Dan and George, for schooling us!), using Apache the request "http://example.com/info.php/attack%20here" will run /info.php, but $_SERVER['PHP_SELF'] will equal "/info.php/attack here". This is a feature, but it means that PHP_SELF must be treated as user input.
The use of $_SERVER['SCRIPT_NAME'] is recommended instead.
This notice was posted to the PHP Manual's $_SERVER documentation page as well (on behalf of New York PHP).
May 10, 2005:
Apr 16, 2005:I blogged it before.
The upshot: strfile -r myfortunes.txt myfortunes.dat
Then you can: fortune /path/to/myfortunes
This enables the Portable Richard's Almanack.
Apr 01, 2005:
It is meant to enable a rich front-end gui using an object-oriented PHP backend.
This will be the fourth server OS buildout in a month. Oh well, it's exciting. We'll get to see if berylium and fotola will work under PHP 5. And shaking out the cruft is always a good thing.
Mar 07, 2005:
Using C++ With PHP by J Smith.
Mar 02, 2005:"In order to create modular style sheets that are not dependent on the absolute location of a resource, authors may use relative URIs. Relative URIs are resolved to full URIs using a base URI. ... For CSS style sheets, the base URI is that of the style sheet, not that of the source document."Good to remember.
fmt (1) man page
The UNIX way: simple tools that do one thing really well.
Feb 28, 2005:smells like legacy. But bloody useful if you have a sick Powerbook.
Feb 23, 2005:Drew McLellan's "Very Dynamic Web Interfaces" article on xml.com. This is powerful stuff.
Feb 18, 2005:
We (NYPHP) discussed creating an open|closed flag, similar to public|private but applying to whether users can deem themselves participants on their own.
I wonder if it might also be useful to have a flag for whether contributors are allowed to append -- call this the "announce list" setting if you like. Discuss...
Feb 17, 2005:
Could not open the lock database. [500, #400]
The DavLockDB directive names the file that httpd will create the first time it needs a lock. The parent directory of that file must be writeable by the webserver.
So you can't say:
...because then /home would have to be writeable.
works, provided the webserver can write to the /home/webdav-locks directory.
Feb 11, 2005:
But there will always be meta-collections (collections of objects and other collections), and these are worth seperate classes.
Jan 31, 2005:
Whatever the reason you want them, here they are.
Updated: fixed bug caused by HTML editor!
Jan 30, 2005:BitFlux Blog (via Shiflett's Blog), an excellent compendium of cross-site scripting attacks designed to foil HTML filters and input validation.
If you let untrusted people post HTML content to your website, you need to check your filter against all of these attacks.
Jan 29, 2005:
But just this morning (the benefits of sleeping in, right Fund-mates?) I realised that I could use this kind of alias to let users create their own presonalized copies of objects.
Dec 18, 2004:
Try going to about:config, the editing keyword.URL to make it http://www.google.com/search?oe=UTF-8&q=
In a related customization, you can bookmark any search, replace the query term with %s, and give the bookmark a shortcut, as described here.
Dec 13, 2004:Holub on Patterns that objects should draw themselves (by being passed a window resource).
Well this can be true in an html+css world. (Notice not xhtml -- the cool kids use xhtml techniques with html because xml isn't shiny anymore.)
Anyway, if each object "knows" (or can find out) its coordinates in whatever container it happens to be in, then it can draw itself. This is a bit convoluted for the average website, but for the exceptional website... well, I can see that.
This one isn't going to happen soon, but I'm interested in playing with it. A web version of Stickies, something like that.