Today I learned about the view-source URI scheme. Check it out!
URI scheme
Reading about URI schemes today.
The UriSchemes page at the W3C suggests a few ways to add support for URL schemes. Maybe I could get file: URLs doing something suitable for SMB network resources in Firefox.
Internet explorer support for file URIs
The URI file://bender-xp/C$/ works in an anchor tag in IE8 to open the \\bender-xp\C$ file share on my network. In this case bender-xp was the name of my local machine but it works for remote file shares too (I tested it to a Samba share on another box).
Unfortunately my version of Firefox (version 9.0.1) doesn’t support this.
PHP error_log
File upload error – unable to create a temporary file in Unknown on line 0
I was working with phpMyAdmin and I got the following error:
File upload error - unable to create a temporary file in Unknown on line 0
The problem was that the upload_tmp_dir setting in my php.ini file was specified twice. Once up the top of the file where I was editing it, and then later in the file where I didn’t see it. So the setting I wanted wasn’t being applied. If you get this error double check you’ve only got one setting for upload_tmp_dir.
HTML to text in PHP
On my list of things to do (at a rather low priority) is learning more about how to convert html to text in php.
Disable CSS on Firefox
Learned how to Disable CSS on Firefox. It’s in View -> Page Style.
Enabling and disabling JavaScript in Firefox
Learning about how to enable and disable script in firefox. Tools -> Options -> Content -> Enable JavaScript.
Data URI scheme
Been learning about the Data URI scheme. That’s what you use to embed image data in HTML or CSS.
CSS content Property
I used the CSS content Property for the first time the other day. You’d have to wonder where I’ve been…