Allow Div Layers to Float over Flash, Youtube or Vimeo Videos

For web designers, its always a constant struggle to get those flash, youtube, or vimeo videos tuck under divs where you need them. They somehow always behave like their z-index is close to infinity.

By default Flash content in a web page will appear on top of other elements on the page, including floating menus, inline popups etc. This can be pretty annoying if you have a flyout menu on your page and it goes behind the Flash video and this post shows how simple it is to fix. This works in all browsers inclding IE6+

Read the rest of this entry »

How to Install/Recompile MCRYPT in PHP (CentOS VPS)

I’m starting to develop sites with the Interspire Shopping Cart system, which I think is totally way better than Prestashop. I suggest people who want a better system than Prestashop to checkout the Interspire Shopping Cart, its worth every penny.

So I’m setting it up for our company in a VPS hosting, and it requires the PHP installation to be compiled with MCRYPT package. Specifically, this is needed for the manual credit card processing module. And it seems that the Godaddy VPS support is NOT willing to support (ironic) so I had to deal with the challenge myself. I found this instructions from NotesBit.com on how to recompile PHP with MCRYPT support. Here are the steps I followed – it was actually easier than I thought:

Read the rest of this entry »

Thanks

thanks

I’ve been in the Internet industry for almost 4 years now. I’ve worked as a C & PHP programmer, a web designer, flash animator, web master, SEO guy, and occasionally as a card invitation maker. But the thing I love the most is my current work, which is basically a web developer for a foreign country. They have given me the opportunity to do the things I enjoy doing! It’s almost I’m not working – I love my work!

Read the rest of this entry »

Logos Showcase

I just wanted to share some of the logos I’ve done for my clients. I’m still learning everyday about the tricks of my trade so don’t expect too much fancy stuff with my logo works.

Read the rest of this entry »

Working From Home? But…

I don’t know if others can relate, but some people (like family members, perhaps) have “stereotyped” college grads to be just for corporate or office work. That’s what I feel too. Sometimes my parents ask why I won’t try opportunities outside from companies in the metro, or offer me job vacancies where I can apply. I understand that they want me to have a stable job with all the benefits and stuff, but I’ve made a lot of considerations too why I choose to work from home in front of my own computer.

Read the rest of this entry »

How To Repair Corrupted MySQL Tables in Linux

I had this problem for days and can’t find a solution. What I had was .frm, .MYD and .MYI backup files from a previous MySQL installation. My task was to restore these files to the newly reformatted dedicated server. I searched all over the net to find the solution, and here’s what I did (commands are in italics):

  1. Make sure you log in as root.
  2. All the files were in a tarball file: “admin_backup.tar.gz”, so I extracted everything to a directory. tar -xvf admin_backup.tar.gz
  3. Now all the .frm, .MYD and .MYI files are extracted. I placed all the files in the MySQL database folder located at /var/lib/mysql/admin_mike.
  4. I immediately logged into phpMyAdmin and tried to access the tables, but unfortunately it says that “Can’t find file: ‘./admin_mike/sometable.frm’”. What I had to do was check the ownership of the files. ls -la /var/lib/mysql/admin_mike/*
  5. The files should have the ownership like “drwx—— 2 mysql mysql sometable.frm” if not, chown all the backup files. chown mysql:mysql *
  6. I tried to access the tables now in phpMyAdmin, and now they are all accessible!

I thought I’d share this so that others would also fix their own corrupted mysql table. :)

MS Visual Web Developer 2008

Inaaral ko ang Visual Web Developer 2008 sa ngayon. Wala pa talaga akong experience in coding ASP, much more ASP.net. Sana lang makaya ko ang deadline ng boss ko hanggang sa Friday. Medyo mahirap din pala aralin ang isang programming language na hindi ko nakasanayan. Madalas kasi C and PHP lang ang kino-code ko. Ngayon, .NET na bigla…

Sana matapos ko ang website hanggang Friday. Wish me luck!

Kung meron kayong alam na magandang resources or tutorials about ASP.NET, pa-share naman jan, hehe..