Posts

Web addresses to speak all languages

Image
T he Internet Corporation for Assigned Names and Numbers, or Icann, has set the ball rolling for web addresses in scripts other than Latin. This will allow uniform resource locators, as web addresses are called in virtual parlance, in languages other than English, including Hindi, Tamil or Bhojpuri. About half of the world's 1.6 billion Internet users use languages based on scripts other than Latin and may cheer the move. India, which has 50 million Internet users, speaks hundreds of languages. Icann, the non-profit group that oversees domain names, is meeting representatives from all over the world this week in Seoul to decide on this change, which will be one of the biggest in the 40 years of Internet. If it is cleared, Icann will begin accepting applications for non-Latin domain names and the first entries into the system are expected in the middle of next year. Icann is also to decide whether it can give users freedom on global top-level domain names. "If this happens, ...

Create a wordpress widget

Image
This tutorial will explain how to create Wordpress widget from scratch. We will make widget using PHP5 OOP. You will also learn how to implement configuration page for your widget. Getting started You should already have Wordpress installed, either on your local machine or on a testing server. For this tutorial we will use the Wordpress version 2.7. You should also have a theme that support widgets. You could use the default one or make a wordpress theme from scratch and widgetize it. Widget name The first task in creating a Wordpress widget is to think about what the widget will do, and make a (hopefully unique) name for your widget. Check out Plugins and the other repositories it refers to, to verify that your name is unique; you might also do a Google search on your proposed name. The name can be multiple words. Widget files We will start by creating a folder widget-name in our wp-content/plugins/ directory, where Wordpress stores all it’s plugins. It’s a good idea to alwa...

Create Custom WordPress Theme

Image
In this tutorial, I will explain the basics of how WordPress theme works and show you how to convert a static HTML template into a theme. No PHP skill is required, but you need Photoshop and CSS skills to create your own design. 1. The Blog Frontend Before you start, let’s take a look at the WordPress default theme and see how it is structured. Take note of the elements (header, post title, search form, navigation, footer, etc.). Default Frontpage (index.php) Default Single (single.php) 2. Photoshop Mockups Based on the information gathered from the default theme, design a Photoshop mockup of your blog. Here I’m using GlossyBlue , one of my free WordPress themes , as an example. 3. HTML + CSS After the PSD design is done, create a static HTML+CSS template of each page. Why Create a Static HTML File First? Mainly because it will make the development process a lot easier. I usually create a HTML file for every template that I need, test it across all browsers, validate bo...

Sarvottom - The Best Open Source Web Development and BPO

Image

Fiat Chooses PHP and Zend to build and web-enable their Fiatlink system

Overview Fiat Group SpA is a diversified global company in business for over a century and is one of the top fifteen automobile manufacturers in the world, even larger than Daimler AG. Producing more than 85% of the automobiles that the Fiat Group manufactures and sells, the Fiat Group Automobiles SpA (FGA) subsidiary produces about 1.98 million automobiles/year. Over 42,000 Fiat users channel over $30 Billion (USD) in revenue (24 billion euros) through their PHP-based Fiatlink system which is now the primary access point for all of FGA's dealers and service centers to enter car orders and access information across the Fiat Auto enterprise. This is business-critical PHP. Improving sales performance and customer relations by exploiting back-end and point-of-use technology in the sales, service, and support processes they engage in was the goal for Fiat. Fiatlink addresses both sales and after sales that FGA processes, and currently handles 100% of the ordering and logistics and 6...

$10 PC from India soon

NEW DELHI, INDIA: In an effort to bridge the digital divide and to take knowledge to every Indian household, the Government of India is set to make available low-cost computers at US$ 10, within six months. Once this becomes a reality, it would help students get feed on every subject while sitting home. Based on the technology developed by IISC, Bangalore and IIT Madras, the Rs 500 computer will be a small equipment with expandable memory, LAN and Wi-Fi facilities. "But lot of testing has to be done to ensure that the technology works properly. Once the testing is over, the computers will be made available on commercial basis. The target is to make it available in six months time," Higher Education Secretary, Ministry of HRD, R P Agrawal said reporters on Thursday. The government is also planning to produce e-content on every subject which will be made available free of cost, said reports. A prototype computer has been designed which is being tested now. "Its cost will b...

Dual-Boot Linux and Windows 2000/Windows XP with GRUB HOWTO

This HOWTO applies if: * Your machine already has Windows installed, and you are installing Linux as a second operating system, and * You want to leave the Windows boot loader (NTLDR) on the MBR (Master Boot Record). This allows you to continue to boot Windows with no issues. I've heard that Windows 2000/Windows XP or anti-virus software may complain if the MBR does not contain the Windows boot loader You can use either GRUB or LILO to dual-boot Windows 2000/Windows XP and Linux. Both functionally work fine, but from what I've read, GRUB requires less maintenance, as LILO requires you to reinstall the boot loader (by running /sbin/lilo) every time you rebuild the kernel or make changes to /etc/lilo.conf. Requirements for /boot Partition The location of the /boot partition on the hard drive is critical so that you don't get screwed by the infamous BIOS 1024 cylinder limit. The BIOS of older systems can't access data beyond cylinder 1024, which is ~8.5 GB. A simpl...

Web Server Set Up - Dynamic or Static IP

Apache Web Server configuration for Redhat 7.3, 8.0 and 9.0 with Dynamic ip to router. This section is designed to detail the steps you may need to go through to setup a server on an ISP that only gives out a dynamic IP address. You will need to edit network configuration on your server by set it to statically and taking the ip number you've been assigned by your router (eg) - (192.168.0.2), subnet mask 255.255.255.0 and gateway 192.168.0.1, and use your isp nameservers ip's. The general approach is to use a dynamic ip address yet access your server via a domain name. This allows you and others to always reach your website from the outside even if the ip address changes regularly. Basically what needs to be done is to configure the apache configuration file httpd.conf for your dynamic IP. You could access you site via your current ip address but since you have a dynamic ip, it may change every few days, weeks or months and you would have to tell everybody every time it changes....

IBM working on making the web talk to you

'You will talk to the Web... and the Web will talk back,' predicts IBM in its latest list of innovations that "have the potential to change the way people work, live and play over the next five years". The IT giant, however, wants this web to work on cellphones rather than a personal computer (PC), since mobile devices dramatically outnumber PCs -- over 335 million cellphones versus below 30 million PCs in India alone. Moreover, IBM's Institute for Business Value predicts the number of mobile web users worldwide will reach one billion by 2011. The concept is gathering steam with a project named "Spoken Web" that is being led by IBM's India Research Laboratory (IRL) team, and also being incubated in IBM's eight global labs in six countries. In fact, the corporation recently completed a pilot in Andhra Pradesh to implement the concept. "The project was very successful. It started out with around 100 villagers but many hundreds joined later aft...

URL Masking (cloaking)

So you may have come across the term of cloaking URLs, this usually sounds evil and bad, like cloaked pages, which is something entirely different. Cloaking pages is presenting pages based on certain conditions, usually presenting a specific page to Google, for example. Doing this will get you banned and removed from Google's index. Not good. Cloaking URLs is a slightly different concept. It's showing a URL that usually points to something in your own domain. Once you click on the link you'll be redirected to the 'real' destination URL. For example a CJ link for eBay would look like this: http://rover.ebay.com/rover/1/711-1751-2978-328/1?aid=10366506&pid=123456 But to cloak it you would make it look like this: http://www.money-code.com/ebay For this example we'll use Apache's module called mod_rewrite. Almost all installs of Apache have this installed, but some may not, so you'll need to verify this. Also, this will need to be managed via a .htaccess...

URL Masking With Page Retrieval Software

This is software that retrieves a web page and then displays it in the browser. PHP or SSI (in conjunction with a CGI program) can be used. Other programming languages can be used, also, like ASP. With PHP, the program code is generally right in the web page source code. With SSI, the SSI tag calls an external program to fetch the web page. The code on the PHP/SSI web page retrieves the remote web page, inserts a base URL tag into the retrieved web page source code, then displays the contents of the retrieved web page. The URL in the browser's address bar does not change. You end up with the contents of a web page in the browser window that is located at a URL different than the URL in the browser's address bar. The web page originally loaded into the browser and the web page retrieved from elsewhere may be on different domains. There are no visual clues that the web page being displayed is not at the URL in the browser's address bar unless the web page being dis...

URL Masking With Apache rewrite

Rewriting URLs in a certain way with the .htaccess file can display web pages from a URL different than the URL in the browser's address bar. However, both the URL in the address bar and the web page being viewed must be located on the same domain as the .htaccess file. There are no visual clues that the web page being displayed is not at the URL in the browser's address bar unless the web page being displayed itself contains clues. There are many nuances to consider when writing URL redirect lines for the .htaccess file. Consider testing with an .htaccess file in an otherwise unused subdirectory before going live. Here is a simple directive that will rewrite all URLs for any documents in the /free directory so the /paid/index.html will display, instead. The URL in the browser's address bar will be the original URL to a document in the /free directory. Yet, web page /paid/index.html is being viewed. RewriteEngine On RewriteCond %{REQUEST_URI} ^/free($|/) RewriteR...

Current PHP trends

Image
Here are the PHP stats for October 2008. To learn about methodology, read la section phpversion. 35.1 millions servers hosted on 2.1 millions IP were surveyed during October, and 12.7 were used for stats : domaines without web sites, those unreachable, ISP, shared hosters or domain parkings were not considered. This map represents PHP market share for each country. Green countries are the one using most PHP, red countries the least and yellow countries are in the world average (32,84 %). The table below show the exact figures for each country. Some countries may no show on the map, and will require the larger map (click on the graphic). Some countries may not be represented at all. Bahamas (.bs) 96.23 % Cote d'Ivoire (.ci) 69.03 % Vanuatu (.vu) 68.40 % Tajikistan (.tj) 67.39 % Korea, Republic of (.kr) 64.67 % Ukraine (.ua) 62.65 % Georgia (.ge) 61.80 % Tokelau (.tk) 60.44 % Netherlands Antilles (.an) 58.06 % Indonesia (.id) 56.84 % Panama (.pa) 55.79 % Uzbekistan (.uz...