tag:blogger.com,1999:blog-36859602837989437802024-03-14T08:49:44.198-07:00PHP Books for BeginnersDownload PHP Books OnlineUnknownnoreply@blogger.comBlogger25125tag:blogger.com,1999:blog-3685960283798943780.post-66546621231659106712011-06-08T09:01:00.000-07:002011-08-12T22:47:49.345-07:00PHP Books-Use this Book to Spice your site with PHP<span style="font-style: italic;font-family:trebuchet ms;" >'Simple PHP' with Robert Plank has been one of the most bestselling PHP Book of all time.</span>
<br />
<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNUvNYmukWagHlaUx4-3aH4kyLFVIk3W7oLQ3v6uR00WKCY1FYfFIOx4oUv7EIaVF8HV21o_BKPvyFLyIeqNifv5QlrHdBVn-WxEBnFvUCG-ENxSsZQ5JIPQrV_U27j3sbq8X6v9RNcrYP/s1600/a53f0_simple_php.jpg"><img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 208px; height: 215px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNUvNYmukWagHlaUx4-3aH4kyLFVIk3W7oLQ3v6uR00WKCY1FYfFIOx4oUv7EIaVF8HV21o_BKPvyFLyIeqNifv5QlrHdBVn-WxEBnFvUCG-ENxSsZQ5JIPQrV_U27j3sbq8X6v9RNcrYP/s400/a53f0_simple_php.jpg" alt="" id="BLOGGER_PHOTO_ID_5615885827919535010" border="0" /></a>
<br /><p style="font-family:trebuchet ms;">With <span style="font-weight: bold;">PHP</span> (<span style="font-weight: bold;">PHP: Hypertext Preprocessor</span>) you can easily create a dynamic website.With <span style="font-weight: bold;">PHP</span> you can easily and quickly design a professional web page. and web applications. This <b>incredible PHP book</b> by Robert Plank takes you step by step, teaching you how to:</p> <ul style="font-family: trebuchet ms;"><li><b>Easily</b> personalize your pages.</li><li>Make easy .htaccess code for yourself.</li><li>Code games, quizzes & other lead-building tools.</li><li>Create an autoresponder.</li><li>Mix JavaScript with PHP for a <b>powerful combination</b>.</li></ul>
<br /><span style="font-family:trebuchet ms;"> </span><b style="font-family: trebuchet ms;">The book contains:</b> <ul style="font-family: trebuchet ms;"><li>17 "newsletter-style" chapters.</li><li>148 pages!!!</li><li>Example source code —<b> 22 working snippets!</b></li><li>A quiz after each chapter that tests your skills.</li><li>Weekly assignments to maximize your learning.</li></ul>
<br />
<br /><div style="text-align: center;"><a href="http://tinyurl.com/3tumhua" rel="nofollow"><span style="font-size:180%;"><span style="font-weight: bold;font-family:trebuchet ms;" >Download this Incredible PHP Book Now</span>
<br /></span></a></div>
<br /><span style="font-family:trebuchet ms;">With this PHP Book you will get </span><span style="font-weight: bold;font-family:trebuchet ms;" >Videos</span><span style="font-family:trebuchet ms;"> which will cover:</span>
<br />
<br /><p style="font-family: trebuchet ms;">In short, here's what the videos will cover:</p> <ol style="font-family: trebuchet ms;"><li>Create MySQL databases from Cpanel</li><li>Populate MySQL database by using 'myPHPadmin'</li><li>Uploading of files using ftp client (SmartFTP.com as working example)</li><li>Changing the permissions/mode of files using ftp client</li><li>Creating & deleting files/folders using ftp client</li><li>Editing the configuration files of some scripts</li><li>Running the setup procedure of the scripts</li><li>Setting up the cron jobs from Cpanel</li><li>'Piping the email' to accept email subscriptions</li></ol>
<br /><span style="font-family:trebuchet ms;">With this PHP Book you are going to get five free PHP Scripts.This coaching comes in the form of </span><span style="font-weight: bold;font-family:trebuchet ms;" >5 script examples</span><span style="font-family:trebuchet ms;"> with 18 videos that you view on your computer. I've included a full list for you here:</span>
<br />
<br /><h3 style="font-family: trebuchet ms;">Script #1: Adtrackz</h3> <p style="font-family: trebuchet ms;">Adtrackz is one of the most popular stand-alone ad-tracking scripts on the market, period!</p> <p style="font-family: trebuchet ms;">You'll install this script quickly & easily, faster than you could ever imagine. You'll learn on how to set up MySQL database, integrating the script with the database, uploading of files to your server, CHMOD, etc...</p> <p style="font-family: trebuchet ms;">Video Time: Part 1 (4 min 39 sec), Part 2 (12 min 27 sec)</p>
<br /><h3 style="font-family: trebuchet ms;">Script #2: EasyClickMate</h3> <p style="font-family: trebuchet ms;">EasyClickMate is a very popular script among internet marketers who are selling products via Clickbank and wish to run and manage the affiliate program effectively and efficiently.</p> <p style="font-family: trebuchet ms;">You'll set up MySQL database, integrating the script with the database, uploading of files, CHMOD, etc.</p> <p style="font-family: trebuchet ms;">Video Time: Part 1 (22 min 38 sec), Part 2 (5 min 27 sec), Part 3 (10 min 37 sec)</p><p style="font-family: trebuchet ms;">
<br /></p><h3 style="font-family: trebuchet ms;">Script #3: Parabots</h3> <p style="font-family: trebuchet ms;"><b>Parabots Autoresponder</b> lets you manage your own stand-alone autoresponder script on your server.</p> <p style="font-family: trebuchet ms;">Tutorials include the setting up of MySQL database, creating the cron jobs, piping emaill subscriptions, populate the MySQL databases from MyPHP admin area, uploading of files, setting up the email settings, etc</p> <p style="font-family: trebuchet ms;">Video Time (Version 2): Part 1 (2 min 46 sec), Part 2 (9 min 8 sec), Part 3 (1 min 45 sec), Part 4 (3 min 15 sec), Part 5 (9 min 11 sec)</p> <p style="font-family: trebuchet ms;">Video Time (Version 3): Part 1 (14 min 57 sec), Part 2 (5 min 48 sec), Part 3 (3 min 9 sec), Part 4 (1 min 14 sec), Part 5 (7 min 16 sec)</p><p style="font-family: trebuchet ms;">
<br /></p><h3 style="font-family: trebuchet ms;">Script #4: Turbo Content</h3> <p style="font-family: trebuchet ms;"><b>Turbo Easy Content Delivery</b> automates the distribution of your products. With this unique software, you can pre-program how and when your content will be delivered to your subscribers.</p> <p style="font-family: trebuchet ms;">You'll learn on how to set up MySQL database, populating the database from your control panel, integrating the script with the database, uploading of files, CHMOD, etc.</p> <p style="font-family: trebuchet ms;">Video Time: 15 min 2 sec</p><p style="font-family: trebuchet ms;">
<br /></p><h3 style="font-family: trebuchet ms;">Script #5: Proanalyzer</h3> <p style="font-family: trebuchet ms;"><b>Proanalyzer</b> is an ad tracking script which is almost similar to Adtrackz.</p> <p style="font-family: trebuchet ms;">The installation is quite easy and straight forward. You'll learn how to upload files, set up MySQL database, CHMOD files, etc</p> <p style="font-family: trebuchet ms;">Video Time: Part 1 (14 min 54 sec), Part 2 (1 min 13 sec)</p><p style="font-family: trebuchet ms;">
<br /></p><p style="font-family: trebuchet ms;"></p><div style="text-align: center;"><a href="http://tinyurl.com/3tumhua" rel="nofollow"><span style="font-size:180%;"><span style="font-weight: bold;font-family:trebuchet ms;" >Download PHP Book Now</span>
<br /></span></a></div>
<br />
<br /><span style="font-family:trebuchet ms;">Read more on PHP:</span>
<br />
<br /><a href="http://learning-php-tutorials.blogspot.com/2011/03/introduction-on-php.html"><span style="font-family:trebuchet ms;">Learn more about PHP</span></a>
<br />
<br /><a href="http://learning-php-tutorials.blogspot.com/2011/03/how-to-use-php-for-better-web.html"><span style="font-family:trebuchet ms;">Learn about PHP Development</span></a>
<br />
<br /><span style="font-family:trebuchet ms;"><a href="http://learning-php-tutorials.blogspot.com/2011/06/php-books-use-this-book-to-spice-your.html">Use PHP to Spice Up your Website with Interesting Application</a>.</span>
<br />
<br /><span style="font-family:trebuchet ms;"><a href="http://learning-php-tutorials.blogspot.com/2010/06/books-on-php-and-mysql.html">Download and Learn the Best PHP Book and MySQL Book Instantly</a></span>
<br />
<br /><a href="http://learning-php-tutorials.blogspot.com/2011/03/php-tutorials-for-beginners.html"><span style="font-family:trebuchet ms;">PHP Tutorial For Beginners</span></a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-3685960283798943780.post-1994975283037146162011-03-25T09:01:00.001-07:002011-07-06T22:27:32.873-07:00How to Use PHP for Better Web Development<span style="font-family:trebuchet ms;">PHP as every web developer is familiar with is a great tool to create efficient and fully functional websites that can be modified/upgraded as per the administrator wish, but at the same time PHP can be used to create good looking websites with interactive and user friendly features. Now, web design plays a major role in deciding the page ranking of the site but still it gets overlooked most of the time. </span><br /><br /><span style="font-family:trebuchet ms;">PHP is a very good tool for multi-platform and browser independent website creation and the best part is that it is secure being a server side scripting language. This language lets you put style sheets on your website with an ease or even you can create your own customized style sheet which is applied and accepted by PHP without any errors. One of the methods to spice up your website to use a PHP plus CSS made text size switcher which is taking into consideration that not every visitor that is going to visit the site will be an energetic and young person who completely understands the details of using a web browser. So, to make older or handicapped visitors comfortable in using the website without excessive strain or stress, this feature is included. The main function of this application is to allow the user of this site to modify the size of the text according to their comfort, generally to make the font size larger and easier to read. </span><br /><br /><span style="font-family:trebuchet ms;">Another method is to improvise the default ordered list and make it more attractive, this technique is made possible by setting up a loop using an integer variable that increments itself while the loop is running. Then echo the variable out where you need it and style id with CSS. This method makes the ordered list look more attractive and catchy. </span><br /><br /><span style="font-family:trebuchet ms;">There are even more PHP scripts that can be used to make your website look nice and feel easy to use, scripts for image hosting, shopping carts, login scripts, advertisements etc. Such scripts are tedious to write and apply on your website since, they are time consuming. You will have to write the whole code by yourself and then check them to be bug free and thus you can not provide enough time to the other aspect s of your website development. This has caused in the rise of number of sites that nowadays offer the facility to create such PHP scripts for you at a certain price or even offer this service for free.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-24694152114515504342011-03-25T08:59:00.000-07:002011-07-06T22:28:29.441-07:00Tips For Hiring PHP Developers In the Subcontinent<span style="font-family:trebuchet ms;">Many of the western countries have explored India as an offshore software development destination using one or more company services. The most common model of working is on fixed cost project to project basis work and delivery model. Here the buyer seeks guidance on a software project, the software developers/programmers in India have delivered the solution and that ends one cycle of transaction. Very few have explored the possibility of Hiring Full time offshore software developer PHp/ASP.net/Flash/Java developer/programmer in India, which has more benefits than its predecessor model. </span><br /> <br /><span style="font-family:trebuchet ms;">Lets discuss where and how it useful to the companies seeking offshore software development services in India. This is suitable under various circumstances as follows. </span><br /><br /><span style="font-family:trebuchet ms;">Maintenance Projects: The projects which are complete or major phase is complete goes in the maintenance phase. Here the software requires changes in the process or screens or some business logic changes are required by the buyer. Such changes are necessity but the clarity on changes might not be there. In such case having a full time dedicated offshore team of PHP/ASP.net/Java/Flash developers/programmers is essential. That keeps the things going without charging for every single change and the project goes live in phases for various features. </span><br /><br /><span style="font-family:trebuchet ms;">A long term Project: The projects requiring ASP.net/Java/PHP Developers /Programmers for longer duration from 6-12 months of time or higher. Here the full time dedicated team of Offshore PHP/ASP.net/Java developers comes as handy resources. The long term projects are developed in phases, various modules are developed by different programmers and then integrated with each other. Its quite possible and advisable to have some people onsite for integration because of time difference of two countries. But still that reduces the cost having everyone onsite, the offshore software programmers or ASP.net/PHP/Java/Flash developers comes on cheaper rate while giving the similar kind of output like onsite resource. </span><br /><br /><span style="font-family:trebuchet ms;">Cost Advantage: the first and foremost advantage which is seen in offshore software developers and PHP/Asp.net/Java/Flash programmers in India is the Cost. While you hire an average programmer of 1-2 years experience in any western country for about 3000-4000 USD, here its available for only $1000/month or above. This can boost the project profit by 300% if you are a subcontractor and if you are a direct buyer you are saving the big cost hiring full time dedicated PHP/ASP.net/Java/Flash Programmer in India.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-17243855101315425972011-03-25T08:57:00.001-07:002011-07-06T22:44:00.942-07:00Why Is PHP Best Suited for Web Development<span style="font-family:trebuchet ms;">PHP is widely used in web application development. Billions of web applications running on the internet are made in PHP only. PHP requires web server and can be deployed on most of the web servers, operating systems and platforms. PHP provides filter taking input from a file or stream containing text and providing outputs to another stream of data. Though primary purpose of PHP was dynamic pages, however it has proved to be very effective server side scripting language which very effectively helps in providing content from web server to client. </span><br /><br /><span style="font-family:trebuchet ms;">PHP is a powerful server side scripting language and is widely used in creating dynamic web pages. It can also be used from command line and graphical applications. PHP is also known as Hypertext Processor, and can run on UNIX as well as Windows Servers. PHP is widely used in message boards, shopping carts, search engines and much more. Entire sites are developed with PHP only.PHP is used in creating healthcare applications, real estate portals, e learning websites, search engines, website builders, auctions web portals, sites with enormous database. PHP is also used for data mining and data collection purpose. PHP programmers make usage of OOPs concept and generate number of internet pages on the web. Number of frameworks are used , which act as building blocks in design and structure , these are Cake PHP, Zend Framework, PRADO, Symfony etc. The LAMP architecture is quite popular in the web industry as a way of deploying applications. </span><br /><br /><span style="font-family:trebuchet ms;">Using PHP as front end, mySQL is used for backend purpose. MySQL is included in many servers including UNIXs, Windows (95/98/NT/2000) and Macs and frame works like ZEND, CAKE and NEON.. PHP is available under open source license, this means it is free to use and distribute and the user is encouraged to so. The redistribution of PHP source and binary code is allowed without doing many modifications. However while doing so, the copyright statement needs to be present as well. PHP programmer working on PHP, can easily work on any open source scripts available. Some of the open source scripts available for PHP include PHPBB and osCommerce. </span><br /><br /><span style="font-family:trebuchet ms;">smartData is an ISO certified Offshore software outsourcing company involved in offshore software development in PHP. smartData PHP programmers are experts in delivering quality web applications to clients globally. With features like scalable, robust, open source; php is quite popular scripting language with widespread capabilities for web applications to interact on the net.</span>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-3685960283798943780.post-76622140432054421182011-03-25T08:53:00.000-07:002011-07-06T22:34:11.704-07:00Choosing Correct Web Development Company For PHP and MySQL<span style="font-family:trebuchet ms;">Have you decided on a website that will cater to the interests of the targeted visitors? Well you can use the php mysql development programming language. By using the php and mysql development programs you can create dynamic database management system that uses the open source type of language. There are so many utilities of the programming language that you can rely on experts, to make the right decision.</span><br /><br /><span style="font-family:trebuchet ms;">Make the Right Choice</span><br /><br /><span style="font-family:trebuchet ms;">There are in numerous organizations that render php and mysql web development services. But the final choice has to be made by you. Don’t get perplexed by the number of companies, claiming to be the best in the business. Consult for expert assistance before making the final choice.</span><br /><br /><span style="font-family:trebuchet ms;">There are various types of organizations, from big web designing firms to small freelancing companies. Both these types of organizations have their own advantages and disadvantages. It is for you to decide, which organization shall fulfill your criteria and requirement.</span><br /><br /><span style="font-family:trebuchet ms;">Does Company Infrastructure Matter?</span><br /><br /><span style="font-family:trebuchet ms;">The big web hosting companies have large infrastructure and huge expertise manpower. Hence these companies usually charge a heavy amount for their services rendered. The main focus of the big web hosting organizations is to highlight the process and not delivering the final product. At times you might find your project not panning out as you desired because of the communication problems.</span><br /><br /><span style="font-family:trebuchet ms;">While small companies offering freelancing services, charge a lot less for php mysql web development than the big size organizations, they lack manpower and expertise. If you want to achieve something out of the ordinary then you might get frustrated, as people involved in the project might not have the vast expertise and knowledge that experts from big organizations usually have. An important benefit of working with the small firms is that, you have the scope of personal interaction with the designer.</span><br /><br /><span style="font-family:trebuchet ms;">While making a selection of the organization, you need to access the magnitude of your work and time within which you want to finish the project. The small firms have limited resources, and also they might be overloaded with work. It may also happen that you might be required to wait. That is why if you are looking for quick completion of a large sized project than you can definitely opt for large organizations.</span><br /><br /><span style="font-family:trebuchet ms;">Making the best choice for php mysql development programs will make your website popular and make your work easy too.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-13411640743871863112011-03-25T08:50:00.000-07:002011-07-06T22:44:45.593-07:00Social Networking Software Using PHP<span style="font-family:trebuchet ms;">For those who are unaware of some of the programming languages things like PHP social networking script can seem rather strange, however if you are willing to take the time to really learn about some of the various programming languages you may discover that this is actually one of the best choices available. In the past, the majority of websites were all created using HTML, however in recent years this has rapidly declined as more advanced programming languages were created. PHP is one such example of the new programming languages that is available. </span><br /><br /><span style="font-family:trebuchet ms;">PHP social networking software is quite popular for several reasons. One of the biggest advantages that PHP social networking software has is the ability to be much larger and complex than HTML based programs. For someone who is looking into building a website based around social networking this is important because it allows you to really work at building a site that is large enough as well as stable enough to handle the needs of everyone who may call your website home. PHP social networking script has several ways you can purchase it as well; there are even some versions that are free which can provide you with a very low cost alternative as well. </span><br /><br /><span style="font-family:trebuchet ms;">Looking to find and even build a monster website in the past meant that you would need to have a lot of room for hosting your website, as well as deal with a lot of slow bandwidth issues if your site became very busy. PHP social networking software helps to eliminate some of these problems by providing a much more powerful, versatile and quick loading option that will still do exactly what you need done, without worrying over all of the minor details. However, if you are not able to find a prepackaged version of the PHP networking software you are likely to need someone to script it for you. </span><br /><br /><span style="font-family:trebuchet ms;">PHP is a highly complex language to learn and most people when attempting to learn it become very frustrated with the entire mechanics of the language. Very few who attempt to learn are actually able to build their own site using PHP, yet it provides numerous benefits in terms of what is possible to be done with your site. PHP is one of the best choices that is around in the ability to integrate some of the various components together with other pieces of software to create a completely customized solution. Other programming languages are not always as easy to integrate, however the ultimate decision over which programming language to choose varies greatly. </span><br /><br /><span style="font-family:trebuchet ms;">One of the largest well-known examples of PHP social networking software is Facebook, this is a site that has been scripted and designed largely using PHP as the primary language. MySpace is the largest and one of the most well-known social networking sites and many of the same features can be integrated into a PHP social network software package easily. One of the biggest tasks that you will discover is often choosing which features you are most interested in, this will often determine exactly what software you need to use. Of course while most programming languages can be designed to do what you want; there are some that are much more effective than others at the job. Choosing a program that is able to handle your needs quickly and efficiently is not always easy, but starting with at least determining what you are looking for will allow you to make a very informed decision about whether a PHP social networking software is the best choice for you. </span><br /><br /><span style="font-family:trebuchet ms;">You may be confused and you may not understand PHP at all, but this will not stop your ability to quickly and easily decide upon the best solution for your needs. You may end up discovering that PHP is much too complex for your needs, out of your budget, or plain inappropriate overall. There are plenty of options that you have and looking at a PHP social networking software should be just one of the many options that you explore in your quest to find the solution that is best suited to your needs, rather than the needs of someone else. </span><br /><br /><span style="font-family:trebuchet ms;">Time is ultimately money, deciding what is important to you is a much needed necessity and something that you need to be to be able to do on your own. Exploring PHP social network software may be your ultimate solution, or possibly grossly inappropriate but it is up to you to decide for sure.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-55392750715011759472011-03-25T08:46:00.000-07:002011-03-25T08:48:35.346-07:00Constructing Dating Software Using PHP<span style="font-family: trebuchet ms;">There are so many dating software's available on the internet. As PHP is an open source language, most of them are built over it. Hence you will get to see a lot of php dating software. Some of them will be available at no cost also. When you are trying to start your own online dating business and when you are constrained with the money then a free php dating software is the best solution for you. </span><br /> <br /><span style="font-family: trebuchet ms;">More often than not free PHP dating software will not have all the advanced features. It will definitely have all the basic features like profile creation, searching for profiles with a definite criteria, online message and even an offline message board. These basic features will definitely give you a chance to get a head start in setting up your own dating business on the internet. </span><br /> <br /><span style="font-family: trebuchet ms;">If you are enough passionate about the online dating phenomenon then it will not take too much amount of time for you to understand what all the visitors come to a dating site on the internet expect. If you are not aware of their requirements and expectations it is always advisable to go ahead and get registered with a few top notch online dating websites along with a few new bees. </span><br /> <br /><span style="font-family: trebuchet ms;">If you do that, then you will get to know what all the advantages of those respective websites and where they are actually lagging in. If you can find the pain points on those businesses in a proper way then you will be able to work on your PHP script to address those pain points, which in turn will make your online dating business a big success story. </span><br /> <br /><span style="font-family: trebuchet ms;">One important thing which you should keep in mind while starting an online dating business is that, you should think really big and far ahead of the present scenario. Only if you can expect the future trends in technology and the possible new requirements that the users of online dating websites may raise, then only you can address them in your business offering and hence you can tap that market of unsatisfied users. </span><br /> <br /><span style="font-family: trebuchet ms;">Before choosing the right PHP dating software, go ahead and implement at least one or two free PHP dating software. This will help you in understanding the basic framework of the PHP script. There are so many free web hosting providers available on the internet that will provide you with enough web space to install and test a few free PHP dating softwares. </span><br /> <br /><span style="font-family: trebuchet ms;">After testing a few, list down all your requirements and try to find the best PHP dating software among the available pool. Even if a PHP dating software doesn't have all the required features but if it is easy to customize that PHP script even without great PHP programming experience then it should be the best. Because of the rapidly changing technologies and the rapidly changing requirements of the dating website users, it is always better to go for a simple and effective customizable solution. </span><br /> <br /><span style="font-family: trebuchet ms;">Now, it is time to get a customized and simple to use design for your PHP dating software. The design should be very attractive but simple. For any website its User interface will create the first impression on the visitor and it is more important in the case of a dating web site. Hence get a good designer to get a customized design for your PHP script. </span><br /> <br /><span style="font-family: trebuchet ms;">When you are done with the design, find a suitable hosting package for your PHP dating software. The hosting package can range from a dedicated server solution to a shared package. That is entirely dependent on the number of visitors which you are expecting on your online dating business and more importantly on your allocated budget. </span><br /> <br /><span style="font-family: trebuchet ms;">But, think at least two months a head while deciding a hosting package if not you will end up in a great chaos which can easily damage the brand of your online dating business. As we all know, bad word travels much faster than the good one. So, try and avoid such chaotic situations by keeping yourself ahead of the time at least by two months. </span><br /> <br /><span style="font-family: trebuchet ms;">If followed a proven methodology with enough passion and dedication, more often than you will end with quite a bit of success in the online dating business. Final word of caution is to get a concrete revenue model right from the start of the online dating business. After all, any business is there to make money and online dating business is no exception for that.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-91232816778723296592011-03-25T08:44:00.000-07:002011-03-25T08:45:21.076-07:00Why to Develop System Using PHP<span style="font-family: trebuchet ms;">Since a ticketing system usually has the two distinct parts of a database and an interface, it makes sense to use PHP for developing the system. PHP is a scripting language, commonly used to create websites that are dynamic and database-oriented.</span><br /><br /><span style="font-family: trebuchet ms;">It's support for the vastly used MySQL database design puts it in an advantageous position. Typically PHP is used to create discussion forums. Apart from ticketing systems, it is used in developing content management systems, website guest books, and calendars.</span><br /><br /><span style="font-family: trebuchet ms;">A PHP ticket system is written in PHP and is usually a sophisticated ticketing system with a MySQL database as its backend. This system is hosted on platforms that can run PHP. It enables addition and use of functions such as user management in sessions and search functions. 29FIVE Helpdesk and osTicket are two of the many PHP ticket systems available today.</span><br /><br /><span style="font-family: trebuchet ms;">A Helpdesk allows you to maintain and monitor tickets while managing your customer and their information details. This system provides separate interfaces for administrators and customers. The web interfaces look more like applications because they have been built using Adobe Flash and run on MySQL and PHP. Therefore, use of this system requires a platform supporting PHP and MySQL.</span><br /><br /><span style="font-family: trebuchet ms;">Most of these Helpdesk was developed as a ticket system for any business that requires a maintenance and support system. The system can also be used for bug tracking in software development. The PHP ticket system allows both operators and customers to create a ticket. These tickets are assigned to operators for direct support to customers. When operators log into the system, they receive and view the tickets assigned to them. Once created, the tickets can be edited, put on hold, reallocated, or closed.</span><br /><br /><span style="font-family: trebuchet ms;">osTicket is a simple, widely-used, lightweight open source free ticket system developed mainly in PHP. The ease with which it can be set up and used makes it a desirable substitute to other expensive and highly complex ticket systems. osTicket lets you easily integrate all tickets with the web interface regardless of whether they are created using email or web-based forms. Despite being simple, it provides the basic functions of easy management, structuring and storage of your service and trouble tickets.</span><br /><br /><span style="font-family: trebuchet ms;">PHP ticket systems such as Ticket support aliases using PERL gateway, POP3 login, unlimited emails and setting up of email intervals for avoiding auto-responder loops. Other basic features include ability to limit the maximum number of tickets that a customer can open, options for filtering messages from replies and ability to accept and limit size of attachments.</span><br /><br /><span style="font-family: trebuchet ms;">osTicket allows administrators to permanently delete tickets from data bank, create departments and groups, create service operators or supporters, manipulate response messages, enable pager compatible email alerts and so on. For operators and supporters, this ticket system provides department-wise restricted access and rights. Users can login with assigned email IDs and ticket numbers. They can use the email ID to access and view tickets sent on that ID.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-52590926141952033962011-03-25T08:41:00.000-07:002011-03-25T08:42:52.737-07:00Comparing PHP Hosting with ASP Hosting<span style="font-family: trebuchet ms;">Web pages used to be simple affairs, where everything you needed to do could be done in HTML, there was really one set of rules and one set of expectations. Today's world is far more complex. </span><br /> <br /><span style="font-family: trebuchet ms;">Web pages can be more complex and customers expect more from web pages. Terms like PHP and ASP now compete with HTML when starting a web page and it can be hard to figure out what option best suits your needs. </span><br /> <br /><span style="font-family: trebuchet ms;">If you've ever driven an import car, you can appreciate the importance of being able to find support that meet your needs, if you're going to kick the tires with your website and turn it into something exception, having a large community that can support you is critical. </span><br /> <br /><span style="font-family: trebuchet ms;">PHP, Personal Home Pages has more support on the internet than ASP - Active Server Pages. The larger user base gives you more allies; more people who can help you develop your own talents and your website. </span><br /> <br /><span style="font-family: trebuchet ms;">Another advantage of PHP is that it's based on unix, giving it more cross platform capability than ASP as increasing demands of Microsoft's operating systems level the cost playing field between Microsoft products and Apple, this is ever more important. </span><br /> <br /><span style="font-family: trebuchet ms;">And did we mention that in the grand tradition of unix, PHP is free, while ASP needs support software that isn't? For add-ons and additional tools, PHP's open source has a strong base of free tools, whereas ASP demands that you purchase these tools. </span><br /> <br /><span style="font-family: trebuchet ms;">You can find help for your PHP programming from free to paid. Most professional ASP support is very expensive by comparison. </span><br /> <br /><span style="font-family: trebuchet ms;">Also, you have to consider the costs associated with a web hosting on Windows Server compared to Linux Servers. For most cases, you will notice a substantial difference in prices. </span><br /> <br /><span style="font-family: trebuchet ms;">Not only that, but Windows severs do tend to be unstable and prone to failures, are more likely to be attacked by viruses, Trojans and exploits. Linux servers on the other hand are much more stable and the attacks windows servers suffer in a daily basis are non-existent in Linux. </span><br /> <br /><span style="font-family: trebuchet ms;">If you are considering either a dedicated server or a shared hosting, your fist choice should be Linux. I've yet to find a problem that can't be solved using PHP and Linux. </span><br /> <br /><span style="font-family: trebuchet ms;">With all this, you might wonder why ASP still is out there at all. Part of it stems from ASP being based on the same methodology that's used to make macros in other Microsoft products. </span><br /> <br /><span style="font-family: trebuchet ms;">People that have invested the time learning how to use macros in Word or Excel will be more comfortable using ASP. PHP is based on C++, a robust computer programming language. </span><br /> <br /><span style="font-family: trebuchet ms;">Before this intimidates you, the free tools that exist out there allow for a lot of this to be hidden, until you're ready to take advantage of the power behind PHP. </span><br /> <br /><span style="font-family: trebuchet ms;">Putting it all together, the power, the cost, flexibility, stability and support of PHP is far superior to that of ASP. If you're going to commit to building the best web page you can, commit to using the best tools you can. </span><br /> <br /><span style="font-family: trebuchet ms;">Investing in learning PHP will pay off when you're able to pop the hood, invite your friends over and transform your web page from a normal, average, page to a sophisticated and highly toned performance page.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-22987756177815034592011-03-25T08:39:00.000-07:002011-03-25T08:40:30.777-07:00Advantages and Disadvantages Of PHP Hosting<span style="font-family: trebuchet ms;">PHP hosting is a server side scripting language used to create dynamic web pages. In other words PHP can be considered as a computer programming language that is designed for producing dynamic web pages. PHP generally runs on a web server using the PHP code for input to create the output of web pages. PHP is considered to be the main language used by many web masters. It is the most popular dynamic web programming language and these days you will easily find many websites that use scripts written in PHP language for various purposes, from building websites to shopping system. With PHP you can do various types of programming.</span><br /><br /><span style="font-family: trebuchet ms;">In order to be in a position to use PHP scripts, you should use a particular web host that provides this feature. When you hunt for the right web host, make sure that the hosting company supports your PHP scripts. One should be aware that there are certain scripts that are available in the market, can run well only with the latest PHP version. In such a situation, if you want to solve this compatibility issue, you should approach those types of hosting providers who provide two PHP versions. You may have to customize or change certain scripts that are intended for the older PHP version environment.</span><br /><br /><span style="font-family: trebuchet ms;">You should also take the PHP modules into consideration. The concerned PHP modules are required by your scripts to be installed. Ask your hosting provider about the modules which are required by your scripts to be installed. If the hosting provider does not provide the required modules, then at least ensure that you are allowed to install them later. You can make use of PHP on a server by running PHP in CGI mode and using it as an apache module. By running PHP as an apache mode, the interpreter will be loaded as a part of Apache. This will lead to a faster execution of your PHP script. Before you manually install PHP script, you should check the list of scripts that is provided. If you are unable to find your required script, you then have to try using it from another source.</span><br /><br /><span style="font-family: trebuchet ms;">One should consider certain important facts about PHP support web hosting. You should mainly ensure that your database will be supported with a PHP hosting server. Also, be aware of the fact that since PHP is based in Unix, you will be unable to use windows developed applications, such as Active Server Pages (.ASP), on your website. A window server should be used for allowing .ASP to run and function correctly. Ensure maximum availability of features for your website so that there is scope for development and growth towards your web pages. There is so much of competition for ecommerce in today’s market. Hence one should ensure that every new option are explored before hand in order to avoid paying more that what you already decided towards your monthly hosting charges. You can also look out for a host that provides a shopping cart, SSL certificate mailing list software and unlimited databases. If you get these facilities within your hosting charges then you don’t have to pay extra as additional applications when required. It is better to get equipped with the required facilities, before hand. However, see that all the required features are made available to you at a reasonable price.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-234357156862392272011-03-25T08:28:00.000-07:002011-07-06T22:32:08.193-07:00Inheritance In PHP-Tutorial<span style="font-family:trebuchet ms;">There are many benefits of inheritance with PHP, the most common is simplifying and reducing instances of redundant code. Class inheritance may sound complicated, but think of it this way. Consider a tree. A tree is made up of many parts, such as the roots that reside in the ground, the trunk, bark, branches, leaves, etc. Essentially inheritance is a connection between a child and its parent.</span><br /><br /><span style="font-family:trebuchet ms;">Note: This article assumes a basic understanding of OOP with PHP. You'll also need a server with PHP 5 in order to run this demo, which you can download here.</span><br /><span style="font-family:trebuchet ms;">Creating a parent object</span><br /><br /><span style="font-family:trebuchet ms;">Let's say that our intention is to create a storefront where we'll be selling cars. A simple shopping cart allows us to sell the cars and allows consumers to browse the products, and access specific information such as pricing and a description. With this in mind we know that regardless of what we're selling, all products have certain things in common, such as a name, description, price and photo. By inheriting the Product object we can share these common properties across unique child objects.</span><br /><br /><span style="font-family:trebuchet ms;"> <br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> class Product</span><br /><span style="font-family:trebuchet ms;"> {</span><br /><span style="font-family:trebuchet ms;"> private $name;</span><br /><span style="font-family:trebuchet ms;"> private $price;</span><br /><span style="font-family:trebuchet ms;"> private $photo;</span><br /><span style="font-family:trebuchet ms;"> private $description;</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> public function Product() {}</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> protected function setName($name) { $this->name = $name; }</span><br /><span style="font-family:trebuchet ms;"> public function GetName() { return $this->name; }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> protected function setPrice($price = '0.00') { $this->price = $price; }</span><br /><span style="font-family:trebuchet ms;"> public function GetPrice() { return $this->price; }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> protected function setPhoto($photo) { $this->photo = $photo; }</span><br /><span style="font-family:trebuchet ms;"> public function GetPhoto() { return $this->photo; }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> protected function setDescription($description) { $this->description = $description; }</span><br /><span style="font-family:trebuchet ms;"> public function GetDescription() { return $this->description; }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> ?></span><br /><span style="font-family:trebuchet ms;"> </span><br /><br /><span style="font-family:trebuchet ms;">The Product object is quite simple, it allows us to define specific information such as a name, price, photo and description. The objects setters allow us to set these specific product properties, and by using the protected keyword we only allow these properties to be set by extending child objects. Also, the Products getters are public, which allows us to obtain specific data from an object with any PHP page that includes and instantiates it. The last thing to note about this object are the properties defined at the beginning of the class. We define these as private properties so they can't be changed directly unless using the setters provided by the Product object, this provides more security and reliability. Let's look at how to inherit the Product object.</span><br /><span style="font-family:trebuchet ms;">Inheriting the parent object</span><br /><br /><span style="font-family:trebuchet ms;">Inheriting a parent object is probably one of the easiest concepts in object-oriented programming. All we need to do to inherit the Product object is add the extends keyword after the class name, followed by the object that we want to inherit, in this case the Product object.</span><br /><br /><br /><br /><span style="font-family:trebuchet ms;"> <br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> class Car extends Product</span><br /><span style="font-family:trebuchet ms;"> {</span><br /><span style="font-family:trebuchet ms;"> private $model;</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> public function Car($name, $model, $price, $photo, $description)</span><br /><span style="font-family:trebuchet ms;"> {</span><br /><span style="font-family:trebuchet ms;"> parent::setName($name);</span><br /><span style="font-family:trebuchet ms;"> $this->setModel($model);</span><br /><span style="font-family:trebuchet ms;"> parent::setPrice($price);</span><br /><span style="font-family:trebuchet ms;"> parent::setPhoto($photo);</span><br /><span style="font-family:trebuchet ms;"> parent::setDescription($description);</span><br /><span style="font-family:trebuchet ms;"> }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> private function setModel($model) { $this->model = $model; }</span><br /><span style="font-family:trebuchet ms;"> public function GetModel() { return $this->model; }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> }</span><br /><span style="font-family:trebuchet ms;"> </span><br /><span style="font-family:trebuchet ms;"> ?></span><br /><span style="font-family:trebuchet ms;"> By taking a look at the car object we see how simple it's become by creating the parent to handle all of the product details. Now we can use this object for custom properties that a car includes, which are not common to all products. As an example, we add a model property to specify the model of the car. Another benefit is being able to scale this application by adding new products that inherit the Product object or we could add more common properties to the Product object. The addition of properties will enhance all child objects without interfering with their existing ties. </span><br /></span></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-35094056866856671112011-03-25T08:24:00.000-07:002011-07-06T22:45:18.597-07:00Constructors In PHP-Tutorials<span style="font-family:trebuchet ms;">This "problem" requires us to write special function called a "constructor function." A constructor function is a function that is written in a way that is very similar to a method of a class. The difference is that a constructor function will be called every time a new instance is made.</span><br /><br /><span style="font-family:trebuchet ms;">The syntax of a constructor function is:</span><br /><br /><span style="font-family:trebuchet ms;">function class_name(){</span><br /><span style="font-family:trebuchet ms;">statements</span><br /><span style="font-family:trebuchet ms;">}</span><br /><br /><span style="font-family:trebuchet ms;">Yes, the constructor function name must be the same as the class name. And within the function you can include all the attributes that are going to be included when an instance of the class is made. So, let's add a constructor function that will sort out our problem:</span><br /><br /><span style="font-family:trebuchet ms;"><br /><span style="font-family:trebuchet ms;">class human{</span><br /><span style="font-family:trebuchet ms;">function human($hcolor){</span><br /><span style="font-family:trebuchet ms;"> $this->hcolor=$hcolor;</span><br /><span style="font-family:trebuchet ms;">}</span><br /><span style="font-family:trebuchet ms;">var $legs=2;</span><br /><span style="font-family:trebuchet ms;">function report(){</span><br /><span style="font-family:trebuchet ms;">return "This <b>".get_class($this)."</b> has <b>" .$this-</b></span><b><br /><span style="font-family:trebuchet ms;">>haircolor. "</span></b> hair,and <b>" .$this->legs. "</b> legs<br />" ;</span><br /><span style="font-family:trebuchet ms;">}</span><br /><span style="font-family:trebuchet ms;">}</span><br /><span style="font-family:trebuchet ms;">//instantiate the class</span><br /><span style="font-family:trebuchet ms;">$jude = new human();</span><br /><span style="font-family:trebuchet ms;">$jane = new human();</span><br /><span style="font-family:trebuchet ms;">$jane->haircolor="brown";</span><br /><span style="font-family:trebuchet ms;">$jude->haircolor="black";</span><br /><span style="font-family:trebuchet ms;">$jude->legs++; //increase legs by one</span><br /><span style="font-family:trebuchet ms;">echo $jane->report();</span><br /><span style="font-family:trebuchet ms;">echo $jude->report();</span><br /><span style="font-family:trebuchet ms;">?></span><br /><br /><span style="font-family:trebuchet ms;">The " $this->hcolor=$hcolor;" line will install the hcolor variable as an attribute when a new object is instantiated. So, instead of creating the hair color attribute every time we instantiate a new object, it is automatically called. The new class will look like this:</span><br /><br /><span style="font-family:trebuchet ms;"><br /><span style="font-family:trebuchet ms;">class human{</span><br /><span style="font-family:trebuchet ms;">function human($hcolor){</span><br /><span style="font-family:trebuchet ms;"> $this->hcolor=$hcolor;</span><br /><span style="font-family:trebuchet ms;">}</span><br /><span style="font-family:trebuchet ms;">var $legs=2;</span><br /><span style="font-family:trebuchet ms;">function report(){</span><br /><span style="font-family:trebuchet ms;">return "This <b>".get_class($this)."</b> has <b>" .$this-</b></span><b><br /><span style="font-family:trebuchet ms;">>hcolor. "</span></b> hair,and <b>" .$this->legs. "</b> legs<br />" ;}</span><br /><span style="font-family:trebuchet ms;">}</span><br /><span style="font-family:trebuchet ms;">//instantiate the class</span><br /><span style="font-family:trebuchet ms;">$jude = new human("black");</span><br /><span style="font-family:trebuchet ms;">$jane = new human("brown");</span><br /><span style="font-family:trebuchet ms;">$jude->legs++; //increase legs by one</span><br /><span style="font-family:trebuchet ms;">echo $jane->report();</span><br /><span style="font-family:trebuchet ms;">echo $jude->report();</span><br /><span style="font-family:trebuchet ms;">?></span><br /><br /><span style="font-family:trebuchet ms;">Conclusion</span><br /><br /><span style="font-family:trebuchet ms;">This article covered the basics of using functions and classes to make coding faster by cutting out code repetition. In the next part we will focus on inheritance, where one class inherits the attributes of another class. </span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-51309604558832143172011-03-25T08:21:00.000-07:002011-03-25T08:23:24.872-07:00How Can You Add Attributes to an Object in PHP-Code Provided-Tutorial<span style="font-family: trebuchet ms;">Let' create another instance to see what happens:</span><br /><br /><span style="font-family: trebuchet ms;">$jude = new human();</span><br /><span style="font-family: trebuchet ms;">< style="color: navy;" lang="EN-GB">$jane = new human();</span><br /><span style="font-family: trebuchet ms;">< style="color: red;" lang="EN-GB">$jude-</span><br /><span style="font-family: trebuchet ms;">>legs++; //increase legs by one</span><br /><span style="font-family: trebuchet ms;">echo "Jude has " .$jude->legs." Legs</span><br /><span style="font-family: trebuchet ms;">";</span><br /><span style="font-family: trebuchet ms;">echo "Jane has " .$jane->legs." legs";</span><br /><span style="font-family: trebuchet ms;">?></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-38972894654038250052011-03-25T08:18:00.000-07:002011-03-25T08:20:25.622-07:00Creating A Class In PHP-Tutorial<span style="font-family: trebuchet ms;">Let's create a simple class to demonstrate the concepts discussed above. Create a new PHP document called sample_class.php. Our class is going to be called human.</span>
<br />
<br /><span style="font-family: trebuchet ms;">We know that a human has legs and arms, which in our class are going to represent the attributes. And we also know that humans walk, eat and sleep. These will act as the methods.</span>
<br />
<br /><span style="font-family: trebuchet ms;">Script: sample_class.php:</span>
<br />
<br /><span style="font-family: trebuchet ms;"><?</span>
<br /><span style="font-family: trebuchet ms;">class human{</span>
<br /><span style="font-family: trebuchet ms;">var $legs=2;</span>
<br /><span style="font-family: trebuchet ms;">var $arms=2;</span>
<br /><span style="font-family: trebuchet ms;">}</span>
<br /><span style="font-family: trebuchet ms;">//instantiate the class</span>
<br /><span style="font-family: trebuchet ms;">$jude = new human();</span>
<br /><span style="font-family: trebuchet ms;">echo "Jude has " .$jude->legs." legs";</span>
<br /><span style="font-family: trebuchet ms;">?></span>
<br />
<br /><span style="font-family: trebuchet ms;">Here we have a new object created from our human class, called jude. We also have a simple result saying how many legs Jude has. Note how the variable "legs"(declared in the class) is used without the dollar sign in the echo statement.</span>
<br />
<br /><span style="font-family: trebuchet ms;">As well as calling attributes, we can also modify the attributes in the same way. For example if we want the leg attribute to be increased by say, one, so that legs now equals three, then this is what we do:</span>
<br />
<br /><span style="font-family: trebuchet ms;"><?</span>
<br /><span style="font-family: trebuchet ms;">class human{</span>
<br /><span style="font-family: trebuchet ms;">var $legs=2;</span>
<br /><span style="font-family: trebuchet ms;">var $arms=2;</span>
<br /><span style="font-family: trebuchet ms;">}</span>
<br /><span style="font-family: trebuchet ms;">//instantiate the class</span>
<br /><span style="font-family: trebuchet ms;">$jude = new human();</span>
<br /><span style="font-family: trebuchet ms;">< style="color: red;" lang="EN-GB">$jude-</span>
<br /><span style="font-family: trebuchet ms;">>legs++; //increase legs by one</span>
<br /><span style="font-family: trebuchet ms;">echo "Jude has " .$jude->legs." legs";</span>
<br /><span style="font-family: trebuchet ms;">?></span>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-69609621980778127952011-03-25T08:16:00.000-07:002011-03-25T08:17:57.840-07:00How Can You Use Classes In PHP as Functions-Tutorial<span style="font-family: trebuchet ms;">Introduction</span><br /><br /><span style="font-family: trebuchet ms;">Continuing our PHP functions article, we move on to creating classes. Let me say right at the start that you can write perfectly effective and useful PHP code without creating classes or going into object oriented programming. Another thing is that PHP, at its core, is not an object oriented language. This is because PHP was built from the C language, which is at its core a procedural language, rather than a methodical one. However, object oriented programming can be very powerful and PHP programmers are increasingly taking advantage of these capabilities, which have been greatly expanded since PHP4.</span><br /><br /><span style="font-family: trebuchet ms;">What is a class?</span><br /><br /><span style="font-family: trebuchet ms;">A class is a collection of variables and functions that serves a common purpose. It gives you the ability to think about real world objects and translate them into code. For example, let's try to describe a car. The class "car" might have variables: $name_of_car, $wheels, $steeringwheel, $windscreen, $lights, $pedals and $brakes. The functions of a car might include Turnleft(),Turnright() and Accelerate(). The function "Accelerate()" might take arguments such as $increase_speed. Now, all of the above describes a car and what a car does in both real terms and in code.</span><br /><br /><span style="font-family: trebuchet ms;">Now you might ask, couldn't this be done with regular functions and variables? Yes, it could, especially if you were talking about one car. But if you are talking about more than one car, then it would be impossible to keep up with all the various variables and functions associated with multiple cars. This is where classes become very useful, because classes bring all those variables and functions under one name. In this case, it's an object named "car." Now if you have more than one car, all you have to do is instantiate that object. The term instantiate basically means making a copy of the object. The new copy will have all the variables and functions of the original object available to it. You can include the class in any script that you create; the class will work the same.</span><br /><br /><span style="font-family: trebuchet ms;">Let me sound a cautionary note. Although OOP makes coding easier and more portable, the objects' execution time is less efficient than writing straight code. And while OOP speeds up project development drastically, more often than not, it produces less customized and slower applications. So, be aware of these pitfalls when choosing to use OOP.</span><br /><br /><span style="font-family: trebuchet ms;">OOP is arguably difficult to learn, so in this article I am going to use very simple examples to demonstrate how to use OOP. This should help new users grasp the concepts easily. Also, because OOP is such a huge topic I will only deal with the basics so as to give you the ability to easily learn the more advanced aspects of it.</span><br /><br /><span style="font-family: trebuchet ms;">A class has the following members:</span><br /><br /><span style="font-family: trebuchet ms;">Attributes</span><br /><br /><span style="font-family: trebuchet ms;">Methods</span><br /><br /><span style="font-family: trebuchet ms;">A good example of a class is Human. A human class would have characteristics (attributes) of gender, hands, legs, age, and so forth. It would also have actions (methods) such as walking, eating, running, talking, and so on.</span><br /><br /><span style="font-family: trebuchet ms;">The syntax of a class is as follows:</span><br /><br /><span style="font-family: trebuchet ms;">class class_name{</span><br /><span style="font-family: trebuchet ms;">var $variable_name;</span><br /><span style="font-family: trebuchet ms;">functionfunction_name(){</span><br /><span style="font-family: trebuchet ms;">statements;</span><br /><span style="font-family: trebuchet ms;">}</span><br /><span style="font-family: trebuchet ms;">}</span><br /><br /><span style="font-family: trebuchet ms;">Notice that within the class you use the var keyword to identify your variables. At this point you can also assign a value to your variables. Try to use the same naming conventions as you would for functions. It is easier to recognize what a class is if it reflects its purpose(e.g. class Human_class{). Another keyword, $this, is used to refer to the instances of an object and its attributes e.g. $this->$variable_name. To instantiate a class means to create a new version of it. Say we have a class called dog, to instantiate it, we do this:</span><br /><br /><span style="font-family: trebuchet ms;">$rex = new dog();</span><br /><br /><span style="font-family: trebuchet ms;">Now, rex will have all the attributes of the class dog.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-3325222598914859392011-03-12T21:05:00.000-08:002011-03-12T21:12:38.196-08:00An Introduction On PHP<span style="font-family:trebuchet ms;">Up until recently, scripting on the internet was something which very few people even attempted, let alone mastered. Recently though, more and more people have been building their own websites and scripting languages have become more important. Because of this, scripting languages are becomming easier to learn and PHP is one of the easiest and most powerful yet.</span>
<br />
<br /><span style="font-family:trebuchet ms;">What Is PHP?</span>
<br />
<br /><span style="font-family:trebuchet ms;">PHP stands for Hypertext Preprocessor and is a server-side language. This means that the script is run on your web server, not on the user's browser, so you do not need to worry about compatibility issues. PHP is relatively new (compared to languages such as Perl (CGI) and Java) but is quickly becomming one of the most popular scripting languages on the internet.</span>
<br />
<br /><span style="font-family:trebuchet ms;">Why PHP?</span>
<br />
<br /><span style="font-family:trebuchet ms;">You may be wondering why you should choose PHP over other languages such as Perl or even why you should learn a scripting language at all. I will deal with learning scripting languages first. Learning a scripting language, or even understanding one, can open up huge new possibilities for your website. Although you can download pre-made scripts from sites like Hotscripts, these will often contain advertising for the author or will not do exactly what you want. With an understanding of a scripting language you can easily edit these scripts to do what you want, or even create your own scripts.</span>
<br />
<br /><span style="font-family:trebuchet ms;">Using scripts on your website allows you to add many new 'interactive' features like feedback forms, guestbooks, message boards, counters and even more advanced features like portal systems, content management, advertising managers etc. With these sort of things on your website you will find that it gives a more professional image. As well as this, anyone wanting to work in the site development industry will find that it is much easier to get a job if they know a scripting language.</span>
<br />
<br /><span style="font-family:trebuchet ms;">What Do I Need?</span>
<br />
<br /><span style="font-family:trebuchet ms;">As mentioned earlier, PHP is a server-side scripting language. This means that, although your users will not need to install new software, you web host will need to have PHP set up on their server. It should be listed as part of your package but if you don't know if it is installed you can find out using the first script in this tutorial. If you server does not support PHP you can ask your web host to install it for you as it is free to download and install. If you need a low cost web host which supports PHP I would recommmend HostRocket.</span>
<br />
<br /><span style="font-family:trebuchet ms;">Writing PHP</span>
<br />
<br /><span style="font-family:trebuchet ms;">Writing PHP on your computer is actually very simple. You don't need any specail software, except for a text editor (like Notepad in Windows). Run this and you are ready to write your first PHP script.</span>
<br />
<br /><span style="font-family:trebuchet ms;">Declaring PHP</span>
<br />
<br /><span style="font-family:trebuchet ms;">PHP scripts are always enclosed in between two PHP tags. This tells your server to parse the information between them as PHP. The three different forms are as follows:</span>
<br />
<br />
<br />
<br />
<br />
<br /><script language="php"><br />PHP Code In Here<br /></script>
<br />
<br /><span style="font-family:trebuchet ms;">All of these work in exactly the same way but in this tutorial I will be using the first option (). There is no particular reason for this, though, and you can use either of the options. You must remember, though, to start and end your code with the same tag (you can't start with for example).</span>
<br />
<br /><span style="font-family:trebuchet ms;">Your First Script</span>
<br />
<br /><span style="font-family:trebuchet ms;">The first PHP script you will be writing is very basic. All it will do is print out all the information about PHP on your server. Type the following code into your text editor:</span>
<br />
<br />
<br />
<br /><span style="font-family:trebuchet ms;">As you can see this actually just one line of code. It is a standard PHP function called phpinfo which will tell the server to print out a standard table of information giving you information on the setup of the server.</span>
<br />
<br /><span style="font-family:trebuchet ms;">One other thing you should notice in this example is th</span>
<br /><span style="font-family:trebuchet ms;">at the line ends in a semicolon. This is very important. As with many other scripting and programming languages nearly all lines are ended with a semicolon and if you miss it out you will get an error.</span>
<br />
<br /><span style="font-family:trebuchet ms;">Finishing and Testing Your Script</span>
<br />
<br /><span style="font-family:trebuchet ms;">Now you have finished your script save it as phpinfo.php and upload it to your server in the normal way. Now, using your browser, go the the URL of the script. If it has worked (and if PHP is installed on your server) you should get a huge page full of the information about PHP on your server.</span>
<br />
<br /><span style="font-family:trebuchet ms;">If your script doesn't work and a blank page displays, you have either mistyped your code or your server does not support this function (although I have not yet found a server that does not). If, instead of a page being displayed, you are prompted to download the file, PHP is not installed on your server and you should either serach for a new web host or ask your current host to install PHP.</span>
<br />
<br /><span style="font-family:trebuchet ms;">It is a good idea to keep this script for future reference.</span>
<br />
<br /><span style="font-family:trebuchet ms;">Part 2</span>
<br />
<br /><span style="font-family:trebuchet ms;">In this part I have introduced you to the basics of writing and running PHP. By this time you should now know if your host supports PHP and should have a basic understanding of how PHP scripts are structured. In part 2 I will show you how to print out information to the browser.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-81485962024609668042011-03-12T21:04:00.000-08:002011-03-12T21:05:47.041-08:00Learn PHP For Beginners<span style="font-family: trebuchet ms;">You must have at least some basic idea of HTML before you start this tutorial. You might want to take the HTML Tutorial first.</span><br /><br /><span style="font-family: trebuchet ms;">This tutorial on PHP is a complete tutorial for beginners.</span><br /><br /><span style="font-family: trebuchet ms;">This tutorial assumes that you know nothing about PHP. However a little knowledge about web terms like web server, browser, HTTP requests etc would be of extreme help. This tutorial tries to give you knowledge about almost all major PHP concepts like Variables, Operators, conditional calculation (If-Else etc.), form processing etc.</span><br /><br /><span style="font-family: trebuchet ms;">Wherever possible, the output of a PHP code example is given adjacent to the code itself. This will help you grasp PHP concepts easily.</span><br /><br /><span style="font-family: trebuchet ms;">If you have any doubt, just ask a question in PHP Forum.</span><br /><br /><span style="font-family: trebuchet ms;">What else, Just like all other tutorials on this website, this stuff too comes absolutely free!</span><br /><br /><span style="font-family: trebuchet ms;">Happy Learning!<br /><br /><a href="http://tutorialindia.com/php/index.php"><br />Learn PHP For Beginners</a><br /></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-73554274876724247112011-03-12T20:52:00.000-08:002011-03-12T20:57:14.475-08:00A PHP Script To Trace Country From IP Address<span style="font-family: trebuchet ms;font-size:180%;" ><span style="font-weight: bold;">Basic script for country identification of IP</span></span>
<br />
<br /><span style="font-family: trebuchet ms;">In order to use this script, download compressed Database files in the top of this page, save them within a directory named "ip_files", and use the function bellow to get a two letters country code. If you want to identify visitors from specific countries, check here</span>
<br /><span style="font-family: trebuchet ms;"> $value){</span>
<br /><span style="font-family: trebuchet ms;"> if($key<=$code){ if($ranges[$key][0]>=$code){$country=$ranges[$key][1];break;}</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> if ($country==""){$country="unkown";}</span>
<br /><span style="font-family: trebuchet ms;"> return $country;</span>
<br /><span style="font-family: trebuchet ms;">}</span>
<br /><span style="font-family: trebuchet ms;"><?php</span>
<br /><span style="font-family: trebuchet ms;"> $two_letter_country_code=iptocountry("101.102.103.104");</span>
<br />
<br /><span style="font-family: trebuchet ms;"> function iptocountry($ip) { </span>
<br /><span style="font-family: trebuchet ms;"> $numbers = preg_split( "/\./", $ip); </span>
<br /><span style="font-family: trebuchet ms;"> include("ip_files/".$numbers[0].".php");</span>
<br /><span style="font-family: trebuchet ms;"> $code=($numbers[0] * 16777216) + ($numbers[1] * 65536) + ($numbers[2] * 256) + ($numbers[3]); </span>
<br /><span style="font-family: trebuchet ms;"> foreach($ranges as $key => $value){</span>
<br /><span style="font-family: trebuchet ms;"> if($key<=$code){</span>
<br /><span style="font-family: trebuchet ms;"> if($ranges[$key][0]>=$code){$country=$ranges[$key][1];break;}</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> if ($country==""){$country="unkown";}</span>
<br /><span style="font-family: trebuchet ms;"> return $country;</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> ?></span>
<br />
<br /><span style="font-family: trebuchet ms;">How the function works:</span>
<br /><span style="font-family: trebuchet ms;">• Line 5: IP address will be split into individual numbers and saved to an array($numbers).</span>
<br /><span style="font-family: trebuchet ms;">• Line 6: Based in the first number of the IP address ("101" in the example), a PHP file in ip_files/ directory will be included (in the example the file to be included will be "ip_files/101.php"). This file has known country codes for IP addresses starting with the selected first number (p.e: 101.###.###.###, where # is any digit).</span>
<br /><span style="font-family: trebuchet ms;">• Line 7: IP address is transform into appropriate code.</span>
<br /><span style="font-family: trebuchet ms;">• Line 8-12: Data from "ip_files/101.php" is checked in order to find a range of codes which includes the code obtained by transforming our IP.</span>
<br /><span style="font-family: trebuchet ms;">• Line 13: In case IP address is not included in the database, the value for $country will be "unkown". </span>
<br /><span style="font-family: trebuchet ms;">• Line 14: Two letter country code is returned. In case no matches are obtained, the function will return "" (nothing). </span>
<br /><span style="font-family: trebuchet ms;">Hope it works fine for you. </span>
<br />
<br />
<br /><span style="font-family: trebuchet ms;">Getting the IP address of visitors and displaying the country</span>
<br /><span style="font-family: trebuchet ms;">In case we want to identify geographical location of visitors, we must get from them the IP address.</span>
<br /><span style="font-family: trebuchet ms;">The IP address of visitors will be contained in the enviromental variable $REMOTE_ADDR</span>
<br /><span style="font-family: trebuchet ms;">In the example bellow, depending upon country code, info 1 or info 2 is shown:</span>
<br /><span style="font-family: trebuchet ms;"> $value){</span>
<br /><span style="font-family: trebuchet ms;"> if($key<=$code){ if($ranges[$key][0]>=$code){$two_letter_country_code=$ranges[$key][1];break;}</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> if ($two_letter_country_code==""){$two_letter_country_code="unkown";}</span>
<br /><span style="font-family: trebuchet ms;"> return $two_letter_country_code;</span>
<br /><span style="font-family: trebuchet ms;">}</span>
<br /><span style="font-family: trebuchet ms;">?></span>
<br />
<br /><span style="font-family: trebuchet ms;">Getting the IP address of visitors and displaying three letters country code or complete country name</span>
<br /><span style="font-family: trebuchet ms;">On request, we have added to the compressed document a file named countries.php. </span>
<br /><span style="font-family: trebuchet ms;">This file may be used to display three letters country code or complete name of country. The code bellow allows getting both data:</span>
<br /><span style="font-family: trebuchet ms;">";</span>
<br /><span style="font-family: trebuchet ms;">print "Three letters code: $three_letter_country_code</span>
<br /><span style="font-family: trebuchet ms;">";</span>
<br /><span style="font-family: trebuchet ms;">print "Country name: $country_name</span>
<br /><span style="font-family: trebuchet ms;">";</span>
<br />
<br /><span style="font-family: trebuchet ms;">function iptocountry($ip) {</span>
<br /><span style="font-family: trebuchet ms;"> $numbers = preg_split( "/\./", $ip);</span>
<br /><span style="font-family: trebuchet ms;"> include("ip_files/".$numbers[0].".php");</span>
<br /><span style="font-family: trebuchet ms;"> $code=($numbers[0] * 16777216) + ($numbers[1] * 65536) + ($numbers[2] * 256) + ($numbers[3]);</span>
<br /><span style="font-family: trebuchet ms;"> foreach($ranges as $key => $value){</span>
<br /><span style="font-family: trebuchet ms;"> if($key<=$code){ if($ranges[$key][0]>=$code){$two_letter_country_code=$ranges[$key][1];break;}</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> if ($two_letter_country_code==""){$two_letter_country_code="unkown";}</span>
<br /><span style="font-family: trebuchet ms;"> return $two_letter_country_code;</span>
<br /><span style="font-family: trebuchet ms;">}</span>
<br /><span style="font-family: trebuchet ms;">?></span>
<br />
<br />
<br /><span style="font-family: trebuchet ms;">Getting the IP address of visitors, and displaying country and flag</span>
<br />
<br /><span style="font-family: trebuchet ms;">In case you want to display flags in your page, download Flags file in the top of this page, and save all pictures to a folder named "flags" . </span>
<br />
<br /><span style="font-family: trebuchet ms;">We have added a few lines of code to script is previous example (in red) which allows showing country specific flags in our pages. This code will check whether a gif file containing the two country code exists in "flags" folder and displays it. In case the gif file in not in the folder, a default white flag is displayed. In case you have any of the missing flags, please send them to us. </span>
<br /><span style="font-family: trebuchet ms;">";</span>
<br /><span style="font-family: trebuchet ms;">print "Three letters code: $three_letter_country_code</span>
<br /><span style="font-family: trebuchet ms;">";</span>
<br /><span style="font-family: trebuchet ms;">print "Country name: $country_name</span>
<br /><span style="font-family: trebuchet ms;">";</span>
<br />
<br /><span style="font-family: trebuchet ms;">// To display flag</span>
<br /><span style="font-family: trebuchet ms;">$file_to_check="flags/$two_letter_country_code.gif";</span>
<br /><span style="font-family: trebuchet ms;">if (file_exists($file_to_check)){</span>
<br /><span style="font-family: trebuchet ms;"> print "</span><img style="font-family: trebuchet ms;" src="http://www.blogger.com/$file_to_check" width="30" height="15" />
<br /><span style="font-family: trebuchet ms;">";</span>
<br /><span style="font-family: trebuchet ms;"> }else{</span>
<br /><span style="font-family: trebuchet ms;"> print "</span><img style="font-family: trebuchet ms;" src="http://www.blogger.com/flags/noflag.gif" width="30" height="15" />
<br /><span style="font-family: trebuchet ms;">";</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br />
<br /><span style="font-family: trebuchet ms;">function iptocountry($ip) {</span>
<br /><span style="font-family: trebuchet ms;"> $numbers = preg_split( "/\./", $ip);</span>
<br /><span style="font-family: trebuchet ms;"> include("ip_files/".$numbers[0].".php");</span>
<br /><span style="font-family: trebuchet ms;"> $code=($numbers[0] * 16777216) + ($numbers[1] * 65536) + ($numbers[2] * 256) + ($numbers[3]);</span>
<br /><span style="font-family: trebuchet ms;"> foreach($ranges as $key => $value){</span>
<br /><span style="font-family: trebuchet ms;"> if($key<=$code){ if($ranges[$key][0]>=$code){$two_letter_country_code=$ranges[$key][1];break;}</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> }</span>
<br /><span style="font-family: trebuchet ms;"> if ($two_letter_country_code==""){$two_letter_country_code="unkown";}</span>
<br /><span style="font-family: trebuchet ms;"> return $two_letter_country_code;</span>
<br /><span style="font-family: trebuchet ms;">}</span>
<br /><span style="font-family: trebuchet ms;">?> </span>
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-88141867887363278132011-03-12T20:37:00.000-08:002011-03-12T20:47:46.873-08:00A Very Simple Hit Counter Tutorial In PHP<span style="font-weight: bold; font-family: trebuchet ms;">Simple Hit counter</span>
<br />
<br />
<br /><span style="font-family: trebuchet ms;">A hit counter will let us know how many times a page is accessed. In case one visitors loads the page several times, the hit counter will increase several times (but this is likely to happen only a few times).</span>
<br />
<br /><span style="font-family: trebuchet ms;">The code for the hit counter bellow will save the number of hits in a file named counter.txt (the name of this file may be changed). Each time the page is loaded, the file will be read, the number will be increased by one and the new number will be saved to the same file.</span>
<br />
<br /><span style="font-family: trebuchet ms;">counter.php</span>
<br />
<br /><small style="font-family: trebuchet ms;"><?php
<br />
<br />//The file where number of hits will be saved; name may be changed; p.e. "/counter_files/counter1.txt"
<br />$counterfile = "<span style="color: rgb(255, 0, 0); font-weight: bold;">counter.txt</span>";
<br />
<br />// Opening the file; number of hit is stored in variable $hits
<br />$fp = fopen($counterfile,"r");
<br /> <span style="color: rgb(204, 51, 204); font-weight: bold;">$hits</span> = fgets($fp,100);
<br />fclose($fp);
<br />
<br />//increading number of hits
<br /> </small><small style="font-family: trebuchet ms;"><span style="color: rgb(204, 51, 204); font-weight: bold;">$hits</span></small><small style="font-family: trebuchet ms;">++;
<br />
<br />//saving number of hits
<br />$fp = fopen($counterfile,"w");
<br />fputs($fp, </small><small style="font-family: trebuchet ms;"><span style="color: rgb(204, 51, 204); font-weight: bold;">$hits</span></small><small style="font-family: trebuchet ms;">);
<br />fclose($fp);
<br />
<br />//printing hits; you may remove next line (and keep the counter only for your records)
<br />print </small><small style="font-family: trebuchet ms;"><span style="color: rgb(204, 51, 204); font-weight: bold;">$hits</span></small><small style="font-family: trebuchet ms;">;
<br />
<br />?></small>
<br />
<br />
<br /><span style="font-family: trebuchet ms;">To use this code, copy it to your page in the exact position where you want to show number of hits. If your page is a ".html" page, change the extension to ".php". Them, visit your page. In the first visit, you will get a couple of errors (the file where number of hits are recorded does not exists, so some errors will be shown in the page). Reload the page and you will see no errors. The hit counter will be working.</span>
<br />
<br /><span style="font-family: trebuchet ms;">In case you want to use different hit counters for different pages, chage name of $counterfile for each page (p.e.: counter1.txt, counter2.txt, etc). </span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-51417232972916818332011-03-12T20:34:00.000-08:002011-03-12T20:37:26.475-08:00PHP Tutorials For Beginners<span style="font-family: trebuchet ms;">Create a file named hello.php and put it in your web server's root directory (DOCUMENT_ROOT) with the following content:</span>
<br />
<br /><span style="font-family: trebuchet ms;">Example #1 Our first PHP script: hello.php</span>
<br /><span style="font-family: trebuchet ms;"><html></span>
<br /><span style="font-family: trebuchet ms;"> <head></span>
<br /><span style="font-family: trebuchet ms;"> <title>PHP Test</title></span>
<br /><span style="font-family: trebuchet ms;"> </head></span>
<br /><span style="font-family: trebuchet ms;"> <body></span>
<br /><span style="font-family: trebuchet ms;"> <?php echo '<p>Hello World</p>'; ?> </span>
<br /><span style="font-family: trebuchet ms;"> </body></span>
<br /><span style="font-family: trebuchet ms;"></html></span>
<br />
<br /><span style="font-family: trebuchet ms;">Use your browser to access the file with your web server's URL, ending with the /hello.php file reference. When developing locally this URL will be something like http://localhost/hello.php or http://127.0.0.1/hello.php but this depends on the web server's configuration. If everything is configured correctly, this file will be parsed by PHP and the following output will be sent to your browser:</span>
<br />
<br /><span style="font-family: trebuchet ms;"><html></span>
<br /><span style="font-family: trebuchet ms;"> <head></span>
<br /><span style="font-family: trebuchet ms;"> <title>PHP Test</title></span>
<br /><span style="font-family: trebuchet ms;"> </head></span>
<br /><span style="font-family: trebuchet ms;"> <body></span>
<br /><span style="font-family: trebuchet ms;"> <p>Hello World</p></span>
<br /><span style="font-family: trebuchet ms;"> </body></span>
<br /><span style="font-family: trebuchet ms;"></html></span>
<br />
<br /><span style="font-family: trebuchet ms;">This program is extremely simple and you really did not need to use PHP to create a page like this. All it does is display: Hello World using the PHP echo() statement. Note that the file does not need to be executable or special in any way. The server finds out that this file needs to be interpreted by PHP because you used the ".php" extension, which the server is configured to pass on to PHP. Think of this as a normal HTML file which happens to have a set of special tags available to you that do a lot of interesting things.</span>
<br />
<br /><span style="font-family: trebuchet ms;">If you tried this example and it did not output anything, it prompted for download, or you see the whole file as text, chances are that the server you are on does not have PHP enabled, or is not configured properly. Ask your administrator to enable it for you using the Installation chapter of the manual. If you are developing locally, also read the installation chapter to make sure everything is configured properly. Make sure that you access the file via http with the server providing you the output. If you just call up the file from your file system, then it will not be parsed by PHP. If the problems persist anyway, do not hesitate to use one of the many » PHP support options.</span>
<br />
<br /><span style="font-family: trebuchet ms;">The point of the example is to show the special PHP tag format. In this example we used <?php to indicate the start of a PHP tag. Then we put the PHP statement and left PHP mode by adding the closing tag, ?>. You may jump in and out of PHP mode in an HTML file like this anywhere you want. For more details, read the manual section on the basic PHP syntax.</span>
<br />
<br /><span style="font-family: trebuchet ms;"> Note: A Note on Line Feeds</span>
<br />
<br /><span style="font-family: trebuchet ms;"> Line feeds have little meaning in HTML, however it is still a good idea to make your HTML look nice and clean by putting line feeds in. A linefeed that follows immediately after a closing ?> will be removed by PHP. This can be extremely useful when you are putting in many blocks of PHP or include files containing PHP that aren't supposed to output anything. At the same time it can be a bit confusing. You can put a space after the closing ?> to force a space and a line feed to be output, or you can put an explicit line feed in the last echo/print from within your PHP block.</span>
<br />
<br /><span style="font-family: trebuchet ms;"> Note: A Note on Text Editors</span>
<br />
<br /><span style="font-family: trebuchet ms;"> There are many text editors and Integrated Development Environments (IDEs) that you can use to create, edit and manage PHP files. A partial list of these tools is maintained at » PHP Editors List. If you wish to recommend an editor, please visit the above page and ask the page maintainer to add the editor to the list. Having an editor with syntax highlighting can be helpful.</span>
<br />
<br /><span style="font-family: trebuchet ms;"> Note: A Note on Word Processors</span>
<br />
<br /><span style="font-family: trebuchet ms;"> Word processors such as StarOffice Writer, Microsoft Word and Abiword are not optimal for editing PHP files. If you wish to use one for this test script, you must ensure that you save the file as plain text or PHP will not be able to read and execute the script.</span>
<br />
<br /><span style="font-family: trebuchet ms;"> Note: A Note on Windows Notepad</span>
<br />
<br /><span style="font-family: trebuchet ms;"> If you are writing your PHP scripts using Windows Notepad, you will need to ensure that your files are saved with the .php extension. (Notepad adds a .txt extension to files automatically unless you take one of the following steps to prevent it.) When you save the file and are prompted to provide a name for the file, place the filename in quotes (i.e. "hello.php"). Alternatively, you can click on the 'Text Documents' drop-down menu in the 'Save' dialog box and change the setting to "All Files". You can then enter your filename without quotes.</span>
<br />
<br /><span style="font-family: trebuchet ms;">Now that you have successfully created a working PHP script, it is time to create the most famous PHP script! Make a call to the phpinfo() function and you will see a lot of useful information about your system and setup such as available predefined variables, loaded PHP modules, and configuration settings. Take some time and review this important information. </span>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-33538266467489822202011-03-12T20:31:00.002-08:002011-03-12T20:34:43.276-08:00An Introduction Tutorial For Arrays in PHP For Beginners<!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-IN</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>X-NONE</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="--"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} </style> <![endif]--> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><b><span style="font-size: 18pt;">PHP Array Introduction</span></b></p> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><span style="font-size: 12pt;">The array functions allow you to manipulate arrays.</span></p> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><span style="font-size: 12pt;">PHP supports both simple and multi-dimensional arrays. There are also specific functions for populating arrays from database queries.</span></p> <div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal; font-family: trebuchet ms;" align="center"><span style="font-size: 12pt;"> <hr width="100%" align="center" size="2"> </span></div> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><b><span style="font-size: 18pt;">Installation</span></b></p> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><span style="font-size: 12pt;">The array functions are part of the PHP core. There is no installation needed to use these functions.</span></p> <div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal; font-family: trebuchet ms;" align="center"><span style="font-size: 12pt;"> <hr width="100%" align="center" size="2"> </span></div> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><b><span style="font-size: 18pt;">PHP Array Functions</span></b></p> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><b><span style="font-size: 12pt;">PHP</span></b><span style="font-size: 12pt;">: indicates the earliest version of PHP that supports the function. </span></p> <table class="MsoNormalTable" style="width: 100%; font-family: trebuchet ms;" width="100%" border="1" cellpadding="0" cellspacing="0"> <tbody><tr style=""> <td style="width: 35%; padding: 0cm;" valign="top" width="35%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><b><span style="font-size: 12pt;">Function</span></b></p> </td> <td style="width: 60%; padding: 0cm;" valign="top" width="60%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><b><span style="font-size: 12pt;">Description</span></b></p> </td> <td style="width: 5%; padding: 0cm;" valign="top" width="5%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><b><span style="font-size: 12pt;">PHP</span></b></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array.asp"><span style="font-size: 12pt; color: blue;">array()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Creates an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_change_key_case.asp"><span style="font-size: 12pt; color: blue;">array_change_key_case()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns an array with all keys in lowercase or uppercase</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_chunk.asp"><span style="font-size: 12pt; color: blue;">array_chunk()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Splits an array into chunks of arrays</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_combine.asp"><span style="font-size: 12pt; color: blue;">array_combine()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Creates an array by using one array for keys and another for its values</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_count_values.asp"><span style="font-size: 12pt; color: blue;">array_count_values()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns an array with the number of occurrences for each value</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_diff.asp"><span style="font-size: 12pt; color: blue;">array_diff()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array values, and returns the differences</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_diff_assoc.asp"><span style="font-size: 12pt; color: blue;">array_diff_assoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys and values, and returns the differences</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_diff_key.asp"><span style="font-size: 12pt; color: blue;">array_diff_key()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys, and returns the differences</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_diff_uassoc.asp"><span style="font-size: 12pt; color: blue;">array_diff_uassoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys and values, with an additional user-made function check, and returns the differences</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_diff_ukey.asp"><span style="font-size: 12pt; color: blue;">array_diff_ukey()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys, with an additional user-made function check, and returns the differences</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_fill.asp"><span style="font-size: 12pt; color: blue;">array_fill()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Fills an array with values</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_filter.asp"><span style="font-size: 12pt; color: blue;">array_filter()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Filters elements of an array using a user-made function</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_flip.asp"><span style="font-size: 12pt; color: blue;">array_flip()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Exchanges all keys with their associated values in an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_intersect.asp"><span style="font-size: 12pt; color: blue;">array_intersect()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array values, and returns the matches</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_intersect_assoc.asp"><span style="font-size: 12pt; color: blue;">array_intersect_assoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys and values, and returns the matches</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_intersect_key.asp"><span style="font-size: 12pt; color: blue;">array_intersect_key()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys, and returns the matches</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_intersect_uassoc.asp"><span style="font-size: 12pt; color: blue;">array_intersect_uassoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys and values, with an additional user-made function check, and returns the matches</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_intersect_ukey.asp"><span style="font-size: 12pt; color: blue;">array_intersect_ukey()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys, with an additional user-made function check, and returns the matches</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_key_exists.asp"><span style="font-size: 12pt; color: blue;">array_key_exists()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Checks if the specified key exists in the array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_keys.asp"><span style="font-size: 12pt; color: blue;">array_keys()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns all the keys of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_map.asp"><span style="font-size: 12pt; color: blue;">array_map()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sends each value of an array to a user-made function, which returns new values</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_merge.asp"><span style="font-size: 12pt; color: blue;">array_merge()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Merges one or more arrays into one array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_merge_recursive.asp"><span style="font-size: 12pt; color: blue;">array_merge_recursive()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Merges one or more arrays into one array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_multisort.asp"><span style="font-size: 12pt; color: blue;">array_multisort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts multiple or multi-dimensional arrays</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_pad.asp"><span style="font-size: 12pt; color: blue;">array_pad()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Inserts a specified number of items, with a specified value, to an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_pop.asp"><span style="font-size: 12pt; color: blue;">array_pop()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Deletes the last element of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_product.asp"><span style="font-size: 12pt; color: blue;">array_product()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Calculates the product of the values in an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_push.asp"><span style="font-size: 12pt; color: blue;">array_push()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Inserts one or more elements to the end of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_rand.asp"><span style="font-size: 12pt; color: blue;">array_rand()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns one or more random keys from an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_reduce.asp"><span style="font-size: 12pt; color: blue;">array_reduce()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns an array as a string, using a user-defined function</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_reverse.asp"><span style="font-size: 12pt; color: blue;">array_reverse()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns an array in the reverse order</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_search.asp"><span style="font-size: 12pt; color: blue;">array_search()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Searches an array for a given value and returns the key</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_shift.asp"><span style="font-size: 12pt; color: blue;">array_shift()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Removes the first element from an array, and returns the value of the removed element</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_slice.asp"><span style="font-size: 12pt; color: blue;">array_slice()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns selected parts of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_splice.asp"><span style="font-size: 12pt; color: blue;">array_splice()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Removes and replaces specified elements of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_sum.asp"><span style="font-size: 12pt; color: blue;">array_sum()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns the sum of the values in an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_udiff.asp"><span style="font-size: 12pt; color: blue;">array_udiff()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array values in a user-made function and returns an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_udiff_assoc.asp"><span style="font-size: 12pt; color: blue;">array_udiff_assoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys, and compares array values in a user-made function, and returns an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_udiff_uassoc.asp"><span style="font-size: 12pt; color: blue;">array_udiff_uassoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys and array values in user-made functions, and returns an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_uintersect.asp"><span style="font-size: 12pt; color: blue;">array_uintersect()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array values in a user-made function and returns an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_uintersect_assoc.asp"><span style="font-size: 12pt; color: blue;">array_uintersect_assoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys, and compares array values in a user-made function, and returns an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_uintersect_uassoc.asp"><span style="font-size: 12pt; color: blue;">array_uintersect_uassoc()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Compares array keys and array values in user-made functions, and returns an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_unique.asp"><span style="font-size: 12pt; color: blue;">array_unique()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Removes duplicate values from an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_unshift.asp"><span style="font-size: 12pt; color: blue;">array_unshift()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Adds one or more elements to the beginning of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_values.asp"><span style="font-size: 12pt; color: blue;">array_values()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns all the values of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_walk.asp"><span style="font-size: 12pt; color: blue;">array_walk()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Applies a user function to every member of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_walk_recursive.asp"><span style="font-size: 12pt; color: blue;">array_walk_recursive()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Applies a user function recursively to every member of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">5</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_arsort.asp"><span style="font-size: 12pt; color: blue;">arsort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array in reverse order and maintain index association</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_asort.asp"><span style="font-size: 12pt; color: blue;">asort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array and maintain index association</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_compact.asp"><span style="font-size: 12pt; color: blue;">compact()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Create array containing variables and their values</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_count.asp"><span style="font-size: 12pt; color: blue;">count()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Counts elements in an array, or properties in an object</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_current.asp"><span style="font-size: 12pt; color: blue;">current()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns the current element in an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_each.asp"><span style="font-size: 12pt; color: blue;">each()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Returns the current key and value pair from an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_end.asp"><span style="font-size: 12pt; color: blue;">end()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sets the internal pointer of an array to its last element</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_extract.asp"><span style="font-size: 12pt; color: blue;">extract()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Imports variables into the current symbol table from an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_in_array.asp"><span style="font-size: 12pt; color: blue;">in_array()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Checks if a specified value exists in an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_key.asp"><span style="font-size: 12pt; color: blue;">key()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Fetches a key from an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_krsort.asp"><span style="font-size: 12pt; color: blue;">krsort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array by key in reverse order</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_ksort.asp"><span style="font-size: 12pt; color: blue;">ksort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array by key</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_list.asp"><span style="font-size: 12pt; color: blue;">list()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Assigns variables as if they were an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_natcasesort.asp"><span style="font-size: 12pt; color: blue;">natcasesort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array using a case insensitive "natural order" algorithm</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_natsort.asp"><span style="font-size: 12pt; color: blue;">natsort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array using a "natural order" algorithm</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_next.asp"><span style="font-size: 12pt; color: blue;">next()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Advance the internal array pointer of an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_pos.asp"><span style="font-size: 12pt; color: blue;">pos()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Alias of current()</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_prev.asp"><span style="font-size: 12pt; color: blue;">prev()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Rewinds the internal array pointer</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_range.asp"><span style="font-size: 12pt; color: blue;">range()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Creates an array containing a range of elements</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_reset.asp"><span style="font-size: 12pt; color: blue;">reset()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sets the internal pointer of an array to its first element</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_rsort.asp"><span style="font-size: 12pt; color: blue;">rsort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array in reverse order</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_shuffle.asp"><span style="font-size: 12pt; color: blue;">shuffle()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Shuffles an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_sizeof.asp"><span style="font-size: 12pt; color: blue;">sizeof()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Alias of count()</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_sort.asp"><span style="font-size: 12pt; color: blue;">sort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_uasort.asp"><span style="font-size: 12pt; color: blue;">uasort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array with a user-defined function and maintain index association</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_uksort.asp"><span style="font-size: 12pt; color: blue;">uksort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array by keys using a user-defined function</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><a href="http://www.w3schools.com/PHP/func_array_usort.asp"><span style="font-size: 12pt; color: blue;">usort()</span></a><span style="font-size: 12pt;"></span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Sorts an array by values using a user-defined function</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">3</span></p> </td> </tr> </tbody></table> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal; font-family: trebuchet ms;"><span style="font-size: 12pt;"> </span></p> <div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal; font-family: trebuchet ms;" align="center"><span style="font-size: 12pt;"> <hr width="100%" align="center" size="2"> </span></div> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><b><span style="font-size: 18pt;">PHP Array Constants</span></b></p> <p class="MsoNormal" style="line-height: normal; font-family: trebuchet ms;"><b><span style="font-size: 12pt;">PHP</span></b><span style="font-size: 12pt;">: indicates the earliest version of PHP that supports the constant. </span></p> <table class="MsoNormalTable" style="width: 100%; font-family: trebuchet ms;" width="100%" border="1" cellpadding="0" cellspacing="0"> <tbody><tr style=""> <td style="width: 35%; padding: 0cm;" width="35%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><b><span style="font-size: 12pt;">Constant</span></b></p> </td> <td style="width: 60%; padding: 0cm;" width="60%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><b><span style="font-size: 12pt;">Description</span></b></p> </td> <td style="width: 5%; padding: 0cm;" width="5%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><b><span style="font-size: 12pt;">PHP</span></b></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">CASE_LOWER</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used with array_change_key_case() to convert array keys to lower case</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">CASE_UPPER</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used with array_change_key_case() to convert array keys to upper case</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">SORT_ASC</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used with array_multisort() to sort in ascending order</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">SORT_DESC</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used with array_multisort() to sort in descending order</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">SORT_REGULAR</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used to compare items normally</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">SORT_NUMERIC</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used to compare items numerically</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">SORT_STRING</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used to compare items as strings</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">SORT_LOCALE_STRING</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">Used to compare items as strings, based on the current locale </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">4</span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">COUNT_NORMAL</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">COUNT_RECURSIVE</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_OVERWRITE</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_SKIP</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_PREFIX_SAME</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_PREFIX_ALL</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_PREFIX_INVALID</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_PREFIX_IF_EXISTS</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_IF_EXISTS</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> <tr style=""> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;">EXTR_REFS</span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> <td style="padding: 0cm;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt;"> </span></p> </td> </tr> </tbody></table>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-81830507973053349472010-06-21T01:39:00.000-07:002011-07-06T22:31:24.656-07:00Books On PHP and MySQL<p style="font-family:trebuchet ms;">'<span style="font-weight: bold;">PHP and MySQL</span>' was the first e-book I bought when I started learning PHP and let me tell you this is the best e-book you will ever come across.I still did not believe that it just cost me 12$.The specialty of this e-book is that it is written in very simple and easy to understand language.Buy this book only if you are completely new to PHP just like I was 3 years ago.</p><br /><br /><p style="font-family:trebuchet ms;">The reason why I liked this e-book is that it contains a lot of examples and everything is explained in details and that too in very simple language.You will need only a few hours to learn this book and completely grasp all the important features of this powerful technology.In just a few hours you will start feeling very comfortable with PHP.This book will teach you everything right from the scratch and will take you to intermediate level in just a few hours. </p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: trebuchet ms;" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6jlH6j6vIU27ipEmuUtMDgeuYhX1EItk9wGR8NAumLUQ4ls6V0nOZKMmqXsaqcBuZgOMG6RBtYj0Wo5khsP6teqnwnjPIfCNsI0snheIns5rFlcLQWfFQvVsGDfl8EaSZ7yoVSdtwY78z/s1600/PHPandMySQL.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 322px; height: 400px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6jlH6j6vIU27ipEmuUtMDgeuYhX1EItk9wGR8NAumLUQ4ls6V0nOZKMmqXsaqcBuZgOMG6RBtYj0Wo5khsP6teqnwnjPIfCNsI0snheIns5rFlcLQWfFQvVsGDfl8EaSZ7yoVSdtwY78z/s400/PHPandMySQL.png" alt="Best Book on PHP and MySQL" id="BLOGGER_PHOTO_ID_5485149665011448450" border="0" /></a><br /><br /><p style="text-align: center; font-weight: bold; font-family: trebuchet ms;"><a onclick="document.location.href='http://tinyurl.com/253fobx';return false;" href="http://www.phpebook.net/bestseller-php-ebook.php" rel="nofollow"><span style="font-size:180%;"><u>BUY this e-Book now just for 12$</u></span></a></p><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">PHP section of this book contains:</p><br /><br /><p style="font-family:trebuchet ms;"><span style="font-weight: bold;">Basic Syntax</span>: In the first PHP tutorial of this PHP Book, you will learn the basic syntax of Script Programming.</p><br /><br /><p style="font-family:trebuchet ms;"><span style="font-weight: bold;">Variables</span>: This is the second tutorial of this PHP book.Here you will learn how to deal with variables.<br /></p><br /><br /><p style="font-family:trebuchet ms;"><span style="font-weight: bold;">Data Types</span>: This PHP tutorial will help you know and learn about the various datatypes used in this language. It thoroughly explains all the data types used in this scripting language along with examples.</p><br /><br /><br /><p style="font-family:trebuchet ms;"><span style="font-weight: bold;">Code matrix</span>: In this PHP tutorial you will learn how to create and work with matrix.<br /></p><br /><br /><br /><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Constants</u></span><u>: In the fifth chapter of this PHP Book you will learn ,how to define and use constants .<br /></u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Operators</u></span><u>: This PHP tutorial describes all the operators used in PHP.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Logical</u></span><u>: This PHP tutorial will take you through the logical part of PHP.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Control Structures</u></span><u>: Here you will learn about control structures used in this programming language.<br /></u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Loops</u></span><u>: Here you will learn the in depth structure of loops, along with various simple examples.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Functions</u></span><u>: This PHP tutorial will provide you with in depth knowledge about functions and how to set and call functions using this server side scripting technology.<br /></u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Classes and Objects</u></span><u>: You will learn about Objects and Classes.Provides 'Introduction to Objects and Classes'.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>References</u></span><u> : You will learn about References and will be able to answer your all Reference (How to) questions.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Arrays</u></span><u>: This part of this PHP Book will teach you about single and multidimensional arrays in PHP.Contains lots of examples and their detailed explanation.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Include files</u></span><u>: This PHP tutorial will teach you on how to include files while creating script.></u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Cookies</u></span><u>: This part of this fantastic PHP Book will help you learn about cookies and cookies handling.This chapter will teach you on how to set cookies and read from a cookie and destroy cookies with PHP.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Parameters</u></span><u>: This tutorial will show you in a very simple manner on how to pass parameters.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Forms</u></span><u>: This tutorial of this well known PHP book explains Form creation and handling in PHP.Teaches , how to create and use Forms.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Upload files</u></span><u> : This PHP tutorial is a very interesting one.It will teach you on how can you upload files on your server using PHP scripts.</u></p><u><br /><br /><br /></u><p style="font-weight: bold; font-family: trebuchet ms;"><u>Introduction to MySQL</u></p><u><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>View</u></span><u>: This tutorial begins the MySQL section.This very simple tutorial will teach you ,how you can read information from MySQL database.</u></p><u><br /><br /><br /></u><p style="font-family:trebuchet ms;"><span style="font-weight: bold;"><u>Consultation and Ordering</u></span><u>:Explains consultation and ordering of information.</u></p><u><br /><br /><br /></u><p face="trebuchet ms"><span style="font-weight: bold;"><u>Inclusion and Update</u></span><u>: Shows on how can you write and update information from a database.</u></p><u><br /><br /><br /></u><p style="font-family: trebuchet ms;"><span style="font-weight: bold;"><u>Excluded</u></span><u>: This is a separate chapter which teaches on how can you exclude information from a database.</u></p><u><br /><br /><br /></u><p style="font-family: trebuchet ms;"><u>All the topics of this beginners PHP Book are covered with detailed examples. With this PHP book,you don't only get to learn PHP through well organized PHP tutoirials but you can also learn about MySQL.I bet that once you have this PHP book along your side, you will start programming in few hours.</u></p><u><br /><br /></u><pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: trebuchet ms; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 10px; line-height: 5px; width: 100%;"><u><br /><br /><a href="http://learning-php-tutorials.blogspot.com/">PHP Tutorials</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-development-and-design.html"> PHP Development and Design</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-learning-prerequisites.html">PHP Learning Prerequisites</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/books-on-php-and-mysql.html">PHP Books</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-install-how-to-install-php-52-and.html">PHP Install for Windows</a><br /><br /><br /></u></pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-79023225075954541422010-06-20T23:04:00.000-07:002010-06-21T02:15:35.285-07:00PHP Install - How to install PHP 5.2 and later<p style="font-weight: bold; font-family: trebuchet ms;">PHP Installation with Windows Installer for PHP 5.2 and later</p><br /><br /><p style="font-family:trebuchet ms;">The PHP installer for WINDOWS for version 5.2 and above has benn built using MSI technology using the Wix Toolkit.You can search for the source code on sourceforge. Using this PHP installer you can install and configure PHP and all the built-in PECL extensions,as well as configure many popular web servers such as IIS, Apache, and Xitami.</p><br /><br /><p face="trebuchet ms">First, you need to install your selected HTTP Web server on your system, and make sure that it is working properly. Then proceed with one of the following install types.</p><br /><br /><p face="trebuchet ms"><span style="font-weight: bold;">Normal Installation Process</span><br /></p><br /><br /><p face="trebuchet ms">First run the MSI installer and follow the instructions provided by the installation wizard. You will be prompted to choose the Web Server you wish to configure first, along with any configuration details needed.</p><br /><br /><p style="font-family: trebuchet ms;">You will then be prompted to choose which features and extensions you wish to install and enable. By selecting "Will be installed on local hard drive" in the drop-down menu for each item you can trigger whether to install the feature or not. By selecting "Entire feature will be installed on local hard drive", you will be able to install all sub-features of the included feature ( for example by selecting this options for the feature "PDO" you will install all PDO Drivers ).</p><br /><br /><p style="font-family: trebuchet ms;"><span style="font-weight: bold;">Warning regarding PHP Installation</span><br /></p><br /><br /><p style="font-family: trebuchet ms;">It is not at all recommended to install all extensions by default, since many other them require dependencies from outside PHP in order to function properly. Instead, use the Installation Repair Mode that can be triggered thru the 'Add/Remove Programs' in the Control panel to enable or disable extensions and features after installation.</p><br /><br /><p style="font-family: trebuchet ms;">The installer then sets up PHP to be used in Windows and the php.ini file, and configures certain web servers to use PHP. The installer will currently configure IIS, Apache, Xitami, and Sambar Server; if you are using a different web server you'll need to configure it manually.</p><br /><br /><p style="font-family: trebuchet ms;"><span style="font-weight: bold;">Silent Installation for PHP 5.2</span><br /></p><br /><br /><p style="font-family: trebuchet ms;">The installer also supports a silent mode, which is helpful for Systems Administrators to deploy PHP easily. To use silent mode:</p><br /><br /><br /><p style="font-family: trebuchet ms;">msiexec.exe /i php-VERSION-win32-install.msi /q</p><br /><br /><p style="font-family: trebuchet ms;">You can control the install directory by passing it as a parameter to the install. For example, to install to d:\php:</p><br /><br /><br /><p style="font-family: trebuchet ms;">msiexec.exe /i php-VERSION-win32-install.msi /q INSTALLDIR=e:\php</p><br /><br /><p style="font-family: trebuchet ms;">You can also use the same syntax to specify the Apache Configuration Directory (APACHEDIR), the Sambar Server directory (SAMBARDIR), and the Xitami Server directory (XITAMIDIR).</p><br /><br /><p style="font-family: trebuchet ms;">You can also specify what features to install. For example, to install the mysqli extension and the CGI executable:</p><br /><br /><br /><p style="font-family: trebuchet ms;">msiexec.exe /i php-VERSION-win32-install.msi /q ADDLOCAL=cgi,ext_php_mysqli</p><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">The current list of features to install it are as follows:</p><br /><br /><br /><p style="font-family: trebuchet ms;">MainExecutable - php.exe executable ( no longer available as of PHP 5.2.10/5.3.0; it is now included by default )</p><br /><p style="font-family: trebuchet ms;">ScriptExecutable - php-win.exe executable</p><br /><span style="font-family:trebuchet ms;">ext_php_* - the various extensions ( for example: ext_php_mysql for MySQL )</span><br /><span style="font-family:trebuchet ms;">apache13 - Apache 1.3 module</span><br /><span style="font-family:trebuchet ms;">apache20 - Apache 2.0 module</span><br /><span style="font-family:trebuchet ms;">apache22 - Apache 2,2 module</span><br /><span style="font-family:trebuchet ms;">apacheCGI - Apache CGI executable</span><br /><span style="font-family:trebuchet ms;">iis4ISAPI - IIS ISAPI module</span><br /><span style="font-family:trebuchet ms;">iis4CGI - IIS CGI executable</span><br /><span style="font-family:trebuchet ms;">iis4FastCGI - IIS CGI executable</span><br /><span style="font-family:trebuchet ms;">NSAPI - Sun/iPlanet/Netscape server module</span><br /><span style="font-family:trebuchet ms;">netserve - NetServe Web Server CGI executable</span><br /><span style="font-family:trebuchet ms;">Xitami - Xitami CGI executable</span><br /><span style="font-family:trebuchet ms;">Sambar - Sambar Server ISAPI module</span><br /><span style="font-family:trebuchet ms;">CGI - php-cgi.exe executable</span><br /><span style="font-family:trebuchet ms;">PEAR - PEAR installer</span><br /><span style="font-family:trebuchet ms;">Manual - PHP Manual in CHM Format</span><br /><br /><p style="font-family: trebuchet ms;">For more information on installing MSI installers from the command line, visit » <a href="http://msdn.microsoft.com/en-us/library/aa367988.aspx">PHP MSI Installation</a>.<br /></p><p style="font-weight: bold; font-family: trebuchet ms;">Updating PHP 5.2 with the Complete Install</p><br /><br /><p style="font-family: trebuchet ms;">To upgrade, run the installer either graphically or from the command line as normal. The installer will read your current install options, remove your old installation, and reinstall PHP with the same options as before. It is recommended that you use this method of keeping PHP updated instead of manually replacing the files in the installation directory.</p><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">Read More about</p><br /><br /><p style="font-family: trebuchet ms;"><a href="http://learning-php-tutorials.blogspot.com/2010/06/php-learning-prerequisites.html">The Prerequisites for PHP learning</a>.</p><br /><br /><p style="font-family: trebuchet ms;"><a href="http://learning-php-tutorials.blogspot.com/2010/06/php-development-and-design.html">PHP Development and Design - The Complete Guide</a>.</p><br /><pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: trebuchet ms; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 10px; line-height: 5px; width: 100%;"><br /><br /><a href="http://learning-php-tutorials.blogspot.com/">PHP Tutorials</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-development-and-design.html"> PHP Development and Design</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-learning-prerequisites.html">PHP Learning Prerequisites</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/books-on-php-and-mysql.html">PHP Books</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-install-how-to-install-php-52-and.html">PHP Install for Windows</a><br /><br /><br /></pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-88824502284637651012010-06-19T07:42:00.000-07:002010-06-21T02:14:59.976-07:00PHP learning prerequisites<p style="font-family: trebuchet ms;">We can define PHP as an HTML-embedded scripting language. PHP has been designed keeping in mind the programmers who have already been working with other popular programming languages like C, Java Perl.Therefore to make the transition easier or rather we can say to make PHP easier to understand it syntax have been kept similar to that of C,Perl,Java.PHP may also be defined as a Rapid application tool (RAD) for Web because it enables web developers to create dynamic web pages quickly.Until recently scripting on Internet was not that popular between web developers.Nobody tried to learn it. But today, more and more people have been building their own websites from scratch and scripting languages have become more and more important. Because of this increasing popularity of scripting languages,they are becoming easier to learn and PHP is one of the easiest and most powerful yet.PHP stands for Hypertext Preprocessor and is a server-side scripting language. This means that the script is run on your web server, not in the user's browser, so web developers do not need to worry about compatibility issues. PHP is relatively new when you compare it to other similar languages such as Perl (CGI) and Java, but is quickly becoming one of the most popular scripting languages on the Internet.</p><br /><br /><br /><p style="font-family:trebuchet ms;">You may be wondering why you should choose PHP over other languages such as Perl or even why you should learn a scripting language at all,but let me tell you that scripting languages will play a very vital role in the evolutions of future programming language. I will tell you about learning scripting languages first. Learning a scripting language, or even understanding one, can open up huge new possibilities for your website. Although you can download pre-made scripts from sites like <a href="http://www.hotscripts.com/">Hotscripts</a>, these will often contain built in ads from the author or will not do exactly what you want. With an understanding of a scripting language you can easily edit these scripts to do what you want, or even create your own scripts.</p><br /><br /><p face="trebuchet ms">Using scripts on your website allows you to add many new 'interactive' features like feedback forms, counters, message boards, guestbooks and even more advanced features like content management,portal systems , advertising managers etc. With these sort of things on your website you will find that it gives a more professional look. As well as this, anyone wanting to work in the site development industry will find that it is much easier to get a job if they know a scripting language.Knowing a scripting language will always work to your advantage.When someone visits your PHP web page, the PHP code is processed in your server.It then sees which parts it needs to show to visitors(content and pictures) and which part needs to be hidden(file operations, math calculations, etc.) then converts your PHP into HTML. After the processing is completed into HTML, it sends the web page to your visitor's web browser.</p><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">What can PHP do for you</p><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">PHP will allow you to:</p><br /><br /><span style="font-family:trebuchet ms;"> * Create large websites very quickly.</span><br /><span style="font-family:trebuchet ms;"> * Create a customized and friendly user experience for visitors based on information that you have gathered from them.</span><br /><span style="font-family:trebuchet ms;"> * Create various online tools and gadgets.Check out PHP - HotScripts for examples of the great things that are possible with PHP.</span><br /><span style="font-family:trebuchet ms;"> * Allow creation of professional shopping carts for e-commerce websites.</span><br /><br /><p face="trebuchet ms"><span style="font-weight: bold;">What you should already know before start learning PHP</span><br /></p><br /><br /><p style="font-family: trebuchet ms;">Before starting to learn PHP there are certain pre requisites. It is important that you have a basic understanding and experience in the following:</p><br /><br /><span style="font-family:trebuchet ms;"> * Hyper Text Markup Language (HTML) - Know the syntax and especially HTML Forms.</span><br /><span style="font-family:trebuchet ms;"> * Basic programming knowledge - This isn't mandatory, but if you have any traditional programming experience it will make learning PHP a great deal easier.</span><br /><br /><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">What do you need to start programming with PHP</p><br /><br /><br /><p style="font-family: trebuchet ms;">As mentioned earlier, PHP is a server-side scripting language. This means that, although your users will not need to install new software, your web host will need to have PHP set up on their server. It should be listed as part of your package but if you don't know if it is installed you can find out using the first script in this tutorial. If you server does not support PHP you can ask your web host to install it for you as it is free to download and install.</p><br /><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">Writing PHP</p><br /><br /><p style="font-family: trebuchet ms;">Writing PHP on your computer is actually very simple. You don't need any special software, except for a text editor (like Notepad in Windows). Run this and you are ready to write your first PHP script.</p><br /><br /><p style="font-weight: bold; font-family: trebuchet ms;">How to Save Your PHP Pages</p><br /><br /><p style="font-family: trebuchet ms;">If you have PHP inserted into your HTML and want the web browser to interpret it correctly, then you must save the file with a .php extension, instead of the standard .html extension. So be sure to check that you are saving your files correctly. Instead of index.html, it should be index.php if there is PHP code in the file.</p><br /><br /><p style="font-family: trebuchet ms;">Want to learn more about <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-development-and-design.html">PHP development and Design</a>.<br /></p><br /><br /><p style="font-family: trebuchet ms;">More External resource on <a href="http://www.communitymx.com/content/article.cfm?cid=d5084">PHP learning</a>.</p><br /><pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: trebuchet ms; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 10px; line-height: 5px; width: 100%;"><br /><br /><a href="http://learning-php-tutorials.blogspot.com/">PHP Tutorials</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-development-and-design.html"> PHP Development and Design</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-learning-prerequisites.html">PHP Learning Prerequisites</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/books-on-php-and-mysql.html">PHP Books</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-install-how-to-install-php-52-and.html">PHP Install for Windows</a><br /><br /><br /></pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3685960283798943780.post-38809248738052451652010-06-19T01:47:00.000-07:002011-07-06T22:34:56.679-07:00PHP Development and Design<p style="font-family:trebuchet ms;"><span style="font-weight: bold;">PHP (stands for PHP:Hypertext preprocessor)</span> is a general purpose server side scripting technology like ASP to create dynamic and interactive web pages.The PHP code is embedded in the HTML source document and is translated,interpreted and converted by a web server with a PHP processor module, which generates the web page document.PHP scripts are executed on the server.PHP was created by Rasmus Lerdorf in 1995 and has been in continuous development since after that.PHP originally stood for personal home page and was commonly known by the name PHP Tools.It began in 1994 as a set of CGI binaries written in the C programming language by Rasmus Lerdorf.Lerdorf initially created these Personal Home Page Tools to replace a small set of Perl scripts which was in common use to maintain personal homepages. The tools were used to perform tasks such as displaying resume of the developer and owner of a web page and recording traffic statistics.</p><br /><br /><p style="font-family: trebuchet ms;">Rasmus then developed PHP to the next level by combining binaries with Form Interpreter to create PHP/FI, which had more functionality. PHP/FI was largely implemented by C programming language and could easily communicate with databases, enabling developer to develop and build simple, dynamic web applications. Lerdorf released PHP publicly on June 8, 1995, as an open source in order to improve it further by detecting and removing buggy code from the entire PHP source code.Rasmus named it PHP version 2 and already had the basic functionality of the PHP which is in use today. This included Perl-like variables, form handling, and the ability to embed HTML. The syntax was similar to Perl too but was more limited, simpler, and less consistent.PHP today does not have native support for Unicode or multi byte strings.Unicode support is under development for a future version of PHP and will allow strings as well as class, method, and function names to contain non-ASCII characters.</p><br /><br /><p style="font-family: trebuchet ms;">Initially PHP was not very popular but with the increase in the growth of web application,PHP development has become very important in countries like India,where PHP development has increased over the years.</p><br /><br /><br /><span style="font-weight: bold;font-family:trebuchet ms;" >Why to use PHP</span><br /><br /><p style="font-family: trebuchet ms;">There are many reasons as for why you should consider developing applications using PHP:</p><br /><br /><ul style="font-family: trebuchet ms;"><li>PHP supports all the major operating system like Windows,Linux,Unix and many others.</li><li>PHP is very simple and easy to learn and understand language.If you are familiar with PERL then you can easily get acquainted with PHP.</li><li>PHP is FREE.You can download PHP from its official website and start to learn it instantly.</li><li>It is an open source software.So PHP development continue for years to come.</li></ul><br /><span style="font-weight: bold;font-family:trebuchet ms;" >Features of PHP</span><br /><br /><ul style="font-family: trebuchet ms;"><li>PHP is a language which is suited to server site web development.</li><li>PHP can be easily used with Relational Database management systems.</li><li>Using web application framework PHP can also be used in Rapid Application Development.</li><li>PHP also supports all the major databases used today like Oracle,MySQL etc.</li><li>PHP is a loosely typed language.</li></ul><br /><span style="font-weight: bold;font-family:trebuchet ms;" >How to start using PHP</span><br /><br /><p style="font-family: trebuchet ms;">You just need a server that supports PHP.You just have to create some PHP files and the server will do the rest of the work for you.It will do all the parsing and response handling.<br />So its very easy to get started with PHP.Just download PHP and you are ready for PHP development.</p><br /><br /><br /><br /><pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: trebuchet ms; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 5px; width: 100%;"><br /><code><br /><br /><br /><br /><br />NOTE:Latest Version of PHP is PHP 5.3<br /><br /><br /><br /><br /><br /></code><br /><br /></pre><br /><br /><span style="font-weight: bold;font-family:trebuchet ms;" >PHP Compilers</span><br /><br /><p style="font-family: trebuchet ms;">Today since PHP has grown in popularity ,so is the number of compiler it supports.The most common of the all is phc compiler,which is a c++ based compiler for PHP.</p><br /><br /><p><br /><span style="font-weight: bold;font-family:trebuchet ms;" ><br /><span style="font-weight: bold;">Other good PHP resources for beginners and Developers:</span><br /><br /><a href="http://www.w3schools.com/php/default.asp">PHP Tutorials</a><br /><br /><a href="http://php.net/index.php">PHP Official Site:Download PHP 5.3</a><br /><br /><a href="http://www.php-cli.com/">PHP Resource</a><br /><br /><a href="http://www.php.net/docs.php">PHP Manuals and Documentation</a><br /></span></p><br /><pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: trebuchet ms; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 10px; line-height: 5px; width: 100%;"><br /><a href="http://learning-php-tutorials.blogspot.com/">PHP Tutorials</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-development-and-design.html"> PHP Development and Design</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-learning-prerequisites.html">PHP Learning Prerequisites</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/books-on-php-and-mysql.html">PHP Books</a> <a href="http://learning-php-tutorials.blogspot.com/2010/06/php-install-how-to-install-php-52-and.html">PHP Install for Windows</a><br /><br /><br /></pre>Unknownnoreply@blogger.com0