Tiffany B. Brown

a mish-mosh of stuff

Archive for March, 2011

Quick PHP Tip: Uploading multiple files in HTML5
One of the neat things about HTML5 is that it allows for multiple file uploads in one file upload field. Of course, you have to have a browser that supports such a feature. Currently Opera 11.10 does. So do Firefox 4, the latest version of Chrome, and Safari 5.0.4. (Internet Explorer 9 does not.) Now [...] [Posted: 29 Mar 2011]
Opera blog roundup
Want to learn more about Opera Desktop, Mobile and Mini? Follow along with the official company product blogs. (Posted here as much for my benefit as for yours). Core Core is where all of the magic is made. Features and support get added to core and then make their way to Desktop, Mobile, Mini and [...] [Posted: 28 Mar 2011]
HTML5 does NOT allow “self-closing” tags …
… on non-void elements, at least. One of the big misconceptions about HTML5 is that any tag can be self-closed. That’s not true, though it appears that way. What HTML5 does is provide parsing rules for handling mismatched tags and markup. While it seems like self-closing tags are acceptable, that’s not the case. This post [...] [Posted: 23 Mar 2011]
Android 3.0 SDK on Mac OS X – Snow Leopard: Installation tips
It’s not as obvious as it seems in the Installing the SDK documentation. You’ll also need to do two (small) extra steps. Step 1: Make sure your JAVA_HOME path is using the correct value Edit or create a .bash_profile file in your home directory and add the following line. export JAVA_HOME=`/usr/libexec/java_home` This will set the [...] [Posted: 22 Mar 2011]
HTML is not XML
Click to embiggen. View the page causing the error. The problem above was caused by three things working in concert. An HTML page was served with a Content-Type: application/xhtml+xml; response header. Here’s what the server response headers look like: HTTP/1.1 200 OK Cache-Control: no-cache Pragma: no-cache Content-Length: 4001 Content-Type: application/xhtml+xml; charset=utf-8 Expires: -1 Server: Microsoft-IIS/7.0 [...] [Posted: 10 Mar 2011]
HTML5 Forms: A correction and revised slides
Cross-posted to my Opera blog A little over a week ago, I gave a talk to the Los Angeles HTML5 User Group about forms in HTML. I said something that was incorrect in the talk, and had a faulty example in the slides (that’s what happens when you pull it together in a day!). First [...] [Posted: 7 Mar 2011]