Technology blogs
Mar 30

I’m going to talk about some good object oriented practices for small/medium projects. The object oriented programming itself will save you enourmous amount of time. The inheritance is part of the Object Oriented Programming (OOP) and is very good thing that is going to save you even more time when you start to use some object oriented model in your programming.

Let’s say we need to have some root class – lets say “Base”, with the __construct() (the class’s constructor) – notice that since PHP 5.0 the constructor of a class is defined in __constructs(), instead of “the-name-of-your-class”(). Anyway you can define the constructor information in Base() as well, but better do it in __construct, because you don’t know if there will be support for the old PHP 4 constructors in PHP 6 :)

so let’s get on business..
Continue reading »

Mar 20

I don’t know if this will be interesting for you, but it was very interesting for me when i found that it is very easy to modify header information and send POST/GET variables through header using php. Anyway with CURL you are able to do much more that just modify the header information etc., but we wont have that time-frame :)

I will give you simple example where i login through script on localhost on some site – in this example: “gametrailers.com” – without actually enter any username and password :) , i think this will be the easiest way to understand it.

so here is the example:
Continue reading »

Mar 19

Hello :) today i’m going to talk about resizing your the images in your site.
So let’s say for example that you have a CMS system – like Joomla for example. In the administration you usually have functionality like – uploading images and linking them in your content.
But often the problem with that is that usually the customers will upload too large images (copied in raw jpeg directly from their cameras) and when they link them to the content of their website, it get’s really messy.
Anyway you can fix this by writing some script that directly resize the image to some resolution like 500px/* for example, but what will happen if you want to put lightbox or something other to show the image in large resolution, or you just want to put some function to download the original file etc. You simply can’t because the image was resized at the moment it was uploaded on the server.

How about dinamically resize the image at the very  moment that client requests it?

So that way we wont have a big image that the client has to download, and at the same time we will still have the original, good resolution copy of the image, in case that we need it. We can also use the following PHP script for creating thumbnails.

Well – as you will see below it’s not hard at all to do it,  i mean not hard at all :)

Continue reading »

Mar 12

This is metal gear solid kind-a game W. i highly recommend it if you have’nt tried it before. You come in the role of the bad alien that kills FBI agents, and in the same time unknown why you must have to kill all sorts of weird robots etc. This is very classic game so don’t miss it ;D

alien arcade flash game

if you want to play the game – click Continue reading

Continue reading »

Mar 11

Hello :) ,
these days i was making a lot of compliments about Windows 7, i was telling my friends how fast and stable it is, even that it’s still in Beta :) . Well i think that it is double as fast compared to Vista, double as stable, double …. blablabla
… and also you have double the toolbars, double the menu items double everything :D

Mar 11

shibaku

If you see the image first – u will probably think – oh no this is some kind of sims flash game, or something like tycoon game where i have to build things and make money etc.

Nothing like that – Shibaku can’t be compared to any other game – in shibaku you can decide which technologies to develop more than others, and from that point on you have dozens of different scenarios in which the game will develop. Anyway if you choose good way to develop and grow your town you can get to level 10 and beat the game – unfortunately i just got to level 9 after million different scenarios :D Just give it a try – u won’t regret it :) - To play the game click the – “Continue reading” button .

Continue reading »

Mar 10

tunnel flash game
Long time ago i found that amazing flash game. I managed to get to level 8. I dunno if someone ever beaten this game – btw this game will be harder for u if ur computer is faster cuz it will run like hell on the later levels :D
Click on “Continue Reading” to play the game

Continue reading »

Mar 09

Hello everybody,

today i’ll be talking about how to export / import your Excel file into you your database using the PHP and the CSV file format.
First of all we need an Excel file with our data.

Every row of the excel file should be the same format as the previous row (so that we can make our life easier), for example if we want to import a excel file with name/url addres corresponding to this name we should have our excel file in a format like this:
exel file example
After u have the file in this excel format u should hit -> File -> Save as -> CSV (Comma Delimited) or more ofter its Called “Comma Separated Values”. For the comma separator use “;” if it asks you. So after you save the file in the CSV file format you should have something like this after you open the file with notepad etc.:

Continue reading »

Mar 08

for everybody who is just starting to learn about the SSL оpportunities that you have with Open SSL (tool) and the mod_ssl for Apache for securing your site. The simplest and fastest thing that you can do is to create a self-signed certificate, after you generate a free RSA key :) . Don’t worry it’s not so sophisticated as it sounds :) actually it’s pretty easy. You can read more on the link below
ssl graph

Securing an Apache 2 Web server can be an intimidating prospect for those new to secure sockets layer (SSL) certificates. However, this need not be the case. SSL secures Web server to Web browser connections. Read on to better understand SSL certificates, learn how to set them up on Apache and launch your SSL-enabled site.

Continue reading »

Mar 08

game chick

I may be a girl but you are noob :D