Blog entries - Programming - Page 1

Showing items 1 to 3 from a total of 3 ordered by Date (desc)

 
 
 
 
 
 
 
 

Programming - PHP - Alternative way to add images to your posts

Posted on 04/02/2009 17:00 - 0 Comments


Hello folks!

As I was writing my previous post (the one about my awesome vacations :P) I stumbled across a little problem in my post edit thingie: it had no image handling.

Since I wanted to add some photos so you could actually see some of the beautiful sights I talked about, I immediately started thinking of ways to easily implement a "Add new image to post" feature capable of creating thumbnails aswell (since I'm a really nice guy and wouldn't want to strain your browsers with megabytes of data ;D).

The first, and most obvious, thing that came to mind was creating some kind of upload form (in a popup or using AJAX) that would accept an image file, process it, create a thumbnail and add the image code to the html of the post. The problem with this method is that it would take lots of time to implement correctly or would require extensive code tweaking to some third-party upload library in order to adapt it to my own needs.

While I was reflecting upon this issue, a cunning idea started to form in my mind. What if instead of using a local file I used a file already in the net? This way the need for an upload form (atleast in my site) would no longer be. That's how I came up with the following script.

Read more...

 
 
 
 

Tutorial - Making a Website

Posted on 26/07/2008 23:32 - 1 Comments


Introduction

Rather than being an extensive and throughout tutorial giving you specific notions and explanations of the required languages to make a website (which would be a waste of time with such vast and useful resources available on the internet), this tutorial aims to outline the various steps to becoming a successful web programmer.

Read more...

 
 
 
 

Tutorial - Programming a Keylogger - VB.NET

Posted on 11/06/2008 22:50 - 152 Comments


Introduction

This tutorial aims to teach you how to program a basic Keylogger in VB.NET for Windows Operating Systems (tested with WinXp)

Keyloggers, as you probably know, are little applications whose only purpose is to log the user keystrokes. Often associated with evil intents (getting data which, normally, wasn't accessible to you), keyloggers are also useful for debugging and statistics.

By creating a Keylogger you'll end up learning how to access various Operative System functions thus gaining a greater knowledge of how everything works under the hood :)

Read more...