Posted by mcloide on May 13, 2009
Every year Source Forge calls the community to vote on the best projects of 2009 in a bunch of categories.
I have one project hosted with Source Forge and I have decided to nominate in the category of Tool or Utility for Developers.
The project is the PHP5 Authorize.net Class which many of you already know and, like in every award, the project need your help to win.
So, if you want to help, I just need you to follow the robot bellow (click):

http://mcloide.wordpress.com/2009/04/01/authorizenet-php5-class-update/
Posted in cool | Tagged: api, authorize.net, nominate, please, source forge, vote | Leave a Comment »
Posted by mcloide on March 5, 2009
Using a Captcha Library for PHP isn’t something new, but there are some that works great and one of my favorites is the reCaptcha. reCaptcha got an easy to integrate code, it’s own API and it is free.
Check out this resource: reCaptcha Link
Posted in PHP, development, resources | Tagged: api, captcha, PHP, recaptcha | Leave a Comment »
Posted by mcloide on August 22, 2008
Consider that you have a profile page, tabbed, and in one of the tabs you have a Google Map with the pinpoint of the user. When the page loads, it will load the map aplication, but the map div will not be visible at that point.

When you hit the map tab, you will see the map loaded, but, with some areas missing or acting really weird.

What is happening is when the tab loads, the map is not fully loaded and the main document finishs to load before the map loads, so, it understands that the map area is smaller than really is and shows it like that, funny.
How to fix it? Simplier than you think. If you search around you are going to find some stuff like map force redraw, but there’s a simplier way to do it.
Add a setTimeout to load the map.
Here’s the whole process. Remove the onLoad=”loadThis()” from the body and inside the map tab, just after the map div, put the a javascript like this: setTimeout(‘loadThis()’,1000);
That’s all you need and your map will have more than enought time to load all info and display correctly.
Have fun.
Posted in Ajax, Google Maps, Javascript, development | Tagged: api, bug, Google Maps, images display, Javascript, map display, setTimeout, tile display | 7 Comments »