没有合适的资源?快使用搜索试试~ 我知道了~
php外文翻译[参考].pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 69 浏览量
2021-10-11
23:34:53
上传
评论
收藏 25KB PDF 举报
温馨提示
试读
8页
php外文翻译[参考].pdf
资源推荐
资源详情
资源评论
附录 A 外文翻译 - 原文部分
PHP Language Basics
Active Server Pages (PHP) is a proven, well-established technology for building
dynamic Web applications, which provides the power and flexibility you need to
create anything from a personal, Web based photo gallery to a complete catalogue and
shopping cart system for your next eCommerce project。 One unique feature of PHP
is that it lets you choose your favourite scripting language, be it JavaScript or PHP ;
however, PHP is by far the most popular choice. In this article, I'll bring you up to
speed on the basic syntax of the PHP language, including variables, operators, and
control structures.
This article is the second in a series teaching PHP. Specifically, the goal of this
series is to teach you all you need to know to create dynamic Web sites using PHP.
This article picks up right where the previous article in the series, Getting Started with
PHP, left off.
Variables
Here is the listing for the first PHP script I helped you create in the previous
article:
1 <html>
2 <head>
3 <title> My First PHP Page </title>
4 </head>
5 <body>
6 <?php
7 ' Write out a simple HTML paragraph
8 Echo "<p>This is a test of PHP.</p>"
9 ?>
10 </body>
11 </html>
As I admitted in that article, this is a pretty uninteresting example of an PHP
script. When it comes right down to it, this script doesn't do anything a plain, old
HTML page couldn't do. Oh sure, I gave a slightly more interesting example that
displayed the current server time, but to be really useful a script needs to perform
some form of calculation, or manipulate dynamic information to present it in some
interesting way.
The language used for writing most PHP programs, and which I'll be using
throughout this series, is called PHP . Like most programming languages, PHP lets
you store data in variables. A variable may be thought of simply as a named location
in memory where data may be stored. PHP is what is known as a loosely typed
language, which means that a particular variable may store any kind of information,
be it a number, a piece of text, a date, or some more complicated chunk of data (as
opposed to strictly typed languages where you can only store one kind of information
资源评论
czq131452007
- 粉丝: 2
- 资源: 12万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功