Archive for November, 2009

learn php
Levi Reiss asked:


PHP is the most widely used web scripting language. This great software enables even relatively inexperienced programmers to develop dynamic web sites for virtually any web application. In a nutshell that’s why you should learn it. Don’t let anyone tell you that learning PHP is a piece of cake. Like any other programming language, mastering PHP is not a simple task. In spite of any promises, you won’t become a master in 48 hours. So let’s take a closer look at why you should make the commitment to learn this language. But first a word of encouragement, you won’t have to master this extensive language to see the benefits.

Let’s look briefly at what you need to develop and test PHP programs. After all, you can’t learn to program without running and debugging (finding the errors in) real programs. The good news is that it is free. You can download it along with other useful applications for free. We recommend that you start with Version 4 unless you are an experienced programmer. Later on you can move up to Version 5. The rest of this article talks mostly about Version 4. A companion article will discuss Version 5.

PHP can run on old computers. For example, I downloaded it, copied it to a USB pen drive, and then copied these files onto a Pentium computer that had been purchased new in August, 1999. I couldn’t access this program under Windows 98 because it didn’t recognize my USB pen drive. But I ran it under Windows 2000 on this computer, which had an Internet browser but no live Internet connection. The entire system required less than 60 Megabytes. Moral of the story: You can run PHP even on outdated computers.

So you can do PHP. Why should you? First of all, it is open source. Free. Why pay big bucks for Microsoft or other competitive products? PHP and its friends are the most popular kids on the block. And it’s popular with a wide range of users from strict beginners to hard-nosed professionals whose careers depend on performance.

PHP integrates well with HTML. You can do most of your web pages in HTML if that’s what you are familiar with. If you prefer the newer XML you should move up to Version 5. It supports object-oriented programming. This article is not the place to explain object-oriented programming, the preferred methodology for developing sophisticated projects. Version 4 is a fine tool for learning the basics of object-oriented programming.

You won’t have to reinvent the wheel. PHP provides more than 100 libraries of programming functions and over a dozen database access functions. Because it is open source scads of programmers are constantly pushing the envelop.

PHP is fast and flexible. Many claim that for technical reasons it runs faster than its competitors including the Microsoft offerings. PHP programs can be moved from the Windows environment to the Linux environment and still run. Word to the wise: If you are ever thinking of going Linux make sure to pay strict attention to capitalization. Linux treats File1 and file1 as two different files while Windows treats them as the same file. If you are totally strict in the use of lower-case and capital letters, it’s very easy to move your web pages from Windows to Linux servers.



Tags: , ,

learn php
Craig Freshwater asked:


By: Craig S. Freshwater, Webmaster/CEO http://www.newcybertech.com http://newcybertech.com/Blog/2006/04/15/using-php-for-website-navigation-explained/

PHP can be very useful in your webiste design, I use PHP for my websites difficult functions such as forums, blogs, chat, user forms, and shopping cart interface. But did you know you can use simple PHP for your website navigation systems?

The use of PHP for your websites header, left side navigation, and bottom of page information can be a great asset. Now I know what you are thinking, PHP can be complicated and intimidating to many of you, but first let me explain. Using simple PHP include commands is a method any webmaster at any expertise level from novice to expert can implement with ease.

Most find editing PHP a frightening endeavor, but never fear, I will show you how.

A lot of us still use tables when designing our web pages instead of CCS, below is a veiw of the basic setup I will be discussing in this article:

Go here to see Image http://www.newcybertech.com/images/Artica1.jpg

As you can see from the image above, all the content surrounding the main content of each page will be shown in PHP and this is what this article is all about. The benefit of this technique will be when you update any of the surrounding PHP files, the results will be reflected on every page on your website that you have setup in this fashion. This sounds great right, but hold on, there is one more benefit.

You may say the same thing can be accomplished with robot include commands, but there is a catch to that.

The problem with the robot include command is that this content can not be seen by search engine robots. We all know that content is king to achieving high search engine rankings, so why hide the content you have? That’s why what I am about to teach you and using PHP for your website navigation is so important.

“All the information and links included in your navigation PHP can be seen and indexed by all the search engine robots for higher rankings.”

Now on to how it all Works:

Please read below if you need this information, if not browse down to the steps to generate PHP navigation on your website.

PHP: Hypertext Preprocessor, better known as PHP, is a highly popular, server-side scripting language that can be embedded directly into HTML coding.PHP can do anything that CGI can do, such as process form data and auto generate dynamic content, but PHP can do much more.It can be used on all major operating systems and supports most web servers.PHP is used by inserting PHP code inside your web page’s HTML code. When the page is called, your server automatically executes the code. What’s more, your visitors don’t need any special plug-ins for the code to run, as it will be displayed just like your HTML coding.As PHP is a server-side scripting language, although your visitors will not need to install any new software, PHP must be set up on your server.

