Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Monthly Archives: October 2009

Cobian Backup

Cobian Backup is a multi-threaded program that can be used to schedule and backup your files and directories from their original location to other directories/drives in the same computer or other computer in your network. FTP backup is also supported in both directions (download and upload).

Cobian Backup exists in two different versions: application and service. The program uses very few resources and can be running on the background on your system, checking your backup schedule and executing your backups when necessary.

Cobian Backup is not an usual backup application: it only copies your files and folders in original or compressed mode to other destination, creating a security copy as a result. So Cobian Backup can be better described as a “Scheduler for security copies”. Cobian Backup supports several methods of compression and strong encryption.


SWFUpload – JavaScript/Flash library to Upload Multiple Files

SWFUpload is a small JavaScript/Flash library to get the best of both worlds. It features the great upload capabilities of Flash and the accessibility and ease of HTML/CSS.

* Upload multiple files at once by ctrl/shift-selecting in dialog
* Javascript callbacks on all events
* Get file information before upload starts
* Style upload elements with XHTML and css
* Display information while files are uploading using HTML
* No page reloads necessary
* Works on all platforms/browsers that has Flash support.
* Degrades gracefully to normal HTML upload form if Flash or javascript is unavailable
* Control filesize before upload starts
* Only display chosen filetypes in dialog
* Queue uploads, remove/add files before starting upload

PHP – Undefined Index

This error appears because of your PHP error reporting settings. Usually, it appears when your variable is not properly set. There are two ways to handle this issue:

1. Check if $_POST[‘action’] is set before using it. For example:

if (!isset($_POST['action']))
//If not isset -> set with dumy value
$_POST['action'] = "undefine";

2. Suppress Notice warnings

Notice warnings could be suppressed by changing the error_reporting variable in your PHP.ini. error_reporting could be set to show all errors except those for notices and coding standards warnings: error_reporting = E_ALL & ~E_NOTICE

The same is accomplished by adding the following line in your php page:

 error_reporting (E_ALL ^ E_NOTICE);


suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.

MySQL Indexing Sequence

The indexing should be the same sequence in the SQL used.

SELECT `image_no` AS count FROM `images` WHERE `section`='b_cars' AND `ad_no`='300483' ORDER BY `image_no` DESC LIMIT 1 KEY `section` (`section`,`ad_no`,`order_no`,`image_no`)


Freelance in Australia

The Freelance Factory allows Freelance Creative Talent to promote themselves and their services by offering a One Page Creative Profile Webpage in a categorised, industry-specific directory. It is completely FREE to register with the Freelance Factory, here you will be able to search other freelance profiles, search to team up, join the Factory Floor or simply have a look around. If you would like to advertise your expertise with a onepage profile page, display work samples and link to your website, a small fee applies. $22 per month or $232 per year.

A wonderful resource for all arts workers. Become a member and receive a number of benefits including a weekly Jobs e-bulletin. Membership costs $88 per year. is a freelance jobs directory for Australians. It offers links to freelance & work at home job-boards, self-promotion tips, contract employment, lists of self-employment health/medical insurance for freelancers, and jobs for a wide range of freelance and home-based professionals. Read more of this post

Welcome to My Blog

Hello, and welcome to my blog! I’m not sure exactly what I’ll be writing about, but with the project I’ve been working on for the past 7 months recently announced, I felt compelled to finally start one. Of course, it has taken me almost a week to get my blog up and running – more on that in future blog entries…

I joined Macromedia around 9 months ago, and run the recently announced project code-named “Zorn” with Sho Kuwamoto. My prime motivation for joining Macromedia was that I saw incredible things being done in Flash that just blew me away, but every time I picked it up, my eyes would glaze over. Within this dichotomy I saw a tremendous opportunity to help make building these rich internet apps easier for people like me.

So Zorn is the new development tool that we’re building to make it easier to build apps that run on the Flash Platform. Zorn is built on Eclipse and I think will help make Flash more approachable for developers. I’ve got to say that as I typed that last sentence, I almost had to laugh. Developers, especially really good ones, are usually the type of people who don’t need things to be made more approachable – their whole reason for being is to figure out the hard stuff! Yet it’s amazing how many great developers I’ve met who can’t figure out how to do anything in Flash and just give up. The problem is that the Flash model, while very intuitive for animators and designers, is just completely foreign to experienced developers. Timelines? Movieclips? Layers with code? Huh? I’ll be talking more about how we will address these issues in the months ahead. Read more of this post

%d bloggers like this: