Martic.net

Talking in binary since 1980.

Building an ideal homepage

Darko at 2:57 pm on Wednesday, June 3, 2009

naslovnice.comFor the past few months (or more) I’ve been building something I’d like to call “an ideal homepage“. Very hard task to do, but I’m sure I will come close to the idea with the project, sooner or later…
Read more >>

Moving a project to another domain name

Darko at 2:11 pm on Monday, March 16, 2009

move Moving a project from one domain to another is something you should avoid. Unless it is really necessary – just don’t do it :)

But, maybe you sold a domain and want to transfer a project to another domain name. Then you have a lot of things to do.
Read more >>

Simple AJAX example

Darko at 3:20 pm on Friday, February 20, 2009

ajaxOnce I created my first AJAX “application” (also based on some simple tutorial) I just can’t stop thinking of AJAX methodology and it’s usage all over the projects.

What is AJAX actually? By definition – Asynchronous JavaScript and XML, a technique used in web application development.
In general it is a combination of XHTML and JavaScript.

Read more >>

Paros Proxy – useful utility for web debugging

Darko at 5:29 pm on Thursday, February 19, 2009

paros proxyWouldn’t it be great if you could see what data exactly do you submit with your HTML form with Post method? Well, you can and it’s easy with Paros Proxy tool !

As the name says, to simplify, this utility acts as your local web proxy. So, to set it up (after the installation) you configure your web browser’s proxy setting to something like http://localhost:xxxx (where “xxxx” is a Paros Proxy specific port). By doing that all traffic you make through your web browser goes through this utility. Read more >>

Sending HTML e-mail with PHP

Darko at 4:27 pm on Thursday, February 19, 2009

emailIt’s really hard for me to read unformatted e-mails, and it’s getting annoying when I recieve some important information and loose my eyes on scanning bunch of text in search for text I need to read.

I was also one of those programmers who didn’t “found time” to format those notification e-mails sent to webshop customers, but after some time I realized what I was missing:

  • attractive looking e-mail newsletters to attrack customers to buy more
  • simplifying user registration with easy to read next registration process step
  • etc.  Read more >>

Create standalone executables with PHP

Darko at 3:38 pm on Thursday, February 19, 2009

bambalan php exe compilerRecently I needed to create a small command line app which processes .TXT files with some minor text editing.

So, as I’m a big fan of PHP I took a quick Google search on running  .PHP scripts without installing PHP itself.

But, I’ve found something even more interesting – an application that actually converts, compiles, .PHP scripts into a standalone command line EXE application ! Read more >>

Securing ASP applications from SQL injection and XSS

Darko at 10:31 am on Tuesday, July 22, 2008

Recently I was alarmed that one of my late projects is under attack. It was one of my first websites I created using ASP+MS SQL.

Looking at .LOG files and database it was clear that the attack was done using SQL injection method, which is of course a shame on my work but it somehow slips through my fingers at certain lines of code. We all live and learn… There is a saying – who works, makes mistakes.

Anyhow, I was facing a problem that has to be sold, and finaly – I made it… Read more >>

Friendly URLs, the easy way

Darko at 3:29 pm on Monday, June 30, 2008

If you ever wonder how to create those cool links to your pages, here’s a short tutorial…

Those “old” links like http://www.example.com/index.php?p=1&s=2&t=ok are history, the new look-and-feel is http://www.example.com/news/technology/.

There are number of advanteges with using this friendly URLs:

  • visitors can easily see where is their current location within your website
  • easy to remember direct links to a certain page on your website
  • Google “reads” your website more accurate and gives a better search results, so this is also a very good SEO technique (a must-have one actually)

Read more >>

You should know how to welcome your visitors !

Darko at 11:17 pm on Tuesday, August 14, 2007

willkommen.jpgVisitors will like your web site if you make a nice welcome for them. Knowing where are they coming from can help you attract new visitors and also keep the visitors come back.
Of course, the most important thing is to have a quality content, but if you don’t serve it right – visitor might miss the content…

Imagine this as if you were the visitor:

  • you opened a web site and it’s default language is your native language
  • opening a registration form, your country is automatically selected
  • content is served with priority to content related to my country of residence

Doesn’t this sounds cool?
Well, you can do the same for you own web site… Read more >>

 
 
Close
E-mail It
Socialized through Gregarious 42