Following is a very simple script that will test your server to ensure PHP is installed. It is a standard PHP function called phpinfo, which instructs the browser to print out information in regard to the set up of your server.

To use the script, simply copy the following three lines of code and paste them into a plain text editor, such as Note Pad.

Save the file as phpinfo.php and upload it to your server where you store your HTML files.

To run the script, simply point your browser to the script address. It should look something like this:

http://www.yourdomain.com/phpinfo.php

If PHP is installed on your server, you will be presented with a page of information about the PHP installed on your server.

If PHP isn’t installed, you will be prompted to download the file. In this case, you’ll need to contact your web host and ask them to install it, as it is free to download and install.

You can learn more about PHP and download it at

http://www.php.net/.

Steps to generate PHP navigation on your website.

First of all you need to enable create a php file with html includes using the php include function. This is easily done by adding one line to your .htaccess file for your apache driven site and have php parsed in html files. To do this logon to your websites FTP account, go into the .htdocs file, find the .htaccess file, edit it to add this one line of code to the file:

AddType application/x-httpd-php .php .html

With that, you can have php blocks parsed in your html files so long as you put the php code in php tags. Example below:

php Code:

We will get into how to use the above command a little later in this article . Now on to the steps:

Step 1. Build the the following pages in your favorite HTML editor: A. header.html B. left.html C. bottom.html D. right.html (optional) Or you can name these files what ever you like, but I will be referencing them as the above for this article. Once you have these pages built to your liking, we now start implementing with PHP. First build a new Index.html page, you can name it TEST or something until you get it the way you want it. Set it up with tables to look like the page below:

Go here to see Image http://www.newcybertech.com/images/Artica2.jpg

Step 2. Now here is the trick, rename each HTML page you just built, “header.html, left.html, bottom.html, and right.html (optional)” to the .php file extension. You can do this by opening each .html file in a text file editor such as Notepad and save as .php to the same directory as the .html files on your server. You will now have a copy of each file in HTML and PHP format.

Step 3. We are now ready to use the new PHP files, in each table around your main content we will insert the Command functions. See example below:

Go here to see Image http://www.newcybertech.com/images/php.jpg

Step 4. Open your new index page in your favorite browser and you will now see all the HTML pages you built come together as one page by using PHP.

Go here to see Image http://www.newcybertech.com/images/newcybertech.jpg

Step 5. Editing the new PHP navigation pages is easy, all you need to do is edit the HTML file you built in you favorite HTML editor. When your are done just copy the pages HTML and then paste it into the corresponding PHP file. To do this open the PHP file with a text editor and replace the HTML with in it with the edited version of HTML and save it as .php again. Now your PHP file is updated to match your edited HTML file.

In conclusion: Now when ever you update your website header and navigation pages the results will be reflected on every page on your website that you have setup in this fashion. And as a added bonus all the information and links included in your navigation PHP can be seen and indexed by all the search engine robots for higher rankings.

You have permission to publish this article electronically, in print, in your ebook or on your web site, free of charge, as long as the author bylines below are included.



Tags: , ,

learn php
Groshan Fabiola asked:


Advance your Dreamweaver Skills to the Next Level with PHP Training in London and enhance your Graphic Design skills with Photoshop Course in London

So now you know how Dreamweaver works and you are busy creating static, brochure-ware web sites. Well, surely that’s not where the learning curve ends is it? Your Dreamweaver introductory training will have given you the foundation to start a career as a web developer. However, if your aim is to take this career as far as possible, there are further courses you must attend. They are as easy and inexpensive as the previous, but they give you even more essential skills. A good Dreamweaver PHP or PHP MySQL course in London represents the next step into building a strong and successful career in web development.

When looking for Dreamweaver PHP training in London avoid the west end and city venues as you will most likely be paying for high costs of rent/hotels. Yes, they might put on a swanky pub meal at lunch but tell me - are you looking for a gourmet meal or are you looking for knowledge and enlightenment that will allow you to buy many such meals easily yourself in the nearest future?

The best type of Dreamweaver PHP training in London will be a course that allows you to take your Dreamweaver skills to the next level. On such a training course you should be able to build web pages that insert, search, delete or update records from a database. You should also learn how to create a registration page, Check User Name, Create a log in page, Restrict Access to Page and Log Out User.

Upon completing a Dreamweaver PHP course in London you will truly master how to develop dynamic web sites.  I’m sure you would like to be able to do that even if you have to go as far as Enfield in the North East of London.

