Archive for the ‘HTML’ Category

IE8 – HTML Parsing Error: Unable to modify the parent container element before the child element is closed

Thursday, December 1st, 2011

I am running Windows XP Professional SP3 and I am getting this error in IE8 when attempting to enter certain web site. Error details:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Fri, 25 Nov 2011 17:02:37 UTC

Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://www.ilmuit.com/review/597

Solution for User

After doing some research, I found that it is an IE8 bug. So, I managed to download and install the
Cumulative Security update for Internet Explorer KB2360131 to resolve this issue.

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27630 (Windows XP) or
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27622 (Windows Vista)

Solution for Web Developer

If you are web developer, you can’t expect your visitor to be willing to install the update. If you found that error was being caused by some 3rd party JavaScript, although your site is displaying fine in Firefox, Chrome and Opera, your visitors still getting the error message in IE8.

Here is what I did, rather then removing the whole JavaScript, I used the conditional comments on the script so that the code will NOT be executed by Internet Explorer:

<![if !IE]>
<script type=”text/javascript” src=”http://www.domain.com/javascript.js”></script>
<![endif]>


Zainal

Microsoft Socl.com Social Network

Friday, November 18th, 2011

Rumors has started around about the launching of a new social network website from Microsoft called Socl.com. Microsoft Research is developing a social network at Socl.com, according to The Verge. It is a combination of social, search and collaboration and had a similar design as Google+ and Facebook. The domain name Socl.com became public and later removed by Microsoft.

Here is a screen shot of the Socl before it was taken down:


Zainal

The Popularity of PHP Web Hosting Explained

Thursday, November 17th, 2011



What is PHP?
PHP is short form of Hypertext Preprocessor, which is a widely used, server-side web programming language that was originally designed for web development to produce dynamic web pages.

Advantages of PHP
PHP gained a lot of popularity for more than a decade because there are many benefits to go with PHP scripting language.

Firstly, the main advantage of PHP is the ability to interact with MySQL database. MySQL is popular for web applications like Wikipedia and PHP-Nuke and acts as the database component of LAMP (Linux, Apache, MySQL and PHP) system. PHP is able to interface with it very well. MySQL is used with PHP as back-end tool. Therefore, PHP and MySQL are fantabulous choice for webmasters who are going to automate their web sites.

Secondly, PHP is open source and similarly to most open source software, it is free for both personal and commercial use. In addition to the nature of free of charge, as PHP is a open source language and there are a huge community of open source applications work on it to fix up bugs and other issues. And therefore, when talking about the issue of security, it is much safe when compares with other language. And also various security levels which can be set in the.ini file to defend the system from attacks of users.

Thirdly, PHP is easy to use and runs really fast. Even though you are an inexperienced web developer, you can learn the basics of PHP development and start your development in a very short period of time. PHP is very simple. Even HTML coders can integrate PHP programming straight into their pages. Also, if you are an experienced programmer, you can utilize some of the more advanced features of PHP to maximum your potential. When developing a website, it is really necessary to make sure that visitors will be able to load your website as quickly as possible. With PHP programming, your website will load quickly because there is Apache module normally written in C.

What is PHP web hosting?
As the name suggested, PHP web hosting refers to a type of web hosting service that provide support for PHP programming language. Since there are so many benefits of using PHP programming language, to make sure that you will be allowed to use PHP on your website, you will need to make sure that your web hosting company will offer its customer with the popular feature. Most of the best web hosting companies offer PHP hosting solution as there is a lot of demand for it. When registering a hosting service, it is also necessary to make sure that you will be provided with the latest version of the PHP script. Because with the rapid growth and development, newer version has regularly appearing and each time a new version comes, there might security loophole if you are still using the outdated version.

PHP Web Hosting Cheap and Affordable
When search over the internet for web hosting services, you will find that PHP hosting is much more affordable compared with other type of web hosting solution. The main reason is because PHP, as an open source language, is free. And it usually comes along with the popular database, MySQL, which is also free. Since these technologies are available for the provider to get for free so they will of course lower the hosting fees to their customers.

