mirror of
https://github.com/php/web-php.git
synced 2026-04-25 07:58:04 +02:00
144 lines
5.5 KiB
HTML
144 lines
5.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-gb" xml:lang="en-gb">
|
|
<head>
|
|
<title>strpos - PHP: Hypertext Preprocessor</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<link type="text/css" media="all" rel="stylesheet" href="css/style.css" />
|
|
<!--[if IE ]>
|
|
<link type="text/css" rel="stylesheet" media="screen" href="css/ie.css" />
|
|
<![endif]-->
|
|
</head>
|
|
|
|
<body id="homepage">
|
|
<ul id="root">
|
|
<li id="header">
|
|
<span class="side-left"></span>
|
|
<span class="side-right"></span>
|
|
<div class="content">
|
|
<h1><a href="index.html">PHP: Hypertext Preprocessor</a></h1>
|
|
<div id="search-box">
|
|
<label>Search for</label><span><input type="text" class="text" maxlength="20" name="q" /></span><label>in the</label><span><select><option>functions list</option></select></span><span><input type="submit" class="button" value="Search" /></span>
|
|
</div>
|
|
</div>
|
|
</li><!--#header-->
|
|
<li id="main-menu"><span class="corners-top"><span></span></span>
|
|
<ul><li class="first"><a href="#">Downloads</a></li><li><a href="#">Documentation</a></li><li><a href="#">Faq</a></li><li><a href="#">Getting Help</a></li><li><a href="#">Mailing Lists</a></li><li><a href="#">Reporting Bugs</a></li><li><a href="#">Php.net Sites</a></li><li><a href="#">Links</a></li><li><a href="#">Conferences</a></li><li class="last"><a href="#">My Php.net</a></li></ul>
|
|
<span class="corners-bottom"><span></span></span></li><!--#main-menu-->
|
|
|
|
|
|
<li id="content">
|
|
<div id="page-area">
|
|
<div class="content"><span class="corners-top"><span></span></span>
|
|
<div class="info">
|
|
|
|
|
|
<h1>H1 Header</h1>
|
|
<h2>H2 Header</h2>
|
|
<h3>H3 Header</h3>
|
|
<h4>H4 Header</h4>
|
|
<h5>H5 Header</h5>
|
|
<h6>H6 Header</h6>
|
|
|
|
<br />
|
|
<hr />
|
|
<br />
|
|
|
|
<p>UL & OL:</p>
|
|
<ul>
|
|
<li>First</li>
|
|
<li>Second</li>
|
|
</ul>
|
|
<ol>
|
|
<li>First</li>
|
|
<li>Second</li>
|
|
</ol>
|
|
|
|
<p>DEL, INS, SUB, SUP, ACRONYM:</p>
|
|
<p>
|
|
I love <del>Ruby</del> <ins>PHP</ins> <sub>Sub</sub> and <sup>Sup</sup>, <acronym title="Document Object Model">DOM</acronym>
|
|
</p>
|
|
|
|
<p>BLOCKQUOTE:</p>
|
|
<blockquote>
|
|
<p>
|
|
2008-06-09: W3C launched a new Web Applications (WebApps) Working Group, co-Chaired by Art Barstow (Nokia) and Charles McCathieNevile (Opera Software).
|
|
</p>
|
|
</blockquote>
|
|
|
|
<p>CITE, Q:</p>
|
|
<p class="cite">
|
|
<cite>Now is the accepted time to make your regular, annual, good resolutions. Next week you can begin paving hell with them as usual.</cite>
|
|
</p>
|
|
<p class="t-right">Mark Twain</p>
|
|
|
|
<p>Mark Twain said, that <q>The lack of money is the root of all evil.</q></p>
|
|
|
|
<p>DFN:</p>
|
|
<p>
|
|
<dfn>PHP</dfn> (a recursive acronym for PHP: Hypertext Preprocessor) is a computer scripting language, originally designed for producing dynamic web pages. It is for server-side scripting, but can be used from a command line interface or in standalone graphical applications.
|
|
</p>
|
|
|
|
<p>KBD:</p>
|
|
<p>
|
|
Please press <kbd><Alt>+<Enter></kbd>
|
|
</p>
|
|
|
|
<p>VAR:</p>
|
|
<p>
|
|
Let's get <var>content_title</var> from table <var>content</var>, with statement <code>section_id = 1</code>.
|
|
</p>
|
|
|
|
<p>PRE:</p>
|
|
<pre>
|
|
- -- ------ -|---
|
|
----- ------ |-----
|
|
||----| ||--|| ---|
|
|
||----- ---- ----|
|
|
||-----| |||| |----|-|
|
|
|| ----- -- -----| -
|
|
||- ----| -- |-----||-
|
|
||---||-- -- ------|--
|
|
||--|| --|-- |--|------
|
|
|| -|| |-- --- - ----
|
|
|| -|| --|-|--| - ---|
|
|
|---||- |-----| |-----
|
|
|---|| |---- |----|
|
|
|----| --- |------
|
|
------ --------
|
|
</pre>
|
|
|
|
<p>CODE:</p>
|
|
<code>
|
|
<span class="default"><?php</span><br/>
|
|
<span class="keyword">function</span> <span class="default">hello</span> <span class="keyword">(</span><span class="keyword">)</span> <span class="keyword">{</span><br/>
|
|
<span class="default">echo</span> <span class="string">"Hello World!"</span><span class="default">;</span> <span class="comment">// say hello</span><br/>
|
|
<span class="keyword">}</span><br/>
|
|
<span class="default">?></span>
|
|
</code>
|
|
|
|
|
|
</div>
|
|
<span class="corners-bottom"><span></span></span></div>
|
|
</div>
|
|
</li><!--#content-->
|
|
|
|
<li id="footer"><span class="corners-top"><span></span></span>
|
|
<div class="info">
|
|
<div id="copyright"><a href="/copyright.php">Copyright © 2001-2008 The PHP Group</a><br />All rights reserved.</div>
|
|
<div id="footer-menu">
|
|
<ul>
|
|
<li class="first"><a href="/feed.atom">Atom</a></li>
|
|
<li><a href="/source.php?url=/index.php">Show source</a></li>
|
|
<li><a href="/credits.php">Credits</a></li>
|
|
<li><a href="/stats/">Stats</a></li>
|
|
<li><a href="/sitemap.php">Sitemap</a></li>
|
|
<li><a href="/contact.php">Contact</a></li>
|
|
<li><a href="/contact.php#ads">Advertising</a></li>
|
|
<li class="last"><a href="/mirrors.php">Mirror sites</a></li>
|
|
</ul><br/><small><a href="/mirror.php">This mirror</a> generously provided by: <a href="http://developer.yahoo.com/">Yahoo! Inc.</a> Last updated: Mon Jun 9 01:34:45 2008 PDT</small>
|
|
</div>
|
|
</div>
|
|
<span class="corners-bottom"><span></span></span></li><!--#footer-->
|
|
</ul><!--#root-->
|
|
</body>
|
|
</html> |