Unlike the introductory courses about Dreamweaver, Dreamweaver PHP training in London requires Dreamweaver skills, because you must first know how to create a static web site to be able to make it a dynamic data- driven one. Dreamweaver PHP training in London is a one day course and for anyone looking to create dynamic web sites it would be a crying shame to miss it.

For those that are more used to hand-coding their web pages and want to learn PHP MySQL there is an upgrade course called PHP5 and MySQL training in London this is slightly more advanced and would take two days to complete.

Do not be fooled by the many PHP  training courses in London that want you to  remortgage your house or take out a huge loan because it really does not have to be this way. Perfecting your web technology skills and taking your career to the next level is much easier than that. If you have ever wondered what path to take in your life in order to have the money, career and lifestyle you have dreamed of, now is your chance to let go of all doubts and find the answer. Within a short period of time and with little money, you can become a web site developer and getting Dreamweaver and PHP training London is the best and most effective way to achieve that.

If the programming side of developing web sites is not your passion, and you are more interested in the visual aspects, then look for a Photoshop course in London to help you achieve your dreams. By attending Photoshop training in London you will acquire the necessary skills for screen and print. In just a couple of days, you will learn valuable techniques in images, compositing and retouching for online production and print.

Most Photoshop courses in London are aimed at teaching beginners or novices, so there are no requirements for previous knowledge. The only skills you must have are good mouse and keyboard skills. Moreover, by attending certain Photoshop training courses in London you will also have access to online support and tutorials, all at very competitive prices.

Starting a career in the web design and development world seems like something rather complicated until you have found the perfect training provider. There are many training organisations whose goal is to turn a beginner into a professional in no time. Photoshop courses in London, Dreamweaver training in London and Flash courses in London have the best reputation in the world for doing this. You just have to make sure you are going with the right one who will not charge you heaven and earth to gain the skills. More so, a training academy that respects its students and itself will not just be in the business for the money but also because they have an unwavering dedication towards taking students to the next level of development and supporting them along the way. Hence, providing not just introductory Dreamweaver training but also an advanced course, such as a PHP MySQL course in London.



Tags: , ,

learn php
ram kumar asked:


PHP Web Development

PHP is a scripting language designed for web development and can be embedded into HTML. PHP language runs on a web server, the code of PHP acts as the input and output is the creation of the web pages. The language is also used for command-line scripting and client-side GUI applications. PHP has been deployed on many web servers, operating systems and platforms. It is also useful with many database management systems. The complete source code is available to the users for free. The users can build; customize language according to their requirements.

PHP has been created by Rasmus Lerdorf in the year1995. PHP’s main implementation is now produced by The PHP Group and it is released under the PHP License. According to the Free Software Foundation it is considered as free software.

PHP was originally designed to create only dynamic web pages. It is a server-based script and is similar to other server-based script languages such as Microsoft’s ASP.NET system, Sun Microsystems’ JavaServer Pages and mod_perl. PHP’s main framework provides building blocks and design structure to promote rapid application development (RAD). Some of the frame works include CakePHP, PRADO, Symfony and Zend Framework.

PHP acts as a filter, taking input from a file or stream containing text and instructions the outputs for another stream of data. The most common form of the output is HTML. The most popular architecture is the LAMP architecture for deploying web applications. In PHP the P is refer to Python or Perl and it is used as bundle alongside with Linux, Apache and MySQL.

PHP interface also has Extensions with a number of systems such as IRC, and Windows API. PHP extensions are used in creating Macromedia Flash movies. In the Version 3, PHP has integrated object oriented features and Version 5 has limited functionalities. Now PHP has robust object capabilities such as interface, exceptions, destruction and abstractions which are a great help in the development of a website.

PHP has wide-spread popularity because of the version 4. It is considered as one of the top languages used for server-based scripting. The language is easy to learn. PHP has many arrays and variables which can hold any type of object, where the variables need not be declared, and the syntax is remarkably simple.

If you are looking for PHP Web Development and looking for a company who has the expertise in PHP technology working with latest PHP and My SQL version contact IT Chimes. IT Chimes is one of the few companies in India who has the needed knowledge, expertise and the resources to provide complex solution in PHP, Joomla, Drupal, Zen Cart, Zend Framework, OS Commerce and more.

For more information on PHP Web Development visit IT Chimes or email info@itchimes.com

Tags: , ,

learn php
Mansi Gupta asked:


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

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

The reason for the popularity is as follows:

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

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

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

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

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

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

PHP programming is the new revolution of the world!



Tags: , ,

learn php
Akhila Choudhary asked:


