It's a PHP program that USES MySQL or PostgreSQL to store data.
这是一个PHP项目,使用MySQL或PostgreSQL存储数据。
Just as in other PHP program, the reading could equally well be done with fgets.
就像在其他PHP程序一样,读取可以很好地通过fgets完成。
Running this PHP program in the Apache server environment produces the following screen.
在Apache服务器环境下运行该PHP程序时,将产生如下屏幕。
It returns a connection object you can use throughout your PHP program. The following code shows an example.
它返回一个您可以在整个php程序中使用的连接对象。
At the same time, this is a completely free open source PHP program, welcome fans participate in the exchange.
同时,这是一个完全免费开源的PHP程序,欢迎各位爱好者参与交流。
This approach makes it much easier to untangle the sequence of calls that generate the eventual output for your PHP program.
该方法使得理清用来生成最终php程序输出的调用顺序变得容易得多。
As with other PHP extensions, to verify that Xdebug is installed and available, create a bare-bones PHP program to call phpinfo and scan the results.
对于其他php扩展,要验证Xdebug是否安装并可用,可以创建一个简单的骨架php程序来调用phpinfo并查看结果。
CURL is an open source library that allows a PHP program to connect to a remote server using different protocols such as HTTP, FTP, Telnet, and so on.
cURL是一种开源库,允许php程序使用不同的协议,比如HTTP、FTP、Telnet等连接到远端服务器。
And there you have it: a fully functioning CLI PHP program that accepts either user input or a list of files and randomizes the relative contents of each file.
现在您拥有这样一个程序:完全运行的CLIphp程序,它可以接受用户输入,也可以接受文件列表并随机排列每个文件的相关内容。
Indeed, the time to fetch information from a repository — be it a file or database server — far exceeds the lapse required to compile and perhaps even execute a PHP program.
实际上,用于从存储库(文件或数据库服务器)中获取信息的时间远高于编译并且甚至是执行PHP程序所需耗费的时间。
In the following example, we have moved the formerly raw HTML into a function of its own named print_html , which is called as the only executed statement within the PHP program.
在下面的例子中,我将前面的原始html移入它自己命名的print_html函数中,这个函数是php程序中惟一调用的执行语句。
Let's start by looking at a common technique in many PHP applications: placing certain kinds of information in variable assignment statements at the top of the program.
让我们首先查看许多PHP应用程序中的一项常用技术;将某些种类的信息存入程序开头的变量赋值语句中。
PHP uses one of these algorithms to compress files just like other applications and gets the same results any other language or program would. Let's go through an example.
PHP将像其他应用程序一样使用这些算法之一来压缩文件,并获得任何其他语言或程序将获得的结果。
To get the most out of this tutorial, you should have a basic understanding of the PHP language and some familiarity with CICS administration or CICS program development.
为了从本教程获取最大收益,您应该具有PHP语言的基础知识,并熟悉CICS管理或 CICS程序的开发。
If you get a PHP-related error (other than something to the effect of "program not found"), then your problem is a typo in the code.
如果您得到一个与php相关的错误(除了“未找到程序”之类的结果),则问题是代码中的输入错误。
The Memcache PHP extension provides a simple application program interface (API) to access the cache.
MemcachePHP扩展将为访问缓存提供一个简单的应用程序接口 (API)。
This part of the program is also conventional PHP - in this case, with fread.
程序的这一部分也符合常规php——在本例中,使用fread。
PhpMyEdit: With this utility, write a simple calling program that generates PHP code to display or edit MySQL tables in HTML.
phpMyEdit:使用这个工具编写一个简单的调用程序,生成一些php代码,以html格式显示或编辑的mysql表。
Note that all snippets of code in this article are portions of the same program used to create and populate a table in both PHP and Net.Data.
注意,本文中的所有代码片段均来自同一个用于使用php和net .Data创建和填充表的程序。
Once you've got the resources available to your program, it's just a matter of finding the right method to call. For example, suppose you were using the JSON-PHP module with PHP.
一旦获得了程序可用的资源,剩下的事就是找到合适的方法进行调用。
While you can program a theme entirely with PHP, a theme engine provides a framework for development and can save time.
可以完全使用PHP编写主题,但是主题引擎提供了一个开发主题的框架,使用它可以节省时间。
Instead, the focus is on the components required to deliver effective search results: the database, the index, the search engine, and the PHP application program interface (API).
相反,重点讨论交付有效搜索结果所需的组件:数据库、索引、搜索引擎和PHP应用程序编程接口(API)。
This article is intended to give you a feel for what it's like to program in PHP, especially since many developers still haven't fully committed to a Web scripting language.
本文旨在使您对使用 PHP编程是怎么回事有所了解,尤其是因为许多开发人员还没有完全投入到一种Web 脚本语言。
PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies.
PHP主要用于服务端的编脚本,可以起到CGI程序的作用,比如:收集表格数据,产生动态页面内容,或者收发点心。
These data types or objects can then be used within a PHP script in the normal fashion. Any XJConf-based program has three components.
然后即可按照通常的方式在php脚本中使用这些类型或对象。
If you are unsure which php.ini file to edit, you can query PHP itself. Create this three-line program and run it using the browser or the interactive interpreter.
如果不确定该编辑哪个php . ini文件,可以查询php本身。
If you are unsure which php.ini file to edit, you can query PHP itself. Create this three-line program and run it using the browser or the interactive interpreter.
如果不确定该编辑哪个php . ini文件,可以查询php本身。
应用推荐