James Cassell's Blog

Sunday, July 31, 2005

1l seems to be a pretty solid host. There has been down time, but it seems that they will be around for a while. I just set up Dreamweaver to update the files there when I save the changes locally. I hope to have written my own blogging software that uses PHP and MySQL. I am still learning SQL and how to use it with PHP. I am building the interface so that it is similar to that of Blogger. As always, any suggestions or comments are appreciated.

Thursday, July 28, 2005

I found an excellent SQL tutorial that explained SQL to me better than did the one at W3Schools. The tutorial I found also includes a PHP tutorial. I found it on Just the Basics Web Tutorials through Google.

Wednesday, July 27, 2005

I have found yet another web host. This one is 1l. They look pretty good, and I hope that they will survive much longer than any of the other hosts that I have used. You can see cyberpear, which is my web site. I'd like to know what anyone thinks of it.

Monday, July 25, 2005

I just installed Open Office. It is an open souce alternative to Microsoft Office. I am trying it out because I don't feel like installing Microsoft Office as it seems to slow down my machine. My computer currently starts up very quickly because I don't have any programs run when I start it up other than Apache server which starts up PHP. I also disabled some of the unneeded services. A guide to which can be found at Black Viper. I plan to make a profile specifically for Updating Windows, and the default be as a server and a web browser.

Sunday, July 24, 2005

Matzoo went down, I'm back to being my own host again. Free hosts don't last very long. This time it was only a few days.

In other news... I'm researching information on taxes. There are withholdings on my paychecks and I want to know what they're for and if I can get them back.

Friday, July 22, 2005

I got a new free host for cyberpear! Their site is illegible, but the hosting is great! The host I found is MatZoo. They are pretty good, but from past experiences, I don't know how long they will stay free.

Tuesday, July 19, 2005

I believe that I have gotten MySQL integrated with PHP. I have been having some trouble attempting to do this for a while. The problem turned out to be that I needed to set a variable called "extention_dir" to it's correct value. I will mess more with MySQL later as it is getting late.

Monday, July 18, 2005

On Friday, I went to Laser Quest for my brother's birthday. My friend Jaren came also. After that, we went to my mom's house. He brought his computer along, and set it up. We played Age of Empires II and ended up not going to sleep until 8am. We slept for about 3 hours when we were awakened by my younger sibblings running around. Jaren and I went to Wal-Mart and he bought an XBox game. We returned home and I got ready for work while he packed his stuff. He then drove me to work, and he went to his home.

Friday, July 08, 2005

The only thing that need to do on my site right now (besides finish the pages that don't work, and add more content) is to figure out how to write some script that will made IE function as if it supported the "max-width" and "min-width" css properties. right now, the page will stretch to fill the screen no matter how wide it is in IE. I will maybe do this tomorrow, or perhaps next week because I might get up very late tomorrow, and I have to work.

In other news... I got another raise! It was a 25 cent raise. It only affects my paycheck a little bit, but every little bit helps.

Thursday, July 07, 2005

I found a solution to the problem that I mentioned in my previous post. The problem was two-fold; As I mentioned previously, "document.write" doesn't work in correctly-served XHTML, another thing that I was doing incorrectly was using "createElement" instead of "createElementNS". The second problem took a much longer time to solve; the problem is that the <img> tag is not included in XHTML. The <object> tag replaces <img>, <applet>, and some other tags. It took a while to get correct, but now, the counter works correctly, and is displayed. Some of the sites that helped me solve this problem included XML.com, Experts Exchange, and of course, The W3C.

Tuesday, July 05, 2005

I am currently attempting to make my site be able to use the mime "application/xhtml+xml" and still have my NedStatBasic counter work. document.write doesn't work with xhtml served correctly, so I am attempting to make a workaround. I currently am attempting to use such things as createElement, appendChild, and other similar methods. I would be willing to give anyone who has a solution a Gmail account. If you happen to have a solution, please post it as a comment.

Monday, July 04, 2005

Here are are some useful sites that talk about serving up xhtml with the correct mime type. The code is ingenius, and I have reworked it to suit my needs, and will be used on my site in the near future. The original can be found at Keystone Websites and a slightly modified commented version can be found at WorkingWith.me.uk.

I spent the past few days learning regualar expressions. I was trying to learn the syntax of any function that accepts a "string pattern". When I searched for that on google, a list of functions was produced that accept "string pattern". I tweaked around with my search for a while until I saw something hinting regular expressions. I saw regular-expressions.info mentioned there, and checked it out. It is very useful and powerful. You can use it in many places as a search. For example, you could search for a valid email address, or a valid domain, or pretty much anything else that has a recognizable pattern.