trick | andi setiawan's blog

Tag: trick

Sometimes you need to know what your external IP (internet protocol) address is. Whether just to know or a part of maintenance. Well, I need it sometimes to check whether I’m being blocked by any website or not. I made a list of how to check our external IP address, check it out! 1. Google […]


Posted in php, programming, Tips n Trik | Tagged , , | Leave a Comment on what is my ip? |

This tutorial will show you how to display your images (binary data) which has been saved in your mySQL database. It’s very very simple.. so.. simple…. (read also: Storing Images/Binary Files to mySQL in PHP) First of all we must connect to our database PHP Code: <?php $username = “”; $password = “”; $host = […]


Posted in programming, Tips n Trik | Tagged , , , , , | 2 Comments on Display Images from mySQL Binary Data |

how to store images, audio, or another binary files into mySQL database with PHP script. cara menyimpan gambar ke mysql dengan PHP.


Posted in programming, Tips n Trik | Tagged , , , , , | 6 Comments on Storing Images/Binary Files to mySQL in PHP |

.htaccess definition: Apache server software provides distributed (i.e., directory-level) configuration via Hypertext Access files. These .htaccess files enable the localized fine-tuning of Apache’s universal system-configuration directives, which are defined in Apache’s main configuration file. The localized .htaccess directives must operate from within a file named .htaccess. The user must have appropriate file permissions to access […]


Posted in .htaccess, Tips n Trik | Tagged , , , , | Leave a Comment on .htaccess Tricks: #1 – Definition |

How to save the resource in our project code? Should we repeat writing the same code in every page/file? We can save a lot of our time and resource by putting the same code or lines into a function or procedure. In some programming language, such as Pascal, Batch, C, PHP, etc., we can make […]


Posted in programming, Tips n Trik | Tagged , , , , , | Leave a Comment on write less do more |