mirror of
https://github.com/php/web-php.git
synced 2026-03-24 07:12:16 +01:00
373 lines
11 KiB
PHP
373 lines
11 KiB
PHP
<?php
|
|
require_once 'prepend.inc';
|
|
commonHeader("Support");
|
|
?>
|
|
|
|
<?php
|
|
if (isset($maillist)) {
|
|
# should really grab some email validating routine and use it here.
|
|
if (empty($email) || $email == 'user@example.com') {
|
|
echo "You forgot to specify an email address to be added to the list. ";
|
|
echo "Go back and try again.";
|
|
} else {
|
|
$request = strtolower($action);
|
|
if ($request != "subscribe" && $request != "unsubscribe") {
|
|
$request = "subscribe";
|
|
}
|
|
$sub = str_replace("@", "=", $email);
|
|
switch ($maillist) {
|
|
case "phplib":
|
|
case "phplib-dev":
|
|
mail("$maillist-$request-$sub@lists.netuse.de", $request, $request,
|
|
"From: $email\r\n");
|
|
break;
|
|
default:
|
|
mail("$maillist-$request-$sub@lists.php.net", "Website Subscription",
|
|
"This was a request generated from the form at http://www.php.net/support.php.", "From: $email\r\n");
|
|
break;
|
|
}
|
|
?>
|
|
<p>
|
|
A request has been entered into the mailing list processing queue. You
|
|
should receive an email at <?php echo $email;?> shortly describing how to
|
|
complete your request.
|
|
</p>
|
|
<?php
|
|
}
|
|
} else {
|
|
|
|
?>
|
|
<h1>Documentation</h1>
|
|
<P>
|
|
A good place to start is by skimming through the ever-growing <a
|
|
href="/FAQ.php">FAQ</a>. Then have a look at the online manual and
|
|
other resources in the <a href="/docs.php">documentation</a> section.
|
|
</P>
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Books</h1>
|
|
<P>
|
|
<a href="/books.php">Books</a> are convenient resources to begin exploring
|
|
PHP. <a href="/books.php">The titles listed here</a> will help you to start
|
|
learning PHP, as well as extending your existing knowledge.
|
|
</P>
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Reporting Bugs</h1>
|
|
<P>If you can't resolve your problem from the
|
|
available documentation or mailing list archives, and you think it might
|
|
be a bug, a <a href="http://bugs.php.net">Bug Database</a> has
|
|
been established for tracking bugs and ensuring that all reported bugs
|
|
get addressed. If you see a problem, please tell us so we can address it.
|
|
Please read <a href="http://bugs.php.net/bugs-dos-and-donts.php"
|
|
>Dos & Don'ts</a> before posting a report.
|
|
</P>
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>User Groups</h1>
|
|
<p>
|
|
PHP user groups have started popping up. Christopher
|
|
R. Moewes-Bystrom is running a PHP user group registry at <a
|
|
href="http://www.phpusergroups.org/">http://www.phpusergroups.org/</a>.
|
|
</p>
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Mailing Lists</h1>
|
|
<P>
|
|
One of the best resources is the very friendly and helpful mailing
|
|
lists. There are many PHP-related mailing lists available.
|
|
|
|
<?php
|
|
|
|
// array of lists (list, name, short desc., moderated, archive, digest)
|
|
$mailing_lists = Array(
|
|
|
|
'General mailing lists for PHP users',
|
|
Array (
|
|
'php-announce', 'Announcements',
|
|
'Announcements of new PHP releases are sent to this very low-volume list',
|
|
true, false, false
|
|
),
|
|
Array (
|
|
'php-general', 'General user list',
|
|
'This is a really high volume general list for PHP users',
|
|
false, true, true
|
|
),
|
|
Array (
|
|
'php-windows', 'Windows PHP users list',
|
|
'Using PHP on Microsoft Windows',
|
|
false, true, true
|
|
),
|
|
|
|
'Subject specific lists for PHP users',
|
|
Array (
|
|
'php-install', 'Installation issues and problems',
|
|
'How to install PHP with partiucular configurations, and servers',
|
|
false, true, true
|
|
),
|
|
Array (
|
|
'php-db', 'Databases and PHP',
|
|
'This list is for the discussin of PHP database topics',
|
|
false, true, true
|
|
),
|
|
Array (
|
|
'php-i18n', 'Internationalization',
|
|
'Internationalization (i18n) and localization (l10n) issues and features',
|
|
false, true, true
|
|
),
|
|
Array (
|
|
'php-migration', 'Migration from earlier versions',
|
|
'Discussion of migration from earlier versions of PHP',
|
|
false, true, true
|
|
),
|
|
Array (
|
|
'php-pear', 'PEAR common code library list',
|
|
'A list for those interested in PEAR, an open-source common code library for PHP',
|
|
false, true, true
|
|
),
|
|
Array (
|
|
'php-template', 'Templates mailing list',
|
|
'A list for those working with template engines in PHP',
|
|
false, true, true
|
|
),
|
|
Array (
|
|
'php-gtk', 'PHP-GTK mailing list',
|
|
'A list for those who would like to use PHP to write client-side GUI applications' ,
|
|
false, true, false
|
|
),
|
|
Array (
|
|
'php-kb', 'Knowledge Base list',
|
|
'This list receives daily mailings with summaries of topics on the user list, as well as others drawn from the <a href="#phpkb">Knowledge Base</a>',
|
|
false, true, false
|
|
),
|
|
Array (
|
|
'phplib', 'PHPLIB mailing list',
|
|
'List of the open source PHP code library',
|
|
false, true, false
|
|
),
|
|
Array (
|
|
'phplib-dev', 'PHPLIB developers list',
|
|
'List for the PHPLIB developers',
|
|
false, true, false
|
|
),
|
|
|
|
'Lists for the developers of PHP, php.net and documentations',
|
|
Array (
|
|
'php-dev', 'Developer list',
|
|
'A medium volume list for those who want to help out with the development of PHP',
|
|
false, true, false
|
|
),
|
|
Array (
|
|
'php-beta', 'Beta list',
|
|
'A low volume list for users interested in early access to PHP releases',
|
|
false, false, false
|
|
),
|
|
Array (
|
|
'php-cvs', 'CVS commit list',
|
|
'All the commits of the cvs PHP code repository are posted to this list immediately',
|
|
true, true, false
|
|
),
|
|
Array (
|
|
'php-cvs-daily', 'Daily CVS commit summary',
|
|
'Daily changelog and NEWS file updates',
|
|
true, false, false
|
|
),
|
|
Array (
|
|
'phpdoc', 'PHP documentation list',
|
|
'List for the authors of the PHP documentation with CVS commits',
|
|
false, true, false
|
|
),
|
|
Array (
|
|
'php-qa', 'Quality Assurance list',
|
|
'List for the members of the PHP-QA Team',
|
|
false, true, false
|
|
)
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
<form method="post" action="http://www.php.net/support.php">
|
|
<p>
|
|
<table cellpadding="5" cellspacing="1">
|
|
<?php
|
|
|
|
while ( list(, $listinfo) = each($mailing_lists)) {
|
|
if (!is_array($listinfo)) {
|
|
|
|
echo '<tr bgcolor="#cccccc">';
|
|
echo '<th>' . $listinfo . '</th>';
|
|
echo '<th>Moderated</th>';
|
|
echo '<th>Archive</th>';
|
|
echo '<th>Normal</th>';
|
|
echo '<th>Digest</th>';
|
|
echo '</tr>' . "\n";
|
|
|
|
} else {
|
|
|
|
echo '<tr align="center" bgcolor="#e0e0e0">';
|
|
echo '<td align="left"><b>' . $listinfo[1] . '</b><br><small>'. $listinfo[2] . '</small></td>';
|
|
echo '<td>' . ($listinfo[3] ? 'yes' : 'no') . '</td>';
|
|
echo '<td>' . ($listinfo[4] ? make_link("http://marc.theaimsgroup.com/?l=".$listinfo[0], 'yes') : 'n/a') . '</td>';
|
|
echo '<td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td>';
|
|
echo '<td>' . ($listinfo[5] ? '<input name="maillist" type="radio" value="'.$listinfo[0].'-digest">' : 'n/a' ) . '</td>';
|
|
echo '</tr>' . "\n";
|
|
|
|
}
|
|
}
|
|
|
|
?>
|
|
</table>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<b>Email:</b>
|
|
<input type=text name="email" width=40 value="user@example.com">
|
|
<input type=submit name="action" value="Subscribe">
|
|
<input type=submit name="action" value="Unsubscribe">
|
|
</p>
|
|
|
|
</form>
|
|
|
|
<p>
|
|
You will be sent a confirmation mail at the address you wish to
|
|
be subscribed or unsubscribed, and only added to the list after
|
|
following the directions in that mail.
|
|
</p>
|
|
|
|
<p>
|
|
There are a variety of commands you can use to modify your subscription.
|
|
Either send a message to php-whatever-help@lists.php.net (as in,
|
|
php-general-help@lists.php.net) or you can view the commands for
|
|
ezmlm <a href="http://www.ezmlm.org/ezman-0.32/ezman1.html">here.</a>
|
|
</p>
|
|
|
|
<p>
|
|
Archives for some of these mailing lists are also available at
|
|
<a href="http://www.phpbuilder.com/mail/">http://www.phpbuilder.com/mail/</a>.
|
|
</p>
|
|
|
|
<p>
|
|
<b>Warning:</b> The PHP users mailing list gets close to 2500 messages
|
|
per month currently. Do the math. That translates to about 80 messages
|
|
per day. If your mailbox can't handle this sort of traffic you might
|
|
want to consider subscribing to the digest list instead (two messages
|
|
per day). You can also read the mailing list using the archives with
|
|
a web interface, or if you like reading things with a news reader, you
|
|
can read it at <a href="news://news.netimages.com/php3.general">news.netimages.com</a>.
|
|
</p>
|
|
|
|
<p>
|
|
You can search the mailing lists right from this website from <A
|
|
HREF="/search.php">the search page</A> or by using the search button
|
|
on the top-right of every page.
|
|
</p>
|
|
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Newsgroups</h1>
|
|
<p>
|
|
The mailing lists hosted at lists.php.net are also gatewayed to
|
|
newsgroups on the server at <a href="news://news.php.net/">news.php.net</a>.
|
|
</p>
|
|
|
|
<p>
|
|
You can both read and post to the mailing lists through the news
|
|
interface.
|
|
</p>
|
|
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Local Mailing Lists</h1>
|
|
<p>
|
|
There are also some mailing lists that have been set up by others in
|
|
the community to host local discussions (particularly non-English
|
|
discussions).
|
|
</p>
|
|
|
|
<ul>
|
|
<li><a href="mailto:php3-france-subscribe@onelist.com">French PHP User's Mailing List</a>
|
|
<li><a href="news:fr.comp.infosystemes.www.auteurs.php">French PHP Newsgroup</a>
|
|
<li><a href="http://www.php-center.de/">German PHP User's Mailing List</a>
|
|
<li><a href="news:de.comp.lang.php">German PHP Newsgroup</a>
|
|
<li><a href="mailto:wl-phplista-request@gimli.externet.hu?subject=subscribe">Hungarian PHP Mailing List</a>
|
|
<li><a href="mailto:php_greek-subscribe@egroups.com">Greek PHP Mailing List</a>
|
|
<li><a href="mailto:php3-it-request@michel.enter.it">Italian PHP User's Mailing List</a>
|
|
<li><a href="http://www.egroups.com/group/php-pt/info.html">Portuguese PHP User's Mailing List</a>
|
|
<li><a href="mailto:lista-subscribe@phpes.com">Spanish PHP User's Mailing List</a>
|
|
<li><a href="http://phptr.baslangic.net/">Turkish PHP User's Mailing List</a>
|
|
</ul>
|
|
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Sample Code</h1>
|
|
<P>
|
|
Looking for some more sample PHP scripts? Our <A
|
|
HREF="/links.php">links page</A> page lists some archives of sample PHP code -
|
|
great places to find many example scripts and useful functions, organized for
|
|
your searching pleasure!
|
|
</P>
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<a name="phpkb"></a>
|
|
<h1>Knowledge Base</h1>
|
|
<P>
|
|
The knowledge base is a growing collection of PHP related information in
|
|
a searchable question and answer format. Anyone can contribute, and
|
|
everyone is encouraged to do so. You can visit the Knowledge Base
|
|
at <a href="http://www.faqts.com/">http://www.faqts.com/</a>.
|
|
</P>
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Getting the Latest Development Version</h1>
|
|
<P>
|
|
PHP is developed using CVS, so it's possible to obtain the latest
|
|
development release at any time. Further instructions can be found in
|
|
the web interface of the <a href="http://cvs.php.net">PHP CVS tree</a>.
|
|
</P>
|
|
|
|
|
|
<? echo hdelim(); ?>
|
|
|
|
|
|
<h1>Instant Resource Center</h1>
|
|
<P>
|
|
Otherwise known as IRC or Internet Relay Chat. Here you can usually find
|
|
experienced PHP people sitting around doing nothing on the #php channel
|
|
on <a href="http://openprojects.nu">OpenProjects</a>. There is also a #php
|
|
channel on EFNet, but due to the difficulties many people have getting on and
|
|
staying on that network we are migrating to the OpenProjects network.
|
|
</p>
|
|
|
|
<?php
|
|
}
|
|
commonFooter();
|
|
?>
|