Parsing With PHP [Part1]

PHP July 28th, 2008

Hehe.. I learn how to parsing with PHP. I read some books and find so many tricks to parsing text using PHP.. So I’ll try one by one^^ First, I tried to simple parsing with PHP. There are some technique for parsing that I learned today.

Parsing Comma-Separated List

How to parsing from comma-separated list then make it to array. First you can using explode() function. Lookout this example.

1
2
3
4
5
6
7
8
9
10
11
12
<?php
// define comma-separated list
$menu = "butter, milk, sugar, salt, flour, caramel";
// decompose string into array
// using comma as delimiter
$menu = explode(", ", $menu);
// iterate over array
// print individual elements
foreach ($menu as $i) {
echo $i . "<br />";
}
?>

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

I’m Going Mobile

Operating System July 25th, 2008

Wew it’s incredible.. eye OS is Operating System based on PHP. So this OS is multi platfrom. I never think about it before. After any CMS based on PHP now is possible to make an Operating System based on PHP. That’s true.. Yeah :D and Eye OS was born. You can install this OS on your server, so you can access it any where and every where. Like the tittle, I’m going mobile.. Not me, but my PC^^

Not only that, with eyeOS you can have word processor and any software installed. You can save your files with upload and take it back with downloading method. More power full then… It’s mobile OS that I need. (demo)

Read the rest of this entry »

Sphere: Related Content

Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Hacking SWF Version Using PHP

PHP July 24th, 2008

One day, I got trouble to make an Action Script embeded on PHP and Ming. I had success to make random movement, but not for blur filter.

1
2
3
4
5
6
7
8
$strAction="
var xPercent = 5;
var yPercent = 5;
var ffb=flash.filters.BlurFilter;
var filter = new ffb(xPercent, yPercent, 2);
var filterArray =[];
filterArray.push(filter);
this.text1.filters = filterArray;";

no error, but why it’s not working???
Akh.. what’s wrong? why it happen..

Read the rest of this entry »

Sphere: Related Content

Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

Direct Download MegaVideo Using Firefox

Download July 22nd, 2008

Since, I failed to download MegaVideo using link on previous post. I’m Googling again and finally found some trick to download MegaVideo directly from Firefox browser :D . This trick use Firefox cache to get flv link. First you must have Mozilla Firefox installed on your PC and please clear your cache on Firefox (Menu->Tools->Clear Private Data->check Cache only and Clear Private Data Now). Then go to MegaVideo and search Video you want to download.

Now you will need to let the movie start and then type about:cache on address bar.

About Cache

Then click List Cache Entries on Disk cache device.

Read the rest of this entry »

Sphere: Related Content

Tags: , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

Download YouTube Video Without Software

Download July 20th, 2008

Ouch.. It’s very nice.. I don’t know about it before. With this trick, I can download YouTube Video easily without any software or tools. You just need your favorite browsing. It’s working on Mozilla Firefox and Internet Explorer.

  1. Go to the Youtube video that you want to download for example http://youtube.com/watch?v=vN24mQQaKWY, then “Right Click” to the vacant space and “View Source” (on IE) or “View Page Source (on Mozilla Firefox). Read the rest of this entry »

    Sphere: Related Content

    Tags: , , , ,
    1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4 out of 5)
    Loading ... Loading ...

Blogroll Link Update