How to Find Ideal PHP Web Hosting
When you are going to find an ideal PHP web hosting service to build your website for your small business then you need to know the three basic things of web hosting: First, ensure that the service has enough bandwidth to meet your website requirement. Second, there should be enough disk space available for not just your current needs, but also your future development. And third the hosting package should also provide you with sufficient databases for your web site requirements.

Easy PHP Programming

How to create pages on Google+ Plus

Wednesday, November 16th, 2011

Google has released Google+ pages recently to allow people to create their own pages for brand or business. Creating a Google+ pages, also known as a Google+ brand page or Google+ fan page, is probably one of the best things you can do to boost your brand, small business, website, or campaign on Google+.

On this post, I will show you how to create your own Google+ pages. The process is pretty straightforward. Just follow these steps to create your own page:

1 ) First login to your Google+ account

2 ) Go to Create a Google+ page

3 ) Choose a category for your page.

4 ) Type out the “Name” and “URL Link” of your page. Choose the appropriate sub-category and set the privacy setting for your page. Check the box that says: “I agree to the Pages terms and I am authorized to create this page“.

5 ) Click the Create button.

6 ) On next page, enter the Tagline field with description to describe your page best. This description will help people to find your page on Google+. Next, click on Change profile photo button to upload a picture or logo of your brand.

7 ) Click on the Continue button.

8 ) On the next page click share on Google+ to share on your Google+ wall. Tell your circles about your newly created page.

9 ) Click on the Finish button to complete the setup wizard. You will be taken to a page which allow you to start a conversation, share a photos, videos, links and other content.

10 ) All done!

More information about Pages can be found on Google’s model page here.


Zainal

Nmap – Missing MSVCR100.dll

Friday, November 11th, 2011

I tried to run the nmap application on Windows and I get the error “MSVCR100.dll not found”.

This application has failed to start because MSVCR100.dll was not found. Re-installing the application may fix this problem.

Here is the screen shot:

What is MSVCR100.dll file?
MSVCR100.dll is the Microsoft Visual C++ Redistributable DLL file that provides programs compiled with Visual C++ a typical set of library functions required by C and C++ programs.

If you try to run a C++ program developed in Visual Studio 2010, this file is probably needed.

How to fix the missing MSVCR100.dll file?
It was actually really easy to fix this. Here is what I did. I Download and install Visual Studio 2010 c++ redistributable. That worked for most people. I don’t recommend you to download a single MSVCR100.dll file from the “DLL download website” to fix the problem. Downloading separate dll can be very dangerous and there is a great chance that you will end up with a virus.

If you need a copy of msvcrt.dll, it’s best to obtain it from its original, legitimate source:

Download from here:

http://www.microsoft.com/download/en/details.aspx?id=5555 (x86) or
http://www.microsoft.com/download/en/details.aspx?id=14632 (x64)


Zainal

How to Cancel A Tagged Account

Tuesday, November 8th, 2011

Tagged is one of the largest social networking sites on the internet. You can browse the profiles of other members, play games, and share tags and virtual gifts.

If you are a Tagged user but are not getting any fun out of it for some reason, then you may decide to cancel your Tagged account. Here is how you can cancel your Tagged account . To cancel all your Tagged account, follow the directions below:

First, log into your Tagged account:

1) Go to the Tagged Account Login Page

Log in using your account username and password

2) Once you have logged in to your account, Select Account -> Settings from the top-right corner on the Tagged site menu as shown.

3) Scroll down at the bottom of this Settings page. You would find a category Cancel Account. Click on the link labeled You may cancel your Tagged account at any time.

4) You would receive a warning saying that if you cancel your account, you would permanently lose your entire profile, uploaded photos and all your friends on Tagged.

