Showing posts with label OpenSource. Show all posts
Showing posts with label OpenSource. Show all posts

Thursday, February 27, 2014

Get image details using PHP


Syntax

list($width, $height, $type, $attr) = getimagesize("image_name.jpg");

Code

This is a sample code, change image_name to your image name and test it!

list($width, $height, $type, $attr) = getimagesize("image_name.jpg");

echo "Image width " .$width;
echo "
";
echo "Image height " .$height;
echo "
";
echo "Image type " .$type;
echo "
";
echo "Attribute " .$attr;

?>
Simple rite :)

Tuesday, January 8, 2013

Wrong 'Loaded Configuration File' path on phpinfo

That's killing me!

My phpinfo(Loaded Configuration File still pointing to my other php. I have 3 different servers in my machine. WAMP Apache, IIS and hardened Apache. 

Solution? :D

Just add this at Apache configuration : httpdconf, and walla! Happy happy.. :D . Or you can read more here


AddType application/x-httpd-php .php
PHPIniDir "C:/Program Files/PHP5"

Wednesday, August 11, 2010

Google Font directory

Font is a complete character set of a single size and style of a particular typeface, and is very important in designing. Well, i love fonts, playing with it, arranging it and yea, using it. Font portrays emotion..





This is awesome! We can browse all fonts available via Google Font API. Most important they are under open source license !

Tuesday, March 17, 2009

Operating System?

Well finally i actually keep a journal about my working thingy, where i place all the thing that i need to refer in my everyday task. Its indeed saving lots of my time to google it all over again, or search the bookmark that i always forget what i named it :)..

Always and forever :)...When i giving a technical presentation about our system, usually people will ALWAYS ask what is LINUX (since our System is using LINUX), why use LINUX, whats the different of using LINUX instead of Window?

And worst, when i started to say 'our OS platform is using LINUX'...There will be an interruption..'What is OS?'...

Yea, people comes from different background, where our knowledge is more to certain field. I did not expect everyone to know what is OS, or what is LINUX or even what is Cat5 cable..Cuz for me it might be my everyday 'meal' but for those in different field, it might sound weird..Same like when doctors or farmer, use a term that i never heard before, i will give the same reaction like them ..:)

Check out on explanation on what is Operating system and the benefit of Linux here :)

Sunday, March 15, 2009

Dealing with Recession - Saving Money With...

Recession, yeah who love it..None..

As an opensource lover, Linux admirer, and DigitalSignage devotee, i found this quite-long-but-cute :) article really actually list down all the freeware software we should take advantage with..

My favorite words: 'Why need to pay when we can get free and even better software..?' :)

Check it out guys..

Dealing with Recession - Saving Money With...

Saturday, March 7, 2009

Remote Control...Remote Access





Get Paid to Write!
Write your opinion, earn
money. Min $6 up to $60

http://www.smorty.com

Blog Advertising - Get Paid to Blog


I was struggling doing my company website for the past 2 months. It really takes a lot of my time as i am the only one developing it, with more than a dozen to critics! Huh, luckily i got my designer to design it, and i was just do the coding and all..

It took me so long to finish even 1 page, as i am not doing the website development alone. Its like a ‘part time ’ task, yet has strict due. .When i was just about to start doing it in the office, millions of other things will suddenly being threw on my desk, with a note: URGENT or HIGH PRIORITY. Or 2 minutes notice on meeting a client. It really makes things really hard to complete as i had scheduled.

As me and the designer have limited time to discuss and meet, all our task usually will be put in our server. But i can only start doing my website when i am at home. And as the designer is actually doing his master degree, he usually go back early for a class a few days a week. So in summary we always have to work separately.

Finally i install TeamViewer in my server, as well as both me and the designer laptop, so we can work anywhere anytime, yet still can access our office server. And of course it does really make my life easier. I don’t have to download or save everything into my laptop anymore.

TeamViewer is an open source software to establishes connections to any PC or server all around the world within just a few seconds. You can remote control your partner's PC as if you were sitting right in front of it.
Well its a great freeware software to take control on other PC. We can browse everything inside the PC,or view on what the other person is viewing on his/her PC as long as we already install it to that PC, and get the ID for it, and we just connect using that ID.

In my other project, i use OpenVPN to remote viewing all my projects and server, even each screen. But its quite complicated thingy, as it need to generate certificate, and setting up the ip and all. Its more secure for a big project, yet too complicated for just basic use.


Me monitoring what's being displayed at our digital signage network in Pyramid with VPN


Well ladies, want to know what’s your boyfriend\husband up to late at night in front of his PC? Try TeamViewer, you will ‘understand’ him more! Hahaha...
Related Posts with Thumbnails