Sep
03

Mod_rewrite magic several things to consider

Filed under Linux by tonie
Yes, it is definitely a voodoo, powerful and beautiful, but still a voodoo. There are several things I had to learn the hard way before I got the hang of Apache's URL rewriting module - mostly trial and error (some stuff I couldn't even suppose existed)
Jun
14

Problems with wp-o-matic plug-in

Filed under Wordpress, PHP by tonie
I had to fight with it for two days before making it work as I wanted to, but after quite of a struggle, I managed to get it fixed
May
19

Simple yet effective ad management trick

Filed under PHP by tonie
Well? Do you hard code your ads or do you use a sophisticated ad management plug-in?I don't do either. Here's what I do to manage ads throughout a website.
May
15

Really simple PHP gallery script

Filed under PHP, Javascript by tonie
Right. Have you ever wanted to just log on with your FTP account, upload a bunch of pictures and do nothing more to create a good looking gallery page. Well, this is exactly what this script does. No complicated uploading techniques, just log on with your FTP account and put the pictures you want in different folders, which represent the corresponding albums.
Apr
28

Keyword search in a MySQL database

Filed under MySQL, PHP by tonie

For the following example, let's suppose that you have a database table, named posts with 5 fields in there: id, title, author, body, tags. What we want to do is create a script, that will allow users to search your database for any keyword matches.

Apr
25

Using layouts and viewports in ExtJS

Filed under ExtJS, Javascript by tonie

In my introduction to this wonderful JavaScript framework, we talked about installing ExtJS and creating some simple message boxes and prompts. Today I want to focus on the "clothes" that good web applications wear - The Layout. Ext provides a very flexible way of creating a beautiful desktop-like environment, which fills 100% of your screen and gives the kind of a feeling you are actually browsing through your e-mails in Outlook.

Apr
19

Flash snowflakes with ActionScript 2.0

Filed under Flash by tonie
Last year I made a few flash demos to show-off a portfolio for my old blog (which was entirely flash based) and this is one of them. Here is how you can create dynamically some random size snowflakes for your next Christmas Flash Project :)
Apr
18

Flash analog clock for Nokia 6300

Filed under Flash by tonie
A little toy that I've created using Flash CS3 a while back. It suits my Nokia 6300 perfectly.
Apr
11

Кариери 2009

Filed under На Български by tonie

На 8ми Април, 2009 в гр. Пловдив се проведе "Форумът за студентски стаж и кариери". Събитието беше организирано от jobtiger.bg в конгесния център на пловдивския панаир.

Apr
10

Hotel reservations with PHP and MySQL

Filed under MySQL, PHP by tonie
Recently I had to figure out a solution to the following problem: A client of mine, who owns a restaurant wanted his customers to be able to make real time online table reservations. Before I start, let me tell you that this is a very basic example to show you how you can use PHP to create a reservation system. The actual script I wrote for my client was more complex than this, since it required better time management of the restaurant's tables, cell phone message notification, more extensive error handling, etc.
Apr
08

Introduction to ExtJS

Filed under Javascript by tonie

Finally I found the time to sit down and write about this wonderful framework. Among the numerous JavaScript libraries out there, only Ext provides you with all the widgets you need to create a great desktop-like application on the web. Ext allows the developer to easily manipulate ready-to-use classes and build application interfaces, which could otherwise look impossible to create. But enough fancy words about it, let's see how it works for real.

Mar
24

Track visitor's geo location with PHP

Filed under PHP by tonie

Have you ever wondered how do those adultfriendfinder.com ads know exactly which city you're browsing from? It might look complicated and close to impossible, but in fact I found a really simple way of achieving the same effect. Well, here's how I did it for one of my client's projects.

Mar
14

Search a string for skype emoticons code

Filed under PHP by tonie
Yesterday I was reading my school's bulletin board, when I started thinking on what makes them smileys show up, when you type a particular code on a comment or post. So, after a few minutes I came up with a very basic PHP function, which searches strings for occurances of a pattern and replaces them with images.
Mar
13

Hello World

Filed under PHP by tonie
I'll start my blog with a little more detailed, or twisted version of the famous generic "Hello World" trivia. Here we go!
<?php
class helloworld {
    function greet($msg) {
        echo $msg;
    }
}
$hi = new helloworld();
$hi->greet('Hello World!');
?>