|
just another regularban.info web blog |
| MEMBERS: | The Beginners Guide to PHP
What Is PHP? The full form of PHP is Hypertext PreProcessor and is a server-side scripting language. The PHP code can be combined with regular HTML tags and parsed on the server. The creator of PHP, Rasmus Lerdorf first displayed the language in the form of a Perl script . In 1997 it was adapted by Andi Gutmans and Zeev Suraski to use a C-written compiler. They completely reconstructed the original PHP into the web language that we know and use today. Uses of PHP It is used in the creation of dynamic web pages. Web developers like it because of its fast parsing and flexibility and versatility. PHP is a popular tool for managing a form's data after it is submitted and comes built in with many different interfaces and API's. It has database capability built into the language, the most common database being MySQL. Typically the PHP can connect to any SQL enabled database. The Syntax of PHP is similar in structure to Perl and C where curly braces { } define blocks of code and semi-colons specify the end of a statement PHP is as easy to learn as Perl. It maintains all the traditional loops, if/else, and subroutines that are expected in a programming language. One difference between the two is that the code'?' is embedded in with the HTML; you could however, use a separate file. The PHP code is different from HTML code by use of the opening and closing tags. When it finds a PHP file, it tells the server to scan through for these tags, and execute the code in between them. The server recognizes a PHP enabled file by its extension, .php. These are essentially HTML files with PHP codes in them. Getting Started To start PHP requires a server with PHP installed and a simple ASCII text editor such as Notepad or VI, eMacs, Kate, etc. for a UNIX/Linux machine. What are the problems faced by PHP? It is case sensitive. For example if you name a variable $MyVar, you cannot call it as $myvar or $mYvAr. In case you forget to close your curly brackets, then it helps to indent lines inside the curly braces so that any missing braces can be spotted easily.
14 Usability Tips for Login and My Account Pages
Sites that require users to log in to access certain information and/or purchase products add an additional layer of potential complication to the usability process. To avoid potential visitor confusion and the possibility for errors, it is important that any login process requires little or no thought on the part of the site visitor. Once logged in, you must be sure that visitors are able to find the information they want and expect to find. My Account pages need to provide visitors with access and ability to view and change personal information, as necessary. Login Access Access to any login page (or the login form itself) should be available consistently across all pages of the site. Be sure the form or link is obvious and easily differentiated from other areas of the web page. Security If the information behind your login contains sensitive data, you need to use the appropriate security protocols, assuring visitors that that you take their information's security seriously. Registration If visitors are not already registered a link to a new user registration form should be present. It's also smart to have a global link to "register" for any new visitors to the site. Account benefits Non registered visitors should be treated to benefits of account registration. This information should be located on the same page as the new user registration form. Lost password All login forms should contain an option to reclaim passwords and/or username should they have been forgotten. This information must also be passed securely. Remember me You can provide additional convenience (though less security) by giving visitors the option of checking a "remember me" box which will allow them to stay logged in indefinitely. Privacy Provide a link to your sites privacy information/policy near the login form submit button or email field. This gives your visitors confidence that you will treat their information with respect. Status The visitor's "logged in" status should be displayed at all times with a ready access to logout at their convenience. When additional security is necessary it's a good idea to automatically log them out after a set period of inactivity. Change info Once logged in, visitors should have access to change their user information, including usernames, passwords, contact info, payment details, etc. Change confirmation Once the visitor has submitted their information to be changed, provide a confirmation screen that shows the old and new info. This prevents errors and helps insure information remains accurate. Financial details Provide links to relevant financial information such as transaction history, invoices, balances, payment methods, etc. Provide printable version of this information. Up-sell opportunities Visitors that are logged in provide you an interested, captive audience. Consider discreetly utilizing up-sell opportunities - without being overbearing. Subscribed services Provide visitors access to the information/services to which they are subscribed. Also provide additional subscription options, if applicable. Information management Allow users to change the way they receive information, providing alternate methods such as snail mail, HTML or text based emails or to turning off communication entirely. When visitors create an account with you they are making a commitment to you to enjoy the services or information that you provide. It's important not to let the usability process break down after visitors are committed. In fact, it's even more important to treat registered visitors respectfully and appropriately, ensuring they have access to the information they need. This develops long-term relationships and keeps them coming back.
How To Create A Powerful Website
So you're considering building a website and you may be feeling a little overwhelmed by it all. While this can easily happen it is wise to whip out some note paper and write down exactly what you want to achieve and what steps you need to take in order to get there. So the first thing you are going to need to do is put the foundation in place. This will require extensive research. Now contrary to popular opinion I start this process a little bit differently than what is generally advised. Now while we all know that you need to find a hungry market doing this can be a little more difficult than explained in actual fact that is just like everything else when it comes to doing anything online. Actuality can be quite different from theory. So what I do is visit the article directories. I punch in a keyword that I am interested in and see what articles come up relative to that. Then I check the articles out to see how many page views they have received over a given period of time. If an article receives a lot of page views then I know that there are a number of people looking for information relative to this subject. I also know that if I write an article on this topic that it will receive a lot of page views and as a result get a lot of click throughs to my site which will help me get traffic quickly without having to worry about what Google and everyone else does. Next I visit the forums to see what solutions are being discussed then I go back to the articles and check what the writers are promoting and see if it is a valid good product to help people achieve the goals they desire. If so then I make note of it. Now I feel a little more confident about building a site around this theme. The next thing you have to consider is the domain. A keyword in the domain is helpful but not essential. Your next quest is hosting. You need a good host as this is your life line. Finally you want to be able to build the site effectively so as to achieve good search engine rankings. Keyword research relative to your overall theme will help you to do this plus you need to structure the pages properly so that you site can be understood by the search engines. Do not worry if you lack technical knowledge as there are site builders out there to help you overcome this challenge. Select any of the following links to watch some free videos.
|
* About Archives
Categories:
Last Updated: |
| regularban.info
is proudly powered by WordPress MU running
on regularban.info.
Create a new blog and join in the fun! Entries (RSS) and Comments (RSS). |