Want to Test PHP Code


Does your shared hosting plan supports PHP, I am learning PHP, and I want to test my PHP code using some real server. I have got knowledge of HTML / XHTML and some scripting knowledge

You are most welcome, you can have a shared hosting basic unix plan for testing your php code.

PHP – Full form and cost


Do anybody knows what is the full form of the PHP? How much will it cost?

Well, PHP stands for PHP: Hypertext Preprocessor. PHP is a server-side scripting language, like ASP. PHP scripts are executed on the server. PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.). PHP is an open source software (OSS). PHP is free to download and use.

What about PHP


Hi guys,

What do think about PHP? Will this language can help me in my web development.

Well, according to me, PHP, arguably is the most popular Web scripting language in the world. I think, it will surely help you in your web site development.

if you have worked with a language such as C or Perl in the past, you will find the going much easier.

I do have worked with C in the past, but as we all know this is not a web programming language, but the PHP is. But, my question is will this could provide me in storage of lot information, which I want to collect it by survey on Internet.

I am late in joining, but, I will say that PHP is designed to integrate well with databases, so for this, I this type of website, this would be best for development.

Yes, this is true, PHP is a language that has outgrown its name. It was originally conceived as a set of macros to help coders maintain personal home pages, and its name grew from its purpose. Since then, PHP’s capabilities have been extended, taking it beyond a set of utilities to a full-featured programming language, capable of managing huge database-driven online environments.

PHP is the most popular Apache module available, beating mod_ssl, Perl, and FrontPage.

I also wanted to know, how it works?

PHP officially known as PHP: Hypertext Preprocessor is a server-side scripting language often written in an HTML context. Unlike an ordinary HTML page, a PHP script is not sent directly to a client by the server; instead, it is parsed by the PHP engine. HTML elements in the script are left alone, but PHP code is interpreted and executed. PHP code in a script can query databases, create images, read and write files, talk to remote servers—the possibilities are endless. The output from PHP code is combined with the HTML in the script and the result sent to the user.

PHP is also installed as a command-line application, making it an excellent tool for scripting on a server. Many system administrators now use PHP for the sort of automation that has been traditionally handled by Perl or shell scripting.

Why PHP and not C and Perl


Hi,

When the most powerful languages C and Perl are there, how does PHP fit for dynamic websites?

In this World wide web, there are lot of web scripting solutions.
There is great need to create sites with dynamic content in robust environments quickly and efficiently.

C can easily produce security holes if not carefully deployed and it is also hard to work with it, although it can be a great solution for creating fast server tools.

Perl, a language originally developed for text processing naturally met the demand for dynamic Web environments. Much easier to deploy safely than C, its slower performance has always been more than balanced by the comparatively fast development cycle it offers. Even more useful has been the increasing availability of a large number of stable code libraries for Perl.

That is why PHP here fits up. PHP was written especially for the Web. Many of the issues and problems faced by Web programmers are addressed within the language itself. Whereas a Perl programmer must use an external library or write code to acquire data submitted by the user of a Web page, PHP makes this data automatically available. Whereas a Perl programmer must install modules to enable her to write database-driven environments, PHP bundles a powerful SQL database library and provides built-in support for a whole range of third-party databases. In short, because PHP has been created for Web programmers, it has a set of functions for almost any typical problem you might encounter, from managing user sessions to handling XML documents.

PHP is designed to run as a module with many server applications, which means that there are none of the start-up overheads associated with CGI scripts. The fact that many typical tasks are handled by PHP means that developers are freed from reliance on utility libraries that can slow things down.

It is not the case that PHP does not provide libraries, though. Perl has the Comprehensive Perl Archive Network (CPAN), and PHP has the PHP Extension and Application Repository (PEAR)—its own repository of powerful packages that extend PHP‘s power.

New in PHP 5



People are taking so much about the PHP 5, what is new in that?

With the introduction of PHP 5 programmers will be enjoying numerous new features that will make their life more interesting.

i) PHP has new integrated for support for XML. The various functions and classes provided to handle XML in different ways all now use the same underlying library (libxml2). This should make XML features more stable and interoperable.

ii) The SQLite SQL library is now bundled with PHP, together with all the functions you need to work with it.

iii) PHP now supports private and protected methods and properties in classes.

iv) PHP supports class constants.

v) Objects passed to functions and methods are now passed by reference. That is, a reference to an object is passed around your script rather than copies of objects. This significantly reduces the likelihood of bugs in object-oriented code.

vi) PHP supports static methods and properties, making more advanced object-oriented designs possible.

vii) Methods can now be declared to require particular object types.

viii) The comparison operator (===) now checks that two references point to the same object. Previously, it was hard to test objects in this way.

ix) PHP now supports abstract classes and interfaces.

Zend related to PHP


I have learning PHP, but, most of the times, I used to come across the word Zend engine, how it is related to PHP

Hi,

Zend is a scripting engine that sits below the PHP-specific modules. It was optimized to ensure massively improved performance and extensibility.

With the introduction of the Zend Engine 2, PHP 5 brings new fundamental improvements. The engine provides significantly enhanced support for object-oriented programming. For the first time, objects and object-oriented design lie at the heart of PHP, making it an even more suitable platform for large enterprise applications.

Need time to develop a site


I am thinking of new project, which I want it to be completed within 10 days, I am thinking would it be possible as after designers, developers also need some time.

Well, you can continue with the coding stage when the design and build stages are on, this is because PHP allows you to separate HTML code from scripted elements. Not only can this make life easier for you as a programmer, but it also can remove obstacles that stand in the way of effective and flexible design.

Is PHP has got good performance


There are lot of other server scripting languages, such as ASP, Perl, and Java Servlets, can we say that PHP shows solid performance compared with other’s.

We can say that PHP shows solid performance compared with other server scripting languages, such as ASP, Perl, and Java Servlets because of the powerful zend engine. To further improve performance, you can acquire a caching tool (Zend Accelerator), it stores compiled code in memory, eliminating the overhead of parsing and interpreting source files for every request.

Will PHP application run on other OS


I have taken the unix shared plan from cpwebhosting.net, but, now I am feeling one problem, that on my PC I am having windows, and I am doing the development in PHP on that, will that application will run on the UNIX system.

No problem in that, PHP is designed to run on many operating systems and to cooperate with many servers and databases. You can build for a Unix environment and shift your work to NT without a problem. You can test a project with Personal Web Server and install it on a Unix system running on PHP as an Apache module.

Is PHP easy to learn


Is PHP an easy language to learn?

yes. You really can learn the basics of PHP in 24 hours. PHP provides an enormous wealth of functions that allow you to do things for which you would have to write custom code in other languages.