Ubudiah MosqueSunrise at MiriOld rusty stairsLong boat

Jalan2 di Temasik

Posted by fairul on December 9, 2009 - 3:37 pm

Dah lama aku tak pegi Singapore. Last sekali masa tahun 1997 dulu. Tp tak jln sgt, hanya pegi airport Changi je. Kali ni aku pegi Singapore utk Standard Chartered Singapore Marathon 2009.

Pegi sana naik keretapi Senandung Malam, RM92 pegi balik, koc yg ada katil bleh tido. Murah lah. Di sana, kami menginap di rumah cousin di Pasir Ris. Thanks Abg Mat & family for your hospitality.

Kemeriahan suasana Krismas di Orchard Rd

Kemeriahan suasana Krismas di Orchard Rd

Lampu2 jalan di Orchard Rd

Lampu2 jalan di Orchard Rd

Di apartmen Pasir Ris, bersih & teratur

Di apartmen Pasir Ris, bersih & teratur

Apartment di Pasir Ris

Apartment di Pasir Ris

Bergambar di SCSM 41km route marker

Bergambar di SCSM 41km route marker

Singapore F1 track

Singapore F1 track

Singapore Flyer

Singapore Flyer

Platform utk naik ke Singapore Flyer

Platform utk naik ke Singapore Flyer

F1 pit building & starting grid

F1 pit building & starting grid

Pandangan trek F1 dari atas

Pandangan trek F1 dari atas

Di puncak tertinggi

Di puncak tertinggi

Singapore DNA under construction, lebih kurang mcm London DNA

Singapore DNA under construction, lebih kurang mcm London DNA

Melawat Javier & Darianna di Redhill

Melawat Javier & Darianna di Redhill

Seronok jln2 ke Singapore. Semuanya teratur, trafik, public transport. MRT bagus. Nnti aku nak pegi lagi lepak2, balik hari pon ok.

Jalan-jalan ke JB

Posted by fairul on November 26, 2009 - 12:05 pm
Pekan asal JB, penuh warna-warni

Pekan asal JB, penuh warna-warni

Ahad lepas (22/11/09) aku bersama 2 org member aku Raja & Dell(laki bini) turun ke JB bersempena dgn BERNAMA Treasure Hunt 2009. Dlm treasure hunt tu, Alhamdulillah kami menang no. 3.

Lepas checkout dari hotel Mercure di Senai, kami terus gerak ke bandaraya Johor Bahru (JB). Jln-jln ambil gambar & makan. Raja jadi driver & tour guide.

Kami singgah di pekan asal JB. Di sini terdpt bangunan2 kedai lama yg amat cantik utk diambil gambar.

Ini lah masanya photographers nak posing.. hahaha.. Enjoyy

DSC_8252

Jln Tan Hiok Nee

We are a bunch of photographers

We are a bunch of photographers

Kupon parking, RM8.00

Kupon parking, RM8.00

Untuk gambar2 lain, klik di sini: http://foto.fairul.org/v/travel/jb2009/

Display PHP errors when display_errors is Disabled

Posted by fairul on October 12, 2009 - 11:02 am

There are some servers where the webmasters or server admin wants to make the server more secure, they will disable the display_errors on the PHP settings.

The php.ini will look like this:

; - display_errors = Off           [Security]
;     With this directive set to off, errors that occur during the execution of
;     scripts will no longer be displayed as a part of the script output, and thus,
;     will no longer be exposed to remote users.  With some errors, the error message
;     content may expose information about your script, web server, or database
;     server that may be exploitable for hacking.  Production sites should have this
;     directive set to off.
Print out errors (as a part of the output).  For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below).  Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On

During apps development, u will need to display the errors in order for u to debug the code easily, so u can track what’s the error was.

Add below code on top of your PHP code:

ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');  // this is optional
error_reporting(E_ALL);

Happy coding with PHP.

Which Lens for Portrait Photography?

Posted by fairul on October 7, 2009 - 11:23 am

I found this to be a great tips on choosing lens for portrait photography.


Portrait Photography Tips

From this video, it says that long lens is better. Why? Below are the reasons.

  • Narrow angle of view
  • Less distortion
  • Subject more comfortable
  • Compose shots easily

Young Endurance Athlete 2009

Posted by fairul on October 6, 2009 - 3:15 pm

yea2009

The Young Endurance Athlete 2009 will be held in Putrajaya on the 17th and 18th October 2009.

Details are below:

Date: 17 & 18 October 2009
Venue : Kolam Renang Awam, Precinct 6, Putrajaya.

Tentative

17/10 – Triathlon Clinic (7.30am – 2.30pm)
18/10 – Race Day (7.00am – 12.00pm)

Age Categories

Boy
A : 7-9 yrs
B : 10-12 yrs
C : 13-15 yrs

Girl
A : 7-9 yrs
B : 10-12 yrs
C : 13-15 yrs

Closing Date: 7th October 2009

For more info, call:

Amir at 012-219 5552 or email at ybicycle [ at ] yahoo.com

Mejar Kalam at 019-271 2569 or email at kalampie [ at ] gmail.com

Julie at 017-332 3451 or email at missjewelz [ at ] gmail.com

Selamat Menyambut Ramadhan Al-Mubaraq

Posted by fairul on August 22, 2009 - 12:12 pm

Dgn kesempatan ini, aku ingin mengucapkan Selamat menyambut Ramadhan Al-Mubaraq. Semoga puasa tahun ini lebih berkat & dipenuhi dgn amal-amal ibadah. Maaf zahir & batin.

p/s: bulan posa ni training tetap jalan. Nite training.

Lama tak mengarut ni

Posted by fairul on August 20, 2009 - 2:29 pm

Hullaaaa…

Nampaknya lama betul aku tak mengarut kat blog aku ni. Byk perkara yg berlaku dlm hidupan harian aku lately ni. Nak kata busy, mmg busy jugak. Tapi aku ada masa utk surfing internet. Tp takde pon nak update blog aku ni. Maybe i’m not in teh f**king mood.

Sambil2 layan youtube, aku jumpa VC antara yg paling cool dan aku minat. Kita layan Nickelback – Rockstar

Adidas KOTR Race Kit

Posted by fairul on July 29, 2009 - 10:47 am
Cantik plak no bib aku kali ni.. hehehe

Cantik plak no bib aku kali ni.. hehehe

Semalam (28/07/2009) aku pegi Stadium Shah Alam utk collect Adidas King of the Road(KOTR) 2009 race kit. Kaunter buka pukul 1pm. Aku sampai 12.50pm, org dah beratur panjang. Aiseh, lama lah aku kat sini, lunch hour sejam jer plak tu. Lantak lah, boss takde. Dlm race kit ada vest Adidas KOTR, race bibs & adidas brochure.

Stadium Shah Alam

Stadium Shah Alam

Sampai2 jer dah ramai org beratur

Sampai2 jer dah ramai org beratur

Vest2 digantung utk memudahkan pemilihan saiz

Vest2 digantung utk memudahkan pemilihan saiz

6 kaunter disediakan

6 kaunter disediakan

Aku ni citer jer lebih, mcm ler aku pegi lari KOTR nanti. Huhuhuh…