If you are sure to continue, click on the link labeled Yes, I want to cancel my Tagged account as shown.

5) You will be asked to enter your password. Enter your current password.

6) Click on the Cancel Account button

* Once you click the Cancel button, your Tagged account will immediately remove from the Tagged and you no longer will able to login to Tagged using your username and password. All your profile information from any public view on Tagged will also be removed including your name, age, location, and photos.


Zainal

PHP Beginner – Create a Random Text Generator

Monday, November 7th, 2011



Overview:

When creating a website, it is often necessary to display dynamic text on the page. This text will change every time the page is loaded.

To create this solution, a database could be used. There is however another solution, it uses PHP’s built in rand() function and an array().

PHP Functions

PHP has hundreds of functions to make programming easier and more efficient. A PHP function is a built in piece of code that when called, performs a specific ‘function’, or routine, and then returns the result.

For example, the strlen() function takes in a string (a series of characters), and returns the length or how many characters that string contained. Here is how it works:




The Output would be ’24′, because there are 24 characters in that string (include the white space character).


Rand() Function

PHP has a built in function that will generate a random number between a range. To use it, put a starting number in the first parameter location, and the end number in the second parameter location. This will create a range.

For Example:


rand(1,3);


This would generate one number each time, and it could be either 1, 2 or 3.

PHP Array

When using PHP, an array can be used to store any kind of data (strings, numbers, objects, arrays, booleans). We will use an array to store text (a string).

Arrays store information using a KEY – VALUE notation. The Key is the location of our stored text in the array. The Value is the actual text we plan to store. Here is how it looks.


$myStorageArray[KEY] = VALUE;


The KEY is a whole number, like a 1, 200, or 342. The VALUE is a string (a string is a series of characters wrapped inside single or double quotes). So the correct usage would look like this:


$myStorageArray[1] = ‘I am six feet tall’;
$myStorageArray[2] = ‘My hair color is brown’;


Do you see how it works. Put a unique number in the KEY, and set it’s VALUE to whatever text you want to store. The key is the location, and we will use it later to pull the data (VALUE) back out to print it to the screen.

Random Text Generator

Putting it all together, we will use rand() and array(). Rand() will generate a dynamic number and the array will store our data that we will retrieve dynamically.

Our task is then a simple matter of using the random number as a KEY to see the VALUE of the array. Here is the full code.



The $myQuotes array stores 3 of my favorite ‘modified’ quotes. The $randomNumber variable will contain a 0, 1, 2, and is used as a $randomNumber variable and placed in the KEY of the $myQuotes array. To make sure this will work, choose consecutive numbers – 1,2,3 or 4001, 4002, 4003, etc.

Every time the page is loaded, the echo statement sends one of the 3 quotes to the screen.

Conclusion

Using only simple PHP tools, you are able to quickly create a dynamic text generator using only rand(), echo, and an array. A simple, but very powerful PHP trick. The array can have as many KEY-VALUES as you want, just remember to increase the size of the random number range to see all of your values.

Easy PHP Programming

PHP Programming – An Intelligent Choice For Your Website Success

Thursday, November 3rd, 2011



PHP means Hypertext Preprocessor Programming; it is basically script based and server side programming language. Server side means the scripts will be in to the HTML but server processes on it first before sending that applications to browsers. You can not see PHP coding in source of that particular web page because the code is not visible, it only gives output. PHP is used to create dynamic web pages for internet business.

Some features of PHP:
PHP is very helpful in content management system PHP can be used for command line scripting It can be used in relational database management systems Provides design structure to promote rapid application development It allows developers to write extensions in C It can be used in all major operating systems including Linux, Microsoft Windows and RISC OS It permits users to transfer specific files from their client computers to a web server It is flexible in database connectivity

In web development era PHP adds more functionality to your website, it allows your website visitors to interact with you through scripts.

