⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tutorial.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>A simple tutorial</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="getting-started.html">Getting Started</a></div> <div class="next" style="text-align: right; float: right;"><a href="tutorial.firstpage.html">Your first PHP-enabled page</a></div> <div class="up"><a href="getting-started.html">Getting Started</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div>  <div class="info"><h1>A simple tutorial</h1><h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="tutorial.firstpage.html">Your first PHP-enabled page</a></li><li><a href="tutorial.useful.html">Something Useful</a></li><li><a href="tutorial.forms.html">Dealing with Forms</a></li><li><a href="tutorial.oldcode.html">Using old code with new versions of PHP</a></li><li><a href="tutorial.whatsnext.html">What's next?</a></li></ul></div>  <p class="para">   Here we would like to show the very basics of PHP in a short, simple   tutorial. This text only deals with dynamic web page creation with   PHP, though PHP is not only capable of creating web pages. See   the section titled <a href="intro-whatcando.html" class="link">What can PHP   do</a> for more information.  </p>  <p class="para">   PHP-enabled web pages are treated just like regular HTML pages and   you can create and edit them the same way you normally create   regular HTML pages.  </p>  <div id="tutorial.requirements" class="section">   <div class="info"><h1 class="title">What do I need?</h1></div>   <p class="para">    In this tutorial we assume that your server has activated support     for PHP and that all files ending in <var class="filename">.php</var>    are handled by PHP. On most servers, this is the default extension    for PHP files, but ask your server administrator to be sure. If    your server supports PHP, then you do not need to do anything. Just    create your <var class="filename">.php</var> files, put them in your    web directory and the server will automatically parse them for you.    There is no need to compile anything nor do you need to install    any extra tools. Think of these PHP-enabled files as simple HTML    files with a whole new family of magical tags that let you do all    sorts of things.  Most web hosts offer PHP support, but if your    host does not, consider reading the <a href="http://www.php.net/links.php" class="link external">&raquo;     PHP Links</a> section for resources on finding PHP enabled    web hosts.   </p>   <p class="para">    Let us say you want to save precious bandwidth and develop locally.      In this case, you will want to install a web server, such as     <a href="http://www.apache.org/" class="link external">&raquo; Apache</a>, and of course     <a href="http://www.php.net/downloads.php" class="link external">&raquo; PHP</a>. You will most likely     want to install a database as well, such as     <a href="http://dev.mysql.com/doc/" class="link external">&raquo; MySQL</a>.   </p>   <p class="para">    You can either install these individually or choose a simpler way. Our    manual has <a href="install.html" class="link">installation instructions for    PHP</a> (assuming you already have some web server set up). In case    you have problems with installing PHP yourself, we would suggest you ask    your questions on our <a href="http://www.php.net/mailing-lists.php" class="link external">&raquo; installation    mailing list</a>. If you choose to go on the simpler route, then    <a href="http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/" class="link external">&raquo; locate a pre-configured package</a>    for your operating system,  which automatically installs all of these    with just a few mouse clicks. It is easy to setup a web server with PHP    support on any operating system, including MacOSX, Linux and Windows.    On Linux, you may find <a href="http://www.rpmfind.net/" class="link external">&raquo; rpmfind</a> and    <a href="http://rpm.pbone.net/" class="link external">&raquo; PBone</a> helpful for    locating RPMs. You may also want to visit <a href="http://www.apt-get.org/" class="link external">&raquo; apt-get</a> to find packages for Debian.   </p>  </div>                </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="getting-started.html">Getting Started</a></div> <div class="next" style="text-align: right; float: right;"><a href="tutorial.firstpage.html">Your first PHP-enabled page</a></div> <div class="up"><a href="getting-started.html">Getting Started</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -