Blog of the almighty boljen!

Mod Rewrite - Different view on exceptions

July 23rd, 2008 Posted in General | 1 Comment »

Dear readers,

In my previous post I’ve mentioned how to make an exception through using a different extension. This seemed insufficient to me because I wanted to have a whole directory being excluded from the rewrite URL.

First lets see what I had done so far:

DirectoryIndex index.php
RewriteEngine on
RewriteRule !\.(gif|jpg|js|png|css)$ index.php

This piece of code makes all traffic load index.php. With a piece of php code found in my previous post you could then analyse the URL and use those values instead of $_GET. Using this method makes your URLS more nice to see. You could for example let people go to www.domain.com/browser , do some code in index.php so the browser.php page will be included.

To add exceptions so if you want to access another page not through index.php, you could use a different extension and add it to the rewriterule, but using these lines is way more easy for you.
Read the rest of this entry »

mod rewrite

July 18th, 2008 Posted in General | No Comments »

Dear readers,

When I began making my website, I wanted one thing in particular. If my people want to see the news page, they should go to www.domain.com/news/ instead of www.domain.com/index.php?page=news. I was wondering how I could manage to make my URL more fixed, and then I stumbled over mod rewrite.

The reason I needed it is to give my visitors a proper overview of my website structure and navigation, since it’s a dynamic site written in php, I depend on my URL to get information about the where-abouts of my visitors. By doing this, it makes it also more easy for other webmasters to link to my website. Even search engines have beter results when you make your urls like directories. Go further for explaination about .htaccess and the phpcode behind it.

Read the rest of this entry »

Project website X

July 18th, 2008 Posted in Blog & websites, Business | No Comments »

Dear readers.

Today I have been working on my website project. The project is huge and in my eyes harder than any of the other projects I’ve ever tried to finish, except getting big sixpack abs, those ain’t hard at the moment.

In order to keep an overview I have divided my website into several modules: portalmodule, newsmodule, articlesmodule, usermodule, informationmodule, … Each of those can work next to each other. I’ve been working on the user system of the website. The login and logout system is completely finished. I’ve also been working on the privelege system, checking the priveleges already works, updating the priveleges is only for later on, since I will keep registration closed during the first couple of weeks.

Read the rest of this entry »

PHP Class Progress

May 22nd, 2008 Posted in Blog & websites | No Comments »

At this moment I’m learning OOP and it’s possibilities in php. I came across several great websites. One of them is hudzilla.org.

It really has been very useful for me and I have already gained more knowledge in the few hours reading the site than I gained in my class over several lessons.
The reason I’m learning it is because I want to make a large site, a lot of friends told me to use OOP instead of functions. I’m starting to understand why they told me that and in the end it will save me a lot of time.

The most important thing for me was how to input and output from the classes. This simple example handles all of those:

Read the rest of this entry »

Clickbank Startup

May 18th, 2008 Posted in Business | No Comments »

My friend, who runs the site on my domain (www.emoneystate.com) presented me Clickbank. I liked the concept so I decided to try it myself.

Clickbank is a company that acts as a middle person between authors of digital products, people who would like to buy it and advertisers who sell the products. I chose to become one of those advertisers because i’m not intrested and skilled enough for making my own product.

With the €50 coupon I received after the registration of my webhosting I will start advertising on adwords, and hopefully I will have a sale within some weeks.  My goal is to have my first sale within two weeks and to run the project break-even at least.

More updates will come soon.

Autocad Progress

May 18th, 2008 Posted in modelling | No Comments »

Some time ago I wrote that I was learning Autocad. My learning progress has slowed down since then. Never could make clear more than one hour to study. I figured I could learn it in my holidays from school, starting in july, so I stopped studying. Lots of schoolwork has to be done at this period of the year, and I have other priorities now and that are the reasons I have decided to delay and in the worst case stop this self-study project.

In my last hours of learning I downloaded the trial of 3ds Max and Bryce 3D. They are both very good and useful programs. To bad about the high cost in purchase. The possibilities are endless when combining these two programs with autocad. I really enjoy doing it, to bad I don’t have sufficient time to achieve the skills I want.

From here on I consider this topic inactive until further notice.

Grtz

Emoneystate.com

May 17th, 2008 Posted in Blog & websites | 1 Comment »

I bought this domain and hosting account to release my blog. However my friend asked me if he could host his site on my webspace as a test. He paid some of my hosting costs and said he’d share his benefits. I agreed ofcourse since this blog is just a hobby of mine.

He made the website www.emoneystate.com from scratch and his only source of income is his clickbank account. It hasn’t been online for too long so I am still wondering if it will be any good, but I am rooting for him :)

Feel free to give him some feedback in this blog, I’ll make sure he gets it.

Yours sincerely

Autocad - 3D Models

March 20th, 2008 Posted in modelling | 1 Comment »

I am starting to learn autocad. The reason is simple, there are a lot of job opportunities in that area.

The basics are really simple, e.g. drawing lines, making cirles… but when you move to 3 dimensonal, it’s getting more difficult. You now don’t have to worry about only x and y, but also about the z-dimension. The math behind it isn’t hard, but learning how to work with the program is.

I’m aiming at becoming someone who can visualize a construction-plan in 3D. There is heigh demand in this sector, because sketches don’t give the required realism anymore.

My personal method (order) of studying will be something similar to this:

  • Learning to model everything I can think of (construction-theme). (m/b 4 days?)
  • Finding out how to apply the right materials to the right faces. (m/b 1 day - 2 days?)
  • Learning to read and comprehend a construction scheme of a building. (longer timespan)
  • Last but not least: Finding out how to have maximum efficiency. (couple of months working)

I already got past day 1 of the modelling. I understand the fundamental utilities autocad has. For example intersect, union, trim … Those aren’t hard at all. In the first day I learned how to start autocad (matter of speaking) and I ended with making a realistic beer bottle in the right material. (took me about 5 houres to learn everything I know about autocad up to this moment, 2D and 3D)

PS: I will update this blog about my experiences. I will also add some pictures of the models I have made in the near future.

Wordpress video (youtube) plugin

February 25th, 2008 Posted in Blog & websites | No Comments »

Good evening my beloved readers!

I was at school today, thinking about adding some video’s to my blog. Because I have fallen in love with wordpress, it was obvious to me that I had to find a plugin for it. It took me about 5 seconds to actually find one!

If you want this plug-in for yourself, follow these simple steps:

1. Download wordpress video plugin (pop-ups should be enabled)
2. Place the file videos.php in your blog/wp-content/plugins/
3. Activate the plugin on your admin-panel (tab plugins ^-^)
4. Insert [-youtube youtubeid-] in your page/article you write (remove the”-” so there is no space between the [  ] tags

the last part of the youtube link is the youtubeid:
http://www.youtube.com/watch?v=p7hpVH1IAQM
your tag for this video is [-youtube p7hpVH1IAQM-]
(example inside)

Read the rest of this entry »

Systema

February 21st, 2008 Posted in Body and mind | No Comments »

Ever heard about systema?

Systema is a russian self-defence art in wich the practicer tries to get down his attacker with the highest efficiency possible. I knew about this for a long time, but never really showed intrest to such sports. I came across a website about systema today which had some video’s online.

 I included a link to a video (direct download) of that site. It shows the usage of the techniques to maximize your chances of winning a fight… when you are on the ground! Intresting to watch…

http://www.russianmartialart.org.uk/Surviving%20kicks%20whilst%20on%20the%20floor.WMV

I found a gym in my area doing some systema sessions every saturday, I think I’m going to check it out soon!