Category Archives: developer’s Guide

developer’s tools & references

pdf embed on html without using flash

Share I was looking for ways to embed pdf file on html without using flash. There are many ways of doing it, other suggested of using www.scribd.com but the prob is it would be hosted in their server. Then I … Continue reading

Posted in developer's Guide, html | Tagged , , , | Leave a comment

date() error in php 5.3

ShareAfter reinstalling my local machine and updating the php version to 5.3 I’m getting this error: Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the … Continue reading

More Galleries | Leave a comment

htdocs folders in vista not showing

ShareAfter reinstalling apache, php in vista I got trouble displaying my htdocs folders on browser. Some were there and some were not. I double checked my apache settings if I missed something but so far I did not. I compared … Continue reading

Posted in apache | Tagged , , | Leave a comment

mysql string replace

ShareYou can check the mysql function string_replace here http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_replace Ex: mysql> SELECT REPLACE(‘www.mysql.com‘, ‘w’, ‘Wo’); output:  ‘WoWoWo.mysql.com’ Or you can also do it on UPDATE statements like this UPDATE table SET table_field=REPLACE(table_field, search_string, replace_value_here)  

More Galleries | Leave a comment

TAR command

Sharecreate: tar -cvf mystuff.tar mystuff/ tar -czvf mystuff.tgz mystuff/ extracting: tar -xvf mystuff.tar tar -xzvf mystuff.tgz testing/viewing: tar -tvf mystuff.tar tar -tzvf mystuff.tgz Note that .tgz is the same thing as .tar.gz Tar “tars up” a bunch of files into … Continue reading

Posted in apache, linux, server, ssh | Tagged , , , | Leave a comment