PHP is a server side scripting language and a widely used programming language for web and software product development. PHP is “Hypertext Preprocessor” a term rarely in the early 90s. PHP was the acronym for “Personal Home Page” in 1995, until it stood for Hypertext Preprocessor.

PHP was originally designed for use in web development, but today, it has rapidly grown as a robust language, which can be changed as per one’s requirements, both for development of system software and development of web based applications alike. This is because it supports different databases like MySQL, Oracle and Sybase.

What are PHP frameworks?

PHP: Hypertext Preprocessor framework’s objective is to make application process simpler. The framework helps a custom software company reuse the developed code in creating various applications.

Advantages of PHP Application Development

PHP offers various advantages to a custom software company in software and development of web applications. Some of them are as follows:

Cuts Software Development and Maintenance Costs: PHP is open source software, which means it’s free. The installation process does not require programmers to spend money. This cuts the application development and maintenance costs considerably.

Easy to Learn: PHP: Hypertext Preprocessor is simple and easy to learn as compared to any high level programming languages like ASP.net or C++. Programmers find no difficulty in creating rich applications with the help of PHP.

Versatility: Hypertext Preprocessor is versatile in nature. It can run on all major operating systems including Windows, Linux and Mac OS. It runs on almost all web servers including Apache and IIS.

Online software development Company boasts an excellent team of PHP developers for developing major software and web applications. The professionals are expert in developing ecommerce shopping carts with content management system, chat software, community tools, web calendars and many other applications. Outsourcing your software needs to such companies is a cost-effective way to create complicated, enterprise-class frameworks effectively by harnessing the powers of PHP: Hypertext Preprocessor.



Tags: , ,

learn php
Crivion asked:


In this article I will speak about PHP programming language and try to make it clear for every newbie which wants to start learning php. But, for beeing able to start learning this computer programming language, you should start by understand what is this and what is doing.

Well, PHP is a server-side programming language : server-side? means that the code is interpreted at level of the PHP engine installed on the web server. PHP is open-source (free at no cost). Beeing free of charge makes it very popular and I would say easy to use.

Where can be used php? Everywhere on the web, and I think desktop application can be coded too with the GTK feature but I dont know much about it so I will stop here talking about this. On the other side, for the web application development, you can build dynamic websites, database driven websites (for example MySQL, PostreSQL, etc.), diverse web forms like a contact form which will insert the infos into database system or send details entered in the form to a specified email address, etc.

How do you start the ball rolling? Well, please start reading introductory tutorials on php official website, then get a project in mind and try finding requirements needed for this project. This is the best way to learn : by practicing, not just reading tons of borring tutorials.

Once you got a project in mind, you will definitely need a php engine to be able to execute the code. How do you make this? Simply install a webserver like apache, add php server to this and mysql database engine. You’ll find a lot of documentation to help you doing this or there are a lot of ready made packs wich includes, php, apache, phpmyadmin, mysql, etc for example easyphp web server or xampp. They’re free and easy to install.

The second thing is to register at specific forums, where you can get support and help from the php gurus, because you really need fast help when errors will occure, and by the way, trust me you’ll encounter a lot of “strange” errors at the begining, which later will become just a routine.

And lastly, do not forget to get a nice code editor with code colloring, code auto-completion feature is very important too which will make developing faster. My tip here is to use Zend IDE (the php company) which is the best and includes mentioned features. Also, Adobe Dreamweaver is not bad, you can use that too which is nice for html/css client side scripting. I assumed that you already know html at least, it is very recommended to know it to make things clear in programming.

And, for the begining this should be enough for a novice to begin to learn php programming language at the basic level. Later, with the time and projects which are mandatory for progress, you’ll get experience and will advance maybe to OOP (object oriented programming) which is another thing important.

Good luck in learning!



Tags: , ,

learn php
Lina Smith asked:


A PHP tutorial script is a way to learn PHP language. PHP scripting is a powerful computer language for creating flexible, attention grabbing and interactive websites. Once you have learned by practicing in a PHP tutorial script you can script your own websites on the server-side of whatever Internet service provider you are using.

A PHP tutorial script will give you the ability to use the widespread, free, and open source alternative language to others such as Microsoft’s ASP. PHP tutorial script learning is perfectly suited for Web development and the code itself can be embedded directly into the HTML code of the Internet.

The PHP tutorial script will show you how the syntax of the language is very similar to Perl and C two other language precursors to PHP. PHP is often used in combination with Apache, a web server program on various operating systems such a Windows, Vista and Mac OSX. It also supports ISAPI and can be used with Microsoft’s IIS on Windows.

