Webcam in php

Recently, I got a project for an online DTR system which required the user to have a snapshot of himself/herself first. I really had the trouble doing it since I am not very good in web programming. I searched in Google about using a webcam in php but I was not productive with it. I got really frustrated because as simple as it sounds when the client had me do it, I didn't know how. Well, to be able to pursue the project, I improvised. What I did was create a desktop application using C# that uses an online database in MySQL. The program can read a usb webcam and upload the picture via ftp to the web server. The reports reside on the website so it can be viewed anywhere without installing the application. The problem came when the hosting provider stopped allowing remote MySQL connections due to security reasons. Rather than finding another hosting (I've tried 4 already and they all have one disadvantage or two), I'm trying to find ways to code in php where I can make use of a client's webcam. I'm now back at a bottleneck! I've seen some samples in flash where it is very easy using the webcam but when php comes into picture, there is always an issue. One is that it needs to use the GD library from which the hosting providers I currently have do not support. Sigh...

If only flash can get a snapshot from the webcam and be able to convert it to jpeg and save it to the server without using the GD library... I'm still searching...

The code in actionscript is really easy when you want to use a webcam. You just use
Camera.get(); and attach it to a video object.

1 Million Tweets

Here's something new (well as of this post): 1 Million Tweets in one tweeter account for $1. Basically, you are to post a tweet through their tweeter account which is 1milliontweets, from which you are to post whatever you want (preferably advertise your products or services or your website). This will cost you $1 per tweet. This is quite interesting. Will people patronize this? This will be a question to SEOs. Do you have to pay $1 to advertise through 1 tweeter account? Will this make a significant contribution to optimizing your website?

Ecommerce and Paypal

Just last year before my students did their proposal for their Systems Analysis and Design, I explored Paypal. We wanted to incorporate it into our website at Trimaran Solutions before but the solution was not that easy before. I remembered participating in a campaign to have it offered here in the Philippines. I just can't remember the link. Well back to Paypal, to those programmers who are hesitant on using it, try to explore. They have made it easier to integrate to our websites. You have a lot of options. You can have your own shopping cart, or you can use their shopping cart. Security is not a problem since Paypal had it planned already. They even have all the codes you need ready on their site.
(See
  • https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_overview
  • https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_code).

What I like the most is the hosted button. I have an example below:







(You can donate here if you want. :D)

So, for all those programmers who want to implement e-commerce, be it
for your Home and Garden including hoses, outdoor entertainment, bird baths, hedge trimmers, garden accents, housewares, home furnishings, home accessories, furniture, and a whole lot more, now is a very good opportunity to make use of technology. This sure does make monetizing your website a lot easier.