Warning: strpos() [function.strpos]: needle is not a string or an integer in /home/fsimzo2/public_html/akzah/blog/index.php on line 33
Akbar Sherwani - Developer Blog
Sunday, December 18, 2011, 12:06 AM
Been a while since I updated the blog. Still alive :)

Since my last update I have created two websites, one for my friends


The site sells Ice Hoses for Shisha pipes, take a look if your interested in Shishas.

The other site was developed for a Charity


The charity does a great deal of work in South London and was an interesting experience in creating the site. The technical aspect was the easy part, being able to create a php site which they could change the content and add new posts without html know how.

The complicated part was the interaction with the charity, gaining requirements and passing over the technical know how. The site has boosted the charities awareness and were very pleased with the result.

[ 12 comments ] ( 123 views )   |  permalink  |   ( 3 / 1859 )
Regular Expressions
Sunday, March 28, 2010, 03:53 PM
Haven't done regular expressions since University and even back then they gave me nightmares.

Had to use regular expressions in PHP to add a css class to doucument with <a href> tags.

After an hour of playing around finally got it to work

$data = preg_replace("/\<a href=\"(.*?)\"\>/",
"<a href=\"\\1\" class=\"greenlink\">",$data);

Not too bad once you know what to do.

[ 244 comments ] ( 54272 views )   |  permalink  |   ( 3 / 42321 )
Server New Build
Friday, December 18, 2009, 04:44 PM
The server in my room is now ready for its long awaited upgrade.

The box is going to run Windows 7, requirements were to be able to run ANRB 24/7 and for it to be quieter than 32dba.

ASUS V4-M3N8200 Barebone for AM2 with HDMI Output
AMD Athlon II X2 235e 2.7GHz Socket AM3 2MB Cache Energy Effifient
Crucial 2GB DDR2 800MHz/PC2-6400 Memory Non-ECC Unbuffered CL6
Sony AD-5240S 24x DVD±RW DL Internal SATA Black Bare Drive
Western Digital WD5000AAKS 500GB SATAII 7200RPM 16MB Cache
Xilence Quad Core Socket AM2 754 939 940 CPU Cooler
Xilence Red Wing 80mm Quiet Fan - 3&4pin connection

Parts have been ordered. Will be intresting to see how it all comes together (if it does).

[ 221 comments ] ( 2018 views )   |  permalink  |   ( 3 / 41731 )
GPS Inflight
Thursday, November 12, 2009, 04:50 PM
I have been trying to use my GPS on my phone to track some of my flights. I assume it would work without any issue. However on each occasion it would track fine on the ground, departure and then cut out untill the approach.

Confused I came across the quote below:

The biggest headache for GPS systems is the time it takes for the signal to get from the satellite to your receiver. The 6 satellites you get signals from will all be at different distances from you and are rotating the earth at high speed. So the signals your GPS receiver gets will not automatically be time synchronized. Because of this problem, the military has limited civilian GPS units so they don't work if they are moving faster than 900 knots or above 60,000 feet in altitude. But most non-aviation GPS units will give error messages if you are moving faster than 90 miles per hour. Clearly, if you are standing still, a GPS will be a lot more accurate.

This seems to make sense, as pretty soon after departure the speed would be around 90kts (104 mph).

Intresting, I wonder whether I can get around this or get the error plots?

[ 545 comments ] ( 125818 views )   |  permalink  |   ( 3 / 41806 )
Review Wedding
Sunday, October 5, 2008, 05:06 PM
I have created a new website called Review-wedding.com

Aimed at reviews for locations for weddings at first and then hoping to expand if its popular.

Review Wedding

[ 1552 comments ] ( 3112 views )   |  permalink  |   ( 3 / 37938 )