Hi and welcome!
Contents you may find on this site are merely direct literal translation of ideas coming from my head.
Have fun reading!
I am Carmencito Berdon, a born electronics and computer hobbyist.
I love doing web applications.
For your web development service need, you can directly contact me by sending a message from this page.
The control which designers know in the print medium, and often desire in the web medium, is simply a function of the limitation of the printed page. We should embrace the fact that the web doesn’t have the same constraints, and design for this flexibility. But first, we must “accept the ebb and flow of things.”
John Allsopp, “A Dao of Web Design”
Listen to my personal music station: Listen here
Please excuse all old contents on this site and the mobile incompatible layout issue. I'll post more articles which may be useful to developers like me as soon as my new site is launched.
As CodeIgniter user myself, it is often part of my every CI-Based projects to have set base_url dynamically:
if(isset($_SERVER['HTTP_HOST']))
{
$config['base_url'] = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ? 'https' : 'http';
$config['base_url'] .= '://'. $_SERVER['HTTP_HOST'];
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']);
}
else
{
$config['base_url'] = 'http://localhost/';
}