Category: PHP

Jul 14 2009

meredirect url dengan htaccess

<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / Redirect / RewriteRule (.*)$1 [L] </IfModule> explanation :

Jun 26 2009

Custom 404 page in codeigniter

Helo, I found this in the internet when I need to custom my 404 page . Because the default 404 page from codeigniter is so ‘default’ . When the application can not found the page requested, it handle by the Exceptions in the codeigniter , function show_404. You can find the file in the ‘./libraries/Exceptions.php’ [...]

Jun 24 2009

Difference between parsing variable and parsing reference

I found an interesting code when I’m coding.

what is difference between :

$_fx = &$a ;


$_fx = $a ;

The first one, we call it parsing reference, and the second one , is parsing value.

you can see the difference with this sample :

Mar 04 2009

Mengubah strange filename ke string

Ini gw dapet dari waktu gw nyari fungsi u/ mengubah character non alphanumeric ke ‘-’ . Berguna u/ merename filename yg aneh2 atau hal2 lain :

WordPress Themes