Cesar D. Rodas, web development. Technology news. PHP, MySQL, Apache, C, Bash, ASM

Archive for June, 2007

How to (up/down)load videos from youtube with PHP

Friday, June 29th, 2007

I was surfing in the phpclasses and I’ve found this wonderful class. phpTube which gives you the possibility to download and upload videos to youtube from php with an easy API. For so many sites this class is very useful because it offers a great interactive service with the bigger Video Portal of the world.

<?php
include_once (“phptube.php”);
$tube = new PHPTube ();
$tube->download(“TWZ5j-SNVKs”,“demo.flv”);

$tube = new PHPTube (“username”,“password”);
$id = $tube->upload (“/path/to/videofile.3gp”,“PHPTube Demo”, “Demo PHP YouTube”, “…”, 10, “DE”);

?>

The entire class could be downlaoaded from here

You may also get benefits of free web hosting packages which are offered by some web hosts free of charges. The dedicated hosting service providers offer most reliable hosting plans along with the connectivity of dedicated servers, a potent one. The hosting plans of aplus hosting are well-liked by all potential customers due to valuable features, connecting a number of computers in the same network.

Micracles Exists!

Friday, June 29th, 2007

Hello to every body!, usually I write into my personal blog (here) about technicals articles, you know, php, mysql, servers, a few of C and others things. Today I will write about something that happened to me, for it is a miracle, a second change that my God gave me and I want to share that experience with you!. First, thank you for take the time for read this.

Ok, let’s beginning, yesterday, 28th June 2007, I was in my girlfriend’s house (as I usually be hehe), and I need to have a conferences about work with some friends from Brazil and USA, then as I don’t have yet Internet at home, I went with my girlfriend into a cyber coffeee (also called Lan House, it is a place for use Internet). When the web-conference Finnish, I had a call to my mobile phone from my Mother, and she told me: “Cesar, Your Daddy had an accident (more…)

How to manage thousands visitors, Part III. www.wikipedia.org

Thursday, June 28th, 2007

Following the articles of How to manage thousands visitors, I will now write about a very very big site which uses MySQL and PHP5. Also it is so big that handle about 10,000 and 30,000 page requests per second on a normal day. Yeah a very very huge traffic.

It do about a traffic of about 864,000,000 to 2,592,000,000 request per day. A great number of traffic don’t you think? (more…)

gCache: Helping PHP to work faster

Wednesday, June 27th, 2007

Many php sites usually do many SQL query for show a single page. That doesn’t affect the performance when the traffic is under the 10000 hits per day.

But the think became more hard to handle when the traffic is upper than 10000 hits, and more if the web server is a shared server.

Usually we need to find a way to help php to reduce the number of query to a database, because as a friend told me: “Most of time php is awaiting for a database to response” (more…)

Making money Sharing the source…

Monday, June 25th, 2007

It is well known that you can make money writing free softwares, sharing the source, disclaiming the copyright.

But in this case I will speak about my personal experience writing free softwares and getting money directly or indirectly.

First of nothing you don’t need to start or be part of a very very big project for get benefits. I’ve never be part or start a big project, and all my “free software” experience are writing PHP classes and sharing the source, and that’s simplest and take less time than write an Operating system ;), and also has many benefits.

Directly I’ve never got benefits(I mean get paid) yet, But I am planning to… and you will ask me how??… and the answer is a quite simple, with Google-Ads on the sites of my php projects. If the projects are good they will bring visitors to the site by their own and with a few of help of me writing always something new, try to fixed bugs as soon a possible, and publishing in dzone.com, digg.com, meneame.net and others sites. (more…)

PHP: Your imagination is your limit.

Tuesday, June 19th, 2007

Do you think PHP was only developed for write Web-Sites?, If you do, I think you are right, the PHP was developed for that, but we know that right now with the growth of this languages we (PHP lovers) could do more than only web development. (more…)

A page told that I must learn python! But I love PHP & C

Saturday, June 16th, 2007

You are Python You are slower than others, but easier to understand. You are a minimalist, who doesn't like clutter.
Which Programming Language are You?

Multi threading with PHP

Monday, June 11th, 2007

Surfing in Phpclasses I’ve found a really useful (at least for me) class that implements a Java like thread class. It look very interesting and this class came with a good documentation, examples.

I recommend to download this package, specially if you want to do more attractive things with php like apps with PHP-GTK.

This class only work with Unix Like OS because it implement a fork interface.

I will implement (or try to), this class with my class DNServer

Forms generation and validation

Thursday, June 7th, 2007

If you are a web developer you know, and if you are not you will know now, that Forms generations and validations are very common in our life. Almost everything in our life is to create forms (html creation, validation with php, and if you can validate with JS will be better, BUT will take a lot of time). And many kinds of forms.

Mr. Lemos developed Forms generation and validation, This is very good, with good docs, many examples, easy to use, it supports templates (this feature is very important and makes of this class very flexible at the time of develop a form), is easy to work with this class extending it.

The validation have two phases. First at client side, with Javascript, and the oldest (compatible with almost every web-browser). Second at server side with PHP, very useful for browser which doesn’t support Javascript and for a double check ;).

I am using this class in all my projects, and is incredible the time that I save building forms, and as is far known Time is money ;).

Also this class has Video Documentation in English and Portugues. And Watch is the better way to learn how its work and how to use.

Thanks Mr. Lemos for this wonderful and very useful class ;)

Asking more about PhpClasses ;)

Thursday, June 7th, 2007

Very cool. Me, asking a few about www.phpclasses.org to Mr. Lemos. Intresting it is about URL_Rewriting, php scritps and Apache Error Doc handler.

To see the Forum click here

Enter your email address:

Delivered by FeedBurner

this Site

Archives

June 2007
S M T W T F S
« May   Jul »
 12
3456789
10111213141516
17181920212223
24252627282930

Syndication

Google