cvs: phpweb / links.php sites.php tut.php
| From: | Zak Greant | Date: | Fri, 15 Sep 2000 18:17:03 +0000 |
| Subject: | cvs: phpweb / links.php sites.php tut.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-2150@lists.php.net to get a copy of this message | ||
zak Fri Sep 15 11:17:03 2000 EDT
Modified files:
/phpweb links.php sites.php tut.php
Log:
Added new links to links.php and sites.php
Corrected outdated link in tut.php
Index: phpweb/links.php
diff -u phpweb/links.php:1.10 phpweb/links.php:1.11
--- phpweb/links.php:1.10 Fri Sep 15 08:53:34 2000
+++ phpweb/links.php Fri Sep 15 11:17:03 2000
@@ -5,18 +5,18 @@
<h3>Sites using PHP</h3>
<P>
Who uses PHP? An ever-increasing number of companies are using PHP to add functionality to their
-web-sites.
+web-sites.
You can browse through a list of some companies using PHP <a
href="/sites.php">here</a>.
</P>
<h3>Developers and Job Opportunities</h3>
<P>
-Brian Schaffner has put up a <A HREF="http://www.schaffner.net/emp">PHP Employment
Listing</A> site.
+Brian Schaffner has put up a <A HREF="http://www.schaffner.net/emp">PHP Employment
Listing</A> site.
PHP developers can post their resumes, and employers can post their job notices.
</P>
<P>
-You can also try searching at <A
+You can also try searching at <A
HREF="http://classifieds.yahoo.com/yc?cr=national&ce_f=&cpo=&cpj=&ck=PHP&g=&cs=time+2&cc=employment&cf=1&za=and"
>Yahoo Careers</A> for PHP-related jobs (US only for now).
</P>
@@ -29,6 +29,7 @@
<LI><A HREF="http://www.od-site.com/php">www.od-site.com/php</A><BR>
<LI><A HREF="http://hosts.php.net/">hosts.php.net</A><BR>
(features a searchable directory and comments from users)<BR>
+<LI>PMCW webservices (<a href="http://pmcw.dhs.org/">http://pmcw.dhs.org/</a>)
</UL>
<h3>Getting Started</h3>
@@ -36,7 +37,7 @@
<UL>
<LI><a HREF="http://www.zend.com/">Zend.com</a><BR>
-Zend Technologies' Web site, with lots of PHP related resources
+Zend Technologies' Web site, with lots of PHP related resources
(articles, tutorials, case studies, PHP function table, etc.)<BR>
<LI><a HREF="http://www.phpwizard.net/">phpWizard</a><BR>
@@ -52,7 +53,7 @@
Another site with good articles on PHP basics and advanced topics.<BR>
<LI><A HREF="http://px.sklar.com/">PX - PHP Code
Exchange</A><BR>
-The PHP Code Exchange is a great place to start. Here you'll find many example scripts and
+The PHP Code Exchange is a great place to start. Here you'll find many example scripts and
useful functions, organized for easy finding. Includes a search function.<BR>
<LI><A HREF="http://www.weberdev.com/">WeberDev.com</A><BR>
@@ -72,7 +73,7 @@
German site about PHP with scripts, tips, forums, MyGuestBook, articles, news and more.<BR>
<LI><A HREF="http://www.dynamic-webpages.de/">Dynamic-Webpages</A><BR>
-German site with installation guides, tips & scripts, BestOfGML,
+German site with installation guides, tips & scripts, BestOfGML,
WhoIsWho - a view on german PHP-cracks, german manual, book reviews, links and more.<BR>
<LI><A HREF="http://www.phpwelt.de/">PHPWelt</A><BR>
@@ -112,6 +113,14 @@
<LI><A HREF="http://php.resourceindex.com/">PHP Resource
Index</A><BR>
Hundreds of PHP resources, categorized and searchable.<BR>
+
+<LI><A HREF="http://www.tutorials.it/">Tutorials.it</A><BR>
+An Italian site that provides a variety of developer tutorials.
+Has a small PHP section.<BR>
+
+Motore di ricerca per i tutorials in lingua italiana.
+Ha una piccola sezione di PHP.
+<BR>
</UL>
Index: phpweb/sites.php
diff -u phpweb/sites.php:1.6 phpweb/sites.php:1.7
--- phpweb/sites.php:1.6 Tue Aug 15 12:43:01 2000
+++ phpweb/sites.php Fri Sep 15 11:17:03 2000
@@ -136,6 +136,7 @@
site("NativeWeb","www.nativeweb.org");
site("University of Bergen - Norway","www.uib.no");
site("Research Institute for electro-magnetic
compatibility","www.femu.rwth-aachen.de");
+ site("Shekari: Follow Shawn Reed as he builds a kit plane","www.shekari.org");
site("Traffic School To Go","www.trafficschooltogo.com");
site("The Psychology Place","www.psychplace.com");
site("Vestfold College, Norway","www.hive.no");
@@ -143,9 +144,11 @@
siteEnd();
/* Entertainment */
- title("Entertainment");
+ title("Entertainment");
siteStart();
site("98 Degrees","www.98degrees.com");
+ site("Big Brother - The TV Show","www.bigbrother.de");
+ site("The British Film Institute","www.bfi.org.uk");
site("BurnerKitty.com","www.burnerkitty.com");
site("CD93 Radio Station","www.cd93.com/index_hi.htm");
site("Chump Change (a band)","foxx.richweb.com/chumpchange/");
@@ -169,6 +172,7 @@
site("PromoPodium","www.promopodium.nl");
site("Rubik's Online","www.rubiks.com");
site("Harald Schmidt Show", "www.schmidt.de");
+ site("SAT1 - A German television station","www.sat1.de");
site("Sony Music, Europe","www.sonymusic.de");
site("Striving For Togetherness Records","www.striving.com");
site("SummerWorks Theatre Festival","www.summerworks.on.ca");
@@ -186,6 +190,7 @@
title("Financial Industry");
siteStart();
site("BörsePlus","www.boerseplus.de");
+ site("ComDirect - German Bank / Online Brokerage","www.comdirect.de");
site("Cyber Merchants Exchange","www.c-me.com");
site("The Development Capital Exchange","www.equity-invest.com");
site("Employee Benefit Placement System","ee-benefits.com/");
@@ -216,6 +221,7 @@
site("GamePoint Shop","shop.gamepoint.net");
site("The Galactic Empire","www.imperialnexus.net");
site("GibWorld","www.gibworld.com");
+ site("Internet Football Club","www.internetfootballclub.com/");
site("Loki Software","www.lokigames.com");
site("mplayer.com","www.mplayer.com");
site("Soldier of Fortune Files","www.soffiles.com");
@@ -242,7 +248,7 @@
site("32bit.com","www.32bit.com");
site("Developer Shed","www.devshed.com");
site("DataGuard AS - Security Consulting","www.dataguard.no");
- site("Fujitsu Business Communications Systems","www.fbcs.fujitsu.com");
+ site("Fujitsu Business Communications Systems","www.fbcs.fujitsu.com");
site("Lead People (Recruitment Agency)","www.leadpeople.com");
site("NASA - Jet Propulsion Laboratory");
site("NASA - Mars Polar Lander","www.marspolarlander.com");
@@ -629,6 +635,7 @@
site("Private World Communications","www.privateworld.com");
site("Six Offene Systeme GmbH","www.six.de");
site("Munk & Phyber Inc.","www.munkandphyber.com");
+ site("Insign Studio","insign.org");
siteEnd();
/* Misc. */
@@ -665,8 +672,8 @@
?>
<BR>
-<blockquote>If you have a site you feel belongs on this list, send us email at
-<a href="mailto:sites@php.net">sites@php.net</a>. Please
include a suggested
+<blockquote>If you have a site you feel belongs on this list, send us email at
+<a href="mailto:sites@php.net">sites@php.net</a>. Please
include a suggested
category. With well over 275,000 sites on the Internet running PHP, we cannot
list them all and will add suggested sites at our discretion.</blockquote>
<?
Index: phpweb/tut.php
diff -u phpweb/tut.php:1.1 phpweb/tut.php:1.2
--- phpweb/tut.php:1.1 Mon Jan 24 14:23:24 2000
+++ phpweb/tut.php Fri Sep 15 11:17:03 2000
@@ -8,16 +8,16 @@
<html><head><title>PHP Tutorial</title></head>
<body>
<h1>Introductory Tutorial</h1>
-PHP is a tool that lets you create dynamic web pages.
-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.
+PHP is a tool that lets you create dynamic web pages.
+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.
<h2>What do I need?</h2>
In this tutorial we assume that your server has support for PHP activated and that all files
-ending in <i>.php3</i> are handled by PHP. On most servers this is the default
+ending in <i>.php3</i> 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 don't need to do anything. Just create your <i>.php3</i> files and
put them in
-your web directory and the server will magically parse them for you. There is no need to
+your web directory and the server will magically 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.
@@ -32,7 +32,7 @@
The colours you see are just a visual aid to make it easier to see the PHP tags and the
different parts of a PHP expression. Note also that this is not like a CGI script. The
file does not need to be executable or special in any way. Think of it as a normal HTML
-file which happens to have a set of special tags available to you that do a lot of
+file which happens to have a set of special tags available to you that do a lot of
interesting things.<P>
This program is extremely simple and you really didn't need to use PHP to create a page
like this. All it does is display: <B>Hello World</B><P>
@@ -41,27 +41,27 @@
The point of the example is to show the special PHP tag format. In this example we used
<b><?php</b> to indicate the start of a PHP tag. Then we put the PHP statement
and
left PHP mode by adding the closing tag, <b>?></b>. You may jump in and out of
PHP
-mode in an HTML file like this all you want.
+mode in an HTML file like this all you want.
<h2>Something Useful</h2>
Let's do something a bit more useful now. We are going to check what sort of browser
the person viewing the page is using. In order to do that we check the user agent string
that the browser sends as part of its request. This information is stored in a variable.
-Variables always start with a dollar-sign in PHP. The variable we are interested in is
+Variables always start with a dollar-sign in PHP. The variable we are interested in is
<b>$HTTP_USER_AGENT</b>. To display this variable we can simply do:
<?example('<?php echo $HTTP_USER_AGENT; ?>')?>
For the browser that you are using right now to view this page, this displays:
<blockquote><?php echo $HTTP_USER_AGENT; ?></blockquote>
-There are many other variables that are automatically set by your web server. You can get a
+There are many other variables that are automatically set by your web server. You can get a
complete list of them by creating a file that looks like this:
<?example('<?php phpinfo()?>');?>
-Then load up this file in your browser and you will see a page full of information about PHP along
with
+Then load up this file in your browser and you will see a page full of information about PHP along
with
a list of all the variables available to you.<P>
You can put multiple PHP statements inside a PHP tag and create little blocks of code that do
more than just a single echo. For example, if we wanted to check for Internet Explorer we could
do something like this:
-<?example('<?php
+<?example('<?php
if(strstr($HTTP_USER_AGENT,"MSIE")) {
echo "You are using Internet Explorer<br>";
}
@@ -71,13 +71,13 @@
C or some other language where the syntax used above is used, you should probably pick up any
introductory C book and read the first couple of chapters. All the tricky string and memory
manipulation
issues you have to deal with in C have been eliminated in PHP, but the basic syntax
remains.<P>
-The second concept we introduced was the strstr() function call. strstr() is a function built into
PHP
-which searches a string for another string. In this case we are looking for
"MSIE" inside
+The second concept we introduced was the strstr() function call. strstr() is a function built into
PHP
+which searches a string for another string. In this case we are looking for
"MSIE" inside
$HTTP_USER_AGENT. If the string is found the function returns true and if it isn't, it
returns false.
If it returns true the following statement is executed.<P>
We can take this a step further and show how you can jump in and out of PHP mode even in the middle
of
a PHP block:
-<?example('<?php
+<?example('<?php
if(strstr($HTTP_USER_AGENT,"MSIE")) {
?>
<center><b>You are using Internet Explorer</b></center>
@@ -99,7 +99,7 @@
<?
} else {
?>
-<center><b>You are not using Internet Explorer</b></center>
+<center><b>You are not using Internet Explorer</b></center>
<?
}
?>
@@ -117,7 +117,7 @@
When the user fills in this form and hits the submit button, the <i>action.php3</i>
page is called. In this
file you would have something like this:
<?example('Hi <?php echo $name?>. You are <?php echo $age?> years
old.')?>
-It should be obvious what this does. There is nothing more to it. The $name and $age variables
are
+It should be obvious what this does. There is nothing more to it. The $name and $age variables
are
automatically set for you by PHP.
<h2>More?</h2>
This tutorial will get expanded, but at this time this is all there is. With what you know now
@@ -131,7 +131,7 @@
<!-- site is down as of 7/8/1999
<li><a href="http://www.314interactive.com/io/content.php3?sec=art&req=mysql&issue=4&pg=1">ionline</a>
-->
-<li><a href="http://www.htmlwizard.net/phpTidbits/">phpTidbits</a>
+<li><a href="http://www.htmlwizard.net/resources/tutorials/">phpTidbits</a>
<li><a href="http://www.phpbuilder.com/getit/">PHP
Builder</a>
</ul>
</body></html>