To make best use of the PHP tutorial scripts for learning and then developing websites you really need a basic grasp of HTML, the mother tongue of the Internet and some scripting experience. PHP actually stands for Hypertext Preprocessor and is very like ASP in that you do not need to use your computer capacity to use it as it sits on the server of the ISP yo are working with.

The PHP tutorial script lessons will quickly make you familiar with real PHP scripts that run on the server. PHP tutorial scripts will also let you see how PHP works with

many databases such as MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.

The PHP tutorial script qualification will give you entry into the PHP open source software community where you will contribute to the development of this web design tool. The PHP tutorial scripts and the PHP sotware is free to download and use.

The PHP tutorial scripts will be just like real PHP files and can contain text, HTML tags and scripts. When you script in PHP it is uploaded to the browser as plain HTML but PHP files have a file extensions of “.PHP”, “.PHP3″, or “.phtml”

If you have a server that supports PHP you don’t need to do anything. Simply use your PHP tutorial script knowledge to create some .PHP files in your web directory, and your server will parse them for you. Precisely because it is free, most web hosts offer PHP support.

When PHP reads a file, it picks out the opening and closing tags, which are PHP flags to start and stop operating the code between them. Parsing in this way allows PHP to be linked into all sorts of different documents, as everything outside of the opening and closing tags is unreadable the PHP parser. Most of the time, as the PHP tutorial scripts show, you will see PHP embedded in HTML documents.



Tags: , ,

learn php
Shivani Shah asked:


Welcome to the world of CS.

Welcome to the website of CS, here you can find links and resources specially on web-programming, webs-designing, and other website related resources. This site will basically show u details on PHP programming language. It is all on how to make your website dynamic and useful to others.

 

About PHP & Benefits of PHP

PHP is powerful robust webbased server side scripting language, used for creating functional, interactive and dynamic website. Besides all these feature it can be easily integrated with HTML (Hypertext Mark Up Language).

Overview

PHP is powerful robust webbased server side scripting language, used for creating functional, interactive and dynamic website. Besides all these feature it can be easily integrated with HTML (Hypertext Mark Up Language). PHP basically stands for Hypertext Preprocessor and is one of the best alternative to ASP (Active Server Page), much having dynamic functionality. Besides this it is open source and freely available.

 

PHP is Basically HTML Embedded scripting language. PHP syntax is very similar to Perl and C. PHP is often used together with Apache (web server) on various operating systems. It also supports ISAPI and can be used with Microsoft’s IIS on Windows.

 

Why to Use PHP?

 

PHP is one of the best Server Side Scripting Language.

PHP can be executed on different platforms like Linux, Unix, and Windows.

PHP is compatible with different servers like Apache, IIS and many more.

PHP is freely available on http://www.php.net/

 

The advantage of PHP as a language is that it can be easily integrated with HTML.. You can use PHP right inside your already existing HTML content, or put HTML tags right inside your PHP coding. When learning PHP you are not making your existing HTML knowledge obsolete, you are instead adding to it to give it more functions and abilities.

For further details kindly visit website http://www.creativeshivani.co.cc



Tags: , ,

learn php
Yasir Wazir asked:


PHP programmers can now get work on the internet via freelancing websites. Freelancing websites connects PHP programmers with people who need to build a site or any other small software. Freelancing sites are open markets where people can choose to do online jobs that they like. PHP is an open source language which means that it is free to install and use it. This is the reason why this language is becoming more popular with every passing day.

So, if you are an experienced programmer or a new comer, I suggest working at freelancing sites and earning some cash. You can even work at freelancing sites as a part time job. Incase you are thinking to learn some programming language, then I highly recommend PHP and MYSQL because both are freeware which means that you don’t have to pay anything to install them and both have high processing power which makes them very attractive. This is the reason why you see sites build using PHP with MYSQL database. You will see a big list of PHP online jobs at freelancing sites.

Secondly, it’s really easy to learn both PHP and MYSQL. I didn’t knew anything about programming when I decided to learn this language but surprisingly, I learn it in two months. Amazing right? Anyway, the basic thing that I wanted to tell you is that freelancing sites is the best place to do online PHP jobs. All you need is a computer and an internet connection and yes, off course, you need to have some site building experience in PHP and MYSQL. Learning this language is fun and it’s the key in success of your online jobs career. You will see many technical differences in PHP and other languages which makes it so easy to use. This does not mean that there are any less functionalities compared to other languages, infect, you will see that PHP have more functions compared to any other language. If you want to earn some good money by making websites, then online jobs at freelancing sites is the best option and I highly recommend to learn PHP and MYSQL.



Tags: , ,
Back to top