PHP development services have many advantages like low cost and high performance. The other advantage is that the code is simple and easy to understand. PHP is widely used for frameworks and to design a structure. PHP is mainly used for the small business with limited budget.

There are lots of service providers in India who provide outsourcing PHP programming services with highly qualified and skilled IT professional. They are providing best services at affordable rate and always ready to fulfill all your requirements. If you’re getting good service provider then you can fulfill all your requirements and you can also earn long profit form that because the future of PHP is very amazing.

Easy PHP Programming

3 Reasons You Should Hire a PHP Programmer Through Staff Augmentation

Wednesday, November 2nd, 2011



PHP programming has become a powerful programming technique for business websites and the demand for dedicated PHP programmers is ever increasing. On the other hand, economic crunch has forced companies to resort to cost effective means of doing business. As a result, they may end up hiring PHP programmers who charge less. Industry experts opine that such people do not hold promise of quality and timely service. In order to bridge the gaps created by hiring an able programming person in cost effective ways, staff augmentation services can be used.

Of late, Staff augmentation service providers are coming up with various modules to satisfy the growing demand for skilled IT staff like web developers and PHP programmers by sourcing them in flexible ways. The companies in need of these programmers can either outsource the entire project to the servicing company or hire a PHP programmer to work for them till the completion of a specific project.

The competence of the person who writes a PHP code counts most in the successful execution of a project. When you hire a PHP programmer through staff augmentation services, you can rest assured that you will get a good output since the service providers take responsibility of outsourcing a skilled programmer to execute jobs requiring PHP coding.

By doing this, you can make a great save on the overhead charges of staffing a programmer permanently in your company and the money you would save by hiring a PHP programmer through a Staff augmentation service provider is the icing on the cake.

Easy PHP Programming

The Most Popular Web Scripting Program – PHP Programming

Tuesday, November 1st, 2011



PHP or Hypertext Preprocessor Programming is a server-side Script based programming language. Server-side script means the script that the server possesses before the HTML file containing those scripts are transferred to the browser of the client. Scripts PHP Programming is software programming that is used for web hosting and web developing. However, all web platforms and web servers do not allow PHP programming to be executed in them. Win32 platform is one such web platform where PHP is not possible. Programmers having knowledge of PHP programming have a demand in IT Community.

PHP is popular amongst most web-scripting program present today.

The reason for the popularity is as follows:

The roots of PHP Programs are in C & C++ and finds similarity with C++ and C syntax. It is easy to manipulate and learn for all programmers. The back-end tool for PHP is My SQL. The interfacing property of My SQL, an online database, matches properly with PHP. Webmasters, who want to make their web sites automated, look for My SQL and PHP as the best option for making their website dynamic. Operating System like Windows and Unix supports PHP Programming Language. The output buffering of PHP language is very powerful and helps in increasing output flow. The rearrangements of buffer in internal PHP programming helps the header to be arranged before the contents of the web page.

PHP has a dynamic property and works combined with HTML to display elements dynamic in nature on the web page. PHP has the property to parse codes within its own delimiters. PHP did not parse anything outside of its delimiters and all those elements left are sent into the output.

Varying types of Relational Database Management Systems can combine with PHP programs and run on different popular web servers. The combination also works for different O.S. as well. PHP Program provides quality assurance and is a secured, fast, reliable and a cheap option for developing and hosting applications on the web.

PHP Programming is free and simple to use than their .net-programming counterpart. However, .net-programming allows use of crystals for report creation and a complex system can be easily executed by using .net.

Even SAPI or a command line interface is provided by PHP for desktop applications and shell improvement, parsing of log, daemons etc. it is increasingly being used on command lines which have been conventionally used in shell scripting, Perl, Awk or Python.

The principal focus of web designing using PHP programming has now shifted to server side scripting from the initial focus which was to create dynamic web pages. The PHP program can take out input from different streamed files containing different PHP instructions and can output them or display them in another stream of data.

PHP programming is the new revolution of the world!

Easy PHP Programming