Feed on
Subscription

What is PHP?

PHP is one kind of server end, inserts HTML the script language. What does PHP distinguish other elephant client side Javascript the place is its code carries out .PHP in the server end to be able to make?
  The lowest level, PHP may do the matter which any other CGI procedure can do, for example the collection form data, the production dynamic page content, or receives and dispatches cookies. to be possibly most formidable, the most meaningful characteristic is PHP supports the wide range the database. Writes a support database the Web page is the unbelievable simplicity.
  Below is the current support database:

PHP entra class

PHP is one kind uses in founding the dynamic WEB page's service end script language. Is similar to ASP and ColdFusion, the user may mix uses PHP and HTML compiles the WEB page, when the visitor glances over this page, the service end first will carry on processing to page's PHP order, after will then transmit together the processing result together with the HTML content visits asks the end the browser. But is different with ASP or ColdFusion, PHP is a seedling source code opening procedure, has the very good cross platform compatibility. The user may system as well as on many edition Unix system moves PHP in Windows the NT, moreover may take PHP the Apache server's built-in module or the CGI program run.

PHP installs

1. Unix/Windows: My php.ini document should place?
Under UNIX tacitly approves it to place under /usr/local/lib table of contents. This is its /lib. Many people when the translation will change it, use--with-config-file-path symbolized. For example, you may suppose it like this: --with-config-file-path=/etc

Then you may duplicate source program package in php.ini-dist to arrive at /etc/php.ini, edits it to meet your localized need.
Under Windows the php.ini default's way is Windows free the pictures system directory. If you in use Apache webserver, php.ini in Apaches installs under the table of contents to search first, for example: c:\program files\apache group \ apache. Like this you may have different php.ini to correspond the different versions Apache (on the identical Taiwan machine).
More details please consult configuration file.

PHP class one

PHP is one kind easy to study and the use server end script language. Only needs the very few programming knowledge you to be able to use PHP to establish a true interactive WEB stand. This course does not want to let you understand completely this language, is only can cause you to join the development dynamic web stand as soon as possible the ranks. I suppose you have HTML (or the HTML editor) the elementary knowledge and a programming thought.

1. synopsis

  PHP is can let you produce one of dynamic homepage tools. Representative PHP: Hypertext pretreatment (PHP: Hypertext Preprocessor). PHP is completely free, does not need to spend, you may download freely from the PHP official stand. PHP observes the GNU public permission (GPL), was born many popular software such as Linux under this permission and Emacs. You may not limit obtain the sound code, even may advance the characteristic which you need. PHP in the majority Unix platforms, GUN/Linux and in the Microsoft Windows platform may move. How machine or the Unix machine installed PHP in Windows on the environment PC the material to be possible to find in the PHP official stand, might also consult the homepage ceramic “the PHP installment all attacked prepares” the feature article. The installation process to be very simple.

Disposes newest PHP to add the MYSQL server

Through one hour research and establishment. Has realized newest PHP 5.0 + MYSQL 5.0 + WIN2003.
I believe has the necessity to write a course to come out. Because many aspects and old edition being different.
Spoke the truth oneself also to consult the official documents only then to solve the strange problem.

The related software may in the WWW.SKYCN.NET downloading.

MYSQL 5.0 FOR WINDOWS
PHP 5.0 FOR WINDOWS
PHPMYADMIN
WINDOWS SERVER 2003

PHP transfers the Oracle memory process

The PHP procedure visit database, definitely may use the memory process, some people thought that the use memory process is advantageous for the maintenance
However different people have different views, different people have different views, in this question, occasionally thought that the use memory process means must want DBA and a development personnel closer coordination, if a side changes, then maintains with difficulty obviously.
But the use memory process has two most obvious merits at least: Speed and efficiency.
The use memory process's speed is obviously quicker.
In efficiency, if applies one time needs to make a series of SQL operation, then needs to travel between in PHP and ORACLE, was inferior that puts directly this application to the database side reduces the round-trip number of times, increases the efficiency.
But in the INTERNET application, the speed is extreme important, therefore has the essential use memory process very much.

PHP has a group of image function

In PHP has a group of image function, may dynamic produce the gif form the image data stream and outputs the server. For this group of functions can work, in the system must have the gd storehouse support. If under Unix, should before translating PHP obtains gd the first sound code and translates it, produces libgd.a and some .h document, beats the system separately in the storehouse table of contents and the file directory (e.g. /usr/lib and /usr/include); If under Windows, PHP3.0 the installation procedure to install a gd.dll document, will add one in the procedure ' dl (“gd.dll”); 'then uses the image function.

PHP programs tips

PHP programs the commonly used skill four pieces

  1. disposes the PHP file directory

  As the server end explanation execution's script language, the PHP procedure lays aside, in some server may visit under the table of contents, may through revise Apache generally httpd.conj to carry on the disposition, for example we in this document:

  Alias /test/ “d:/phpwebsite/php/” that in browser end input: “http://localhost/test/+PHP filename” might visit under d:/phpwebsite/php/the PHP document; Obviously this line is to deposit the PHP document the table of contents to have an alias.

7 php applications tips

PHP (Hypertext Preprocessor) is in one kind of HTML inlays-like the language, is also at present the quite popular homepage programming language. It supports rear end database type every are many, contained nearly has covered the current all database system. Simultaneously it has contained general language some functions and so on mathematics operation, time processing, filing system, string of character processing, traveling schedule processing, in addition it is the free system, causes the cost and the benefit ratio, is equal to the infinitely great nearly.
Below is I when uses PHP makes the website, summarizes some small skills, takes entertains with food and drink by everybody.

PHP external system command

PHP takes one kind of server end the script language, compiles likely simply, or is complex dynamic homepage such duty, it can definitely be competent. But matter not always so, sometimes to realize some function, must draw support in operating system's exterior procedure (or called that it order), may achieve twice the result with half the effort like this.

Then, whether can transfer the external command in the PHP script? If energy, how to do? Some what aspect worry? Believed after you read this article, definitely could answer these questions.
« 1 2 3 »