Sunday, July 27, 2008

Activate Curl in XAMPP 1.6.7

I've been playing around with this 'new' (no I think it's old...Well I have to admit that I am late on this) XAMPP. It's been 1.6.7. I have installed it and replaced the 'old' one (mine is old). Guess what? I LOVVEEE IT! It works just fine indeed. I have no problem on installing it and working on it.

I have to take note though, sometimes Apache server can't be restarted, and you have to turn it off, uninstalled the service, install the service once again, and run it again.
The other problem is, not all extension is activated by default. You have to turn it on yourself. If someone hasn't got the PHP thing...I can't imagine how he get away with this. Well, you can't google it though, as usual.

I faced this problem yesterday, I think the Curl hadn't been activated, because it came with error 'curl_init' error.

For those of you who don't have the skills and need quick fix, this may help you:
1. Find out where php.ini is located. This can easily identified by looking at (http://localhost). Click phpinfo() and see where php.ini is.



2. Use notepad or your favorite text editor and edit those php.ini, delete the ; before extension. It's much easy to find with keyword 'curl' first.



3. Restart the apache in XAMPP control panel. Viola! Just 3 simple steps.

Thursday, July 24, 2008

XAMPP is a (Hard) Web Programming Suite

I don't really know what is happening with this darn combination. At first, it is a killer combination between MySQL, Apache, phpMyAdmin, FileZilla. A complete set. Installation is just as easy as clicking next and finish. You can download it for free at www.apachefriends.org

A first encounter is the MySQL problems. Unfortunately...No administration panel, have to shell it out to do some administration jobs. What's more, setting phpMyAdmin is still manual. Apache has no problem (well, not known) because it successfully load http://localhost.

Still, it is a good combination...but setting it and run it? It's another story. I would not recommend this to newbie or web programmer who has just started. That is if you don't want to throw your keyboard out of the window. Nah, I'm just kidding :D

Tuesday, July 22, 2008

Smarty ain't Smart Enough

In case you don't know, I am talking about programming. Smarty is a PHP template used to separate logic and layout so 'hopefully' programmers don't have to worry about design, and designers don't have to worry about coding.

The Need for Speed

Well, after downloading Smarty and installing it 'offline' I am starting to figure out what this thing do. It said it is faster than else...Yeah right. To be honest, I don't know if it is faster than pure coding or not since I haven't tried it yet. Maybe it is in fact fast, because it caches files into templates_c which is the directory for cache files.

Can You Separate Oil and Water?

In this case, not yet. It is true that Smarty can help to separate templates and php files, but not coding intirely. You can see that Smarty has {if}, {foreach}, etc. Complete separation? I don't think so. Maybe not yet. Maybe you can separate oil from water with a soap. Or maybe not.

Damn Header Already Sent Error

The first thing I notice when running Smarty online is the annoying error 'header already sent'. Fortunately it is easily fix by adding .htaccess on your web root to activate output buffering.

Well that's for now. I'll report more later on. Thanks for reading.

Monday, July 21, 2008

Sofware Hunters

If you are looking for a software for work, fun, or anything that you want to do, you will definitely looking to download.com. As it names suggest, they allow you to download any software from different mirror servers, which is great. I have never seen the time when their server was down. A completely professional and regularly maintained. Unfortunately, their site is not updated very often.

Updates

Unlike others, I've seen many software sites that updates very quickly, like soft32.com or software.funponsel.com. I've seen these sites are updated hourly. These sites are great resources for new and updated softwares.

These are three checks for downloading softwares:
1. Check for publisher description. You might want to know what the publisher offer.
2. Check the site reviews and description. This might give you a vision what the software can do. So make sure you read these before you download. You don't want to regret it, right?
3. Check for price, and features before you buy. Downloading is free, so nothing to worry, but buying is another thing.

Wednesday, July 16, 2008

Blackout Strikes Again

Just as I though things couldn't get worse, the Electric Company has a very smart idea...

One way blackouts.

Yeah, sure. That would be a great act - in a million future years. Hate those, and never been worse since then. Maybe because I work and live depend on electricity, even in my sleep! I leave a fan turned on when I sleep, cause it is damn hot in here at night.

I can't imagine how I would live without electricity.

Maybe I will become a farmer as it won't require electricity to work. Or maybe I should try to live in the jungle. In case you didn't notice, I am expressing my feeling here towards the Electric Company. Negative ones.

I am sure you've heard it before. Well, maybe many times. Here it goes again.

Just a Hopeless Sheep

Despite their bad ass quality, I don't have any choice. They monopolize the market, so I have to get along with them if I don't want to leave in the jungle living with monkeys (hey, that actually sounds like a great idea! you won't have to socialize with those hard to handle people.

Talk is free, so pardon me for the harsh words and complaining (hey I am just a human, I don't operate on batteries).

Saturday, July 12, 2008

Stupid People Struggling for Money

Do you know how much people spend every single day?

Not that extraordinary number perhaps, but have you notice the pattern you are creating as we speak?

People are stupid

Yet, we claim to be the smartest creature in the world. But when handling with money, where are those brain power we desperately need went?

We spend and spend, and not being responsible of our actions. We take loan to satisfy our buying ego. We like to buy, but hate being bought. We helpless against money.

So are we stupid or what?

Sometimes I think our own creativity is killing ourselves. Why is that? Imagine what you want and desire when you have a chance to live in a jungle? Not much, maybe just some food to start with, or clothes to wear on. So what happens when you live in a big glamorous city? Exactly. Different things, not just the basic needs, or even we step it aside for something else which we feel more important.

Do you want iPod? Have you eaten yet?

I am not saying that you should not have iPod or expensive car? I am just expressing my opinion, that people many times can be quite irrational, so the next time you see your neighbor buy plasma TV, think again. Should you buy it too, because it is cool, or should you pay your bills and save the rest?

Tuesday, June 10, 2008

Kite Goes Online

I remember when I was a child...Playing kite, running around like there's no tomorrow. It's fun, don't you think?

It's now getting easier and easier these days to get one of those kites. Hell, it's even going online!

Ahoed DC is one guy who successfully putting the toy into the web. His kites sell now in worldwide. I bet he is making lot of money out of that.

SEO in Indonesia

Search Engine Optimization (SEO) are gaining popularity in Indonesia. There are numerous ways making money using SEO.

The wide most popular is using Google Adsense. Not only for Adword campaign, but also used for gaining small but sure amount of money.

I too, on the other hand, are interested in how it works. It basicaly marketing, but designated for internet user. It is called "Internet Marketing".

Sunday, June 8, 2008

Article Writing Stress

I've been working on this matter over and over, but it seems that I'm going to need help fast!

I know it must be handled carefully, as I'm going to write some articles about anything to kills time and hopefully brings money into my pocket.

Hopefully.

Sunday, June 1, 2008

Go