1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

60 Commits

Author SHA1 Message Date
Jordi Kroon
5d9af2102f fix: update pear.php.net and pecl.php.net links to https 2026-02-04 11:23:09 +01:00
Ben Ramsey
d3d1ffb456 Update meta redirect to link directly to index.php
When I committed 5cdd1dd736, the web
server appeared to prefer loading the `index.php` file over `index.html`
when requesting `/license/ZendGrant/`. I left `index.html` in place
because there were direct links to it from around the web, and I didn't
want those links to end at 404 pages, so I set it up to redirect to the
cleaner `/license/ZendGrant/` URL, thinking `index.php` would load every
time.

Now, the web server appears to prefer `index.html` over `index.php`, so
landing on this page, either from `/license/ZendGrant/` or
`/license/ZendGrant/index.html` results in an endless redirection loop.
The easy solution is to make `index.html` redirect directly to
`/license/ZendGrant/index.php` instead.
2026-01-13 13:20:02 +01:00
Ben Ramsey
93df50ccce Add additional documentation for the Zend Grant 2025-07-06 08:28:59 -05:00
Ben Ramsey
5cdd1dd736 Apply site headers and footers to the Zend Grant page 2025-07-05 22:42:17 -05:00
Jim Winstead
b0763029a1 doc.php.net is on HTTPS now, and contribution guide URL changed (#1108) 2024-10-27 00:27:06 +03:00
Jim Winstead
e5ceb3e84c Purge references to PHP-GTK, it was abandoned (#1039) 2024-07-27 20:26:35 +08:00
Ben Ramsey
a93d873b53 Add PDF version of the Zend Grant document 2023-07-10 18:47:01 -05:00
Andreas Möller
d9bcfed482 Enhancement: Enable array_syntax fixer
Co-authored-by: MathiasReker <mathias@reker.dk>

Closes GH-659.
2022-08-22 18:59:14 +02:00
Mike Schinkel
bdfa96431c Change <a name="..."> to <a id="...">
PhpStorm flagged @name as a deprecated HTML attribute, so it seemed appropriate to change then to @id. In cases where there were both a @name and @id attribute and their values were the same, this commit removes the @name attribute (there were no cases where both @name and @id attributes existed but having different values.)

Closes GH-416.
2021-07-26 16:16:13 +02:00
Mike Schinkel
f16e2cb6a3 Explain how PHP 4 and later are licensed
Previously the page stated "PHP 4, PHP 5 and PHP 7 are distributed..." even though PHP 8 has been released. This commit changes the wording to be "Starting with PHP 4, versions of the PHP software are distributed..."
2021-07-20 12:48:43 +02:00
Ben Ramsey
614caa0d57 Update old licenses to show they are superseded by 3.01
A few days ago, an email sent to the php.general mailing list pointed
out that the PHP License, version 3.01 is not listed on the Open Source
Initiative list of approved licenses, while the older 3.0 version is
listed[1].

I volunteered[2] to discuss this with the OSI to see what steps we need
to take to get the 3.01 version of the license listed. I followed their
procedures to submit a request for "legacy approval" of the 3.01
license, since it's been in use for over 14 years[3].

After some discussion[4], we were advised to explicitly note the older
version as being deprecated and superceded by the 3.01 version[5].

This pull request updates our past licenses, similar to how Apache
presents their old licenses[6], to note that:

1. The 3.0 license is an OSI approved license, but the 3.01 version
   supercedes this license.
2. The 2.02 and 2.01 licenses are listed for historical purposes
   and are superseded by the 3.01 license.

[1]: https://news-web.php.net/php.general/327010
[2]: https://news-web.php.net/php.internals/108846
[3]: http://lists.opensource.org/pipermail/license-review_lists.opensource.org/2020-March/004716.html
[4]: http://lists.opensource.org/pipermail/license-review_lists.opensource.org/2020-March/thread.html
[5]: http://lists.opensource.org/pipermail/license-review_lists.opensource.org/2020-March/004741.html
[6]: https://www.apache.org/licenses/LICENSE-1.0
2020-03-05 23:19:44 -06:00
Sara Golemon
c0afd74bf7 Swap uses of _SERVER[DOCUMENT_ROOT] for __DIR__
2/4 - Update remaining except archives/ and release/.
2019-05-31 12:31:21 -04:00
Peter Kokot
89b82729c4 Bump copyright year to 2019 2019-02-08 23:29:05 +01:00
Peter Kokot
dd8d8bf863 Sync final and leading newlines
This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.

According to POSIX, a line is a sequence of zero or more non-'<newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-17 12:37:26 +02:00
Peter Kokot
e235f79473 Trim trailing whitespace
This patch cleans all redundant trailing whitespace across the
repository except for the icalendar files.
2018-10-17 10:51:08 +02:00
Peter Kokot
0f95b8c709 Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-10-17 07:29:46 +02:00
Gabriel Caruso
3ba133089d Use 2018 in license/3_01.txt 2018-02-15 18:56:11 +01:00
Peter Kokot
758afe1efd Update PHP license 3.01 year range 2017-10-14 00:30:01 +02:00
Johannes Schlüter
9709f056ae PHP 7 is there! 2016-05-20 16:42:54 +02:00
KostyaTretyak
698021badb Replaced old link "Documentation HOWTO" on new (doc.php.net/tutorial/) 2014-09-18 07:28:10 +03:00
Peter Cowburn
2062b49d59 link to credits for "PHP Group" (bug #67532) 2014-07-01 22:12:32 +01:00
Michael
5bfef25e70 Kill off XHTML
Long live HTML5! =)
2014-06-04 19:39:27 +02:00
Pascal Borreli
42497c72fb Fixed typos 2014-05-21 22:57:36 +01:00
Jacques Marneweck
0ace37d6c6 Bump copyright year 2014-01-01 00:23:29 +02:00
Adam Harvey
d589d62a4a Make the license page suck slightly less. 2013-11-20 12:39:28 -08:00
Justin Martin
9d9c0a6b19 Replaced dochowto links with fresh links to the wiki version of the howto. 2012-06-09 16:06:46 -07:00
Adam Harvey
f1f5e30ca3 Initial rewrite of the references to Subversion on the site to Git. Rewrites
welcome! A couple of important notes:

- I've largely dropped references to Subversion altogether, even knowing that
  php-doc hasn't migrated yet. We may need to put a few more "Git/SVN account"
  references in there if php-doc isn't going to be migrated in the near future.

- I've removed the quick start hints from git-php.php after an account request
  has been sent in. The documentation there was pretty skimpy anyway and
  probably wouldn't have been enough to get a developer going, plus it's harder
  to distill the Git workflow into three or four snappy commands and I'm not
  really convinced that a form confirmation page is the right place to have
  learning materials, since it's a one-time page for most users. Instead I've
  replaced them with links to the relevant Wiki pages, which seem more likely
  to be the right place for new developers to learn.

News post to come, but I wanted to separate this out for easier review.
2012-03-20 10:13:32 +08:00
Ferenc Kovacs
9b5776b83a bumped copyright to 2012 2012-03-06 23:11:49 +01:00
Hannes Magnusson
60d5c3b903 Add current config option (ignored in old-web), and FIXME placeholders for pages
not in any menu yet
2010-12-28 11:09:09 +00:00
Scott MacVicar
845a76329b Clarify that comments are under the same license as the manual text.
The note on the add-note page suggests we just take copyright and don't release it back.
2010-06-09 19:56:58 +00:00
Philip Olson
30eb169a46 Bumped copyright year to 2010 2010-03-29 00:38:04 +00:00
Gwynne Raskind
94c13e3545 - Redirects from CVS pages to SVN pages
- CVS -> SVN in all affected pages
Most of this work was done by Shawn Stratton.
2009-07-13 08:14:46 +00:00
Johannes Schlüter
6328110ffd Mention PHP Logo licensing, too 2009-05-19 12:21:02 +00:00
Hannes Magnusson
ec6181e1ec - Update with more humain explainations on license issues
- Add "I know which licenses PHP projects use, and will develop my code using
  them" checkbox to the cvs-request form
# Patch by Judy Taylor <@uk.ibm.com> and Zoe
2008-12-31 10:24:58 +00:00
Philip Olson
2b9cd53dcf Bumped copyright year 2008-12-31 07:08:00 +00:00
Hannes Magnusson
89818f5782 Bump year 2008-01-01 13:26:15 +00:00
Jacques Marneweck
5086671181 Happy new year PHP.net! 2005-12-31 22:44:43 +00:00
Gabor Hojtsy
2bc9ba26ee this 'here' linking is highly discouraged nowadays 2005-11-27 14:00:55 +00:00
Gabor Hojtsy
47a6fc98c0 the actual license is 3.01 as committed by Rasmus a few days ago 2005-11-27 13:54:35 +00:00
Rasmus Lerdorf
81c577f5ed Slight license tweak for pear/pecl purposes 2005-11-23 00:02:53 +00:00
Jacques Marneweck
1cb0c078d9 Yip there is our license updated. 2005-01-01 09:23:57 +00:00
Jacques Marneweck
424a07f4d3 Link redirects to a "Free License" page. Linked back to the annotated
version of the QPL license.
2004-07-31 11:55:31 +00:00
Gabor Hojtsy
a9905cf885 A date fix missed by Jacques. Happy new year to all\! 2004-01-01 00:02:29 +00:00
Jacques Marneweck
336e525349 This file should not be here. Removing. 2003-12-24 22:14:05 +00:00
Gabor Hojtsy
b8d10714fc No slash should appear at the start of base page 2003-08-09 21:55:32 +00:00
Gabor Hojtsy
49ab0970e2 WS fixing, use new includes and base page info plus use new
header and footer
2003-08-09 21:53:06 +00:00
Andi Gutmans
d537025021 - Add 2003 2003-07-08 19:55:27 +00:00
jim winstead
2b0d043164 add faq about projects written in php with php in the name, fix typo 2003-05-06 15:12:38 +00:00
Stefan Esser
7911c7f4ad Initial commit. 2002-12-14 21:52:24 +00:00
Stig Bakken
24172ea2ba * rephrased #3 2002-07-21 16:18:12 +00:00