Recently, many people have asked me how to apply the title of PHP. let's write a PHP low-level exploitation tutorial. Even if you know nothing about PHP, you can understand it ~~ 1. what is PHP? PHP is a new type of CGI Programming Language. it is easy to learn and use, and runs fast.
Recently, many people have asked me how to apply the title of PHP. let's write a PHP low-level exploitation tutorial. Even if you know nothing about PHP, you can understand it ~~
1. what is PHP?
PHP is a new type of CGI Programming Language. it is easy to learn and use, and runs fast. it can easily and quickly compile and write powerful functions and run fast, it can also run Web background programs on Windows, Unix, and Linux platforms. It has built-in functions such as file upload, password authentication, Cookie control, Mail sending and receiving, and dynamic GIF, PHP directly provides a base connection for many databases, including Oracle, Sybase, S, Mysql, Informix, Dbase, Solid, Access, etc., fully supporting the ODBC interface. PHP4.0 provides more support for web servers, such as Zeus, Netscape Enterprise, and Apache Win32 module.
(The above paragraph was transferred from the Internet. have you been dizzy ......)
In short, I understand that PHP is a dynamic WEB scripting language. That's simple... for example, all my forum systems here are php programs.
2. Where can I find the PHP source code?
Of course, we cannot mean that everyone can write PHP programs independently. As an ordinary web page maker, we can apply ready-made PHP programs. Many sites provide free PHP source code downloads.
Among them, the most famous is the Chinese webmaster station (http://www.chinaz.com /). From this type of site, we can find the program source code we need.
3. how to apply the downloaded PHP source code?
After the source code is downloaded, no one knows how to use it. Next I will explain it step by step.
(1) view the code application to clarify:
Generally, all downloaded programs have readme files, which tell you how to install the application. Some programs only need to upload all files to apply them. Some programs need to run install. php for installation, depending on the specific situation.
(2) There are two ways to debug the program. One is to build a local debugging environment on your machine for debugging, and the other is to upload the program to the home page server for debugging.
Local debugging: apache, php, and mysql are generally used to build a local debugging environment. Since the three software are installed, the registry and many other settings need to be modified. it is too complicated for beginners. I recommend the phptraid software (:
1) PHP Server Builder for windows 1.3.
Includes:
Apache 2.0.47
PHP 4.3.3
Mysql 4.0.16
PHPMyadmin 2.5.4
Zend Optimizer 2.1.0
Http://www.myferly.com/
: Http://www.myferly.com/download/1.3/window...ws/VM/psb13.exe
Http://www.myferly.com/download/1.3/window.../NoVM/psb13.exe
========================================================== ==========================================
2. UniServer 2.7
Includes:
Apache 2.0.47
PHP 4.3.3
Zend Optimizer 2.1.0
PhpMyAdmin 2.5.3
MySQL 4.0.15
ActivePerl 5.8.0.806
Http://miniserver.sourceforge.net
#1: http://www.kphp.net/download.php? & Bbs_id = d... ype = 1 & doc_num = 5
#2: http://umn.dl.sourceforge.net/sourceforge/...niServer2_7.exe), the application of this software is very simple. You only need to run this program and install it in the C: \ apache Directory by default. Run apache.exe to display a dos window, indicating that apache is running and the window is always open. Put the php file to be debugged (for example, the file name is index. php), put it in the C: \ apache \ htdocs directory, and enter http: // 127.0.0.1/index in the browser. php, you can see the consequences of php running.