Commit:    f2807d4e469139cb2be01c699c1d6d92c3dcb5fa
Author:    Hannes Magnusson <[email protected]>         Mon, 23 Dec 2013 
11:39:44 -0800
Parents:   aea5c885c74408771b2bcf07160f9ecfdce51ed9
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=f2807d4e469139cb2be01c699c1d6d92c3dcb5fa

Log:
Most of these don't work, others are just to old.

There is maybe one or two here that are ok, but that hardly justifies keeping 
this alive

Changed paths:
  M  archive/2002.php
  M  docs.php
  M  index.php
  M  privacy.php
  M  sitemap.php
  M  sitemap.xml
  D  tips.php
  M  urlhowto.php

diff --git a/archive/2002.php b/archive/2002.php
index 1bdb1b2..1366900 100644
--- a/archive/2002.php
+++ b/archive/2002.php
@@ -155,7 +155,7 @@ site_header("News Archive - 2002", 
array("generate_modified" => true));
  <span class="newsdate">[29-Oct-2002]</span>
  We added a new option to access our site's content quickly. In addition to
  <a href="/urlhowto.php">URL shortcuts</a>, keyboard shortcuts and
- <a href="/tips.php">browser specific magic</a> you can now use our
+ browser specific magic you can now use our
  <a href="/sidebars.php">Search Bar</a> from the major browsers. Please help
  us to test this new service, and provide feedback via
  <a href="http://bugs.php.net/";>the bug system</a> (categorize your bug
diff --git a/docs.php b/docs.php
index d2c39fb..66d57e4 100644
--- a/docs.php
+++ b/docs.php
@@ -16,9 +16,7 @@ site_header("Documentation", array("current" => "docs"));
 </p>
 
 <p>
- You can learn how to integrate our online manual with various tools, including
- your web browser, on our <a href="tips.php">quick reference tips</a> page.
- You can also get more information about php.net URL shortcuts by visiting our
+ More information about php.net URL shortcuts by visiting our
  <a href="urlhowto.php">URL howto page</a>.
 </p>
 
diff --git a/index.php b/index.php
index eaf61ee..9666845 100644
--- a/index.php
+++ b/index.php
@@ -172,7 +172,6 @@ $SIDEBAR = <<< SIDEBAR_DATA
     <p class='panel'><a href='/migration55'>Upgrading to PHP5.5</a></p>
 $announcements
     <p class='panel'><a href='/cal.php'>User Group Events</a></p>
-    <p class='panel'><a href='/tips.php'>Tips and Tricks</a></p>
     <p class='panel'><a href='/thanks.php'>Special Thanks</a></p>
 
 SIDEBAR_DATA;
diff --git a/privacy.php b/privacy.php
index 806044c..a493db6 100644
--- a/privacy.php
+++ b/privacy.php
@@ -1,5 +1,4 @@
 <?php
-// $Id: tips.php 286580 2009-07-31 10:28:16Z bjori $
 $_SERVER['BASE_PAGE'] = 'privacy.php';
 include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
 site_header("Privacy Policy", array("current" => "footer"));
diff --git a/sitemap.php b/sitemap.php
index 504a692..0554fc4 100644
--- a/sitemap.php
+++ b/sitemap.php
@@ -68,7 +68,6 @@ site_header("Sitemap", array("current" => "help"));
  <li><a href="/my.php">My PHP.net</a></li>
  <li><a href="/urlhowto.php">URL Shortcuts</a></li>
  <li><a href="/quickref.php">Quick Function Reference</a></li>
- <li><a href="/tips.php">Quick Reference Tips</a></li>
  <li><a href="/sites.php">PHP.net Sites List</a></li>
 </ul>
 
diff --git a/sitemap.xml b/sitemap.xml
index de2390d..06c8225 100755
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -116,9 +116,6 @@
   <loc>http://php.net/thanks.php</loc>
  </url>
  <url>
-  <loc>http://php.net/tips.php</loc>
- </url>
- <url>
   <loc>http://php.net/unsub.php</loc>
  </url>
  <url>
diff --git a/tips.php b/tips.php
deleted file mode 100644
index bf58781..0000000
--- a/tips.php
+++ /dev/null
@@ -1,402 +0,0 @@
-<?php
-// $Id$
-$_SERVER['BASE_PAGE'] = 'tips.php';
-include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
-$SIDEBAR_DATA = '
-<h3>About URL shortcuts</h3>
-<p>
- Most of the tips here utilize PHP.net URL shortcuts, so they allow you
- more then just function lookups. For more information on what is possible
- with our shortcuts, see the <a href="/urlhowto.php">URL Howto page</a>.
-</p>
-
-<h3>More on language selection</h3>
-<p>
- These shortcuts display pages in your own preferred language, as detected
- by the PHP site. For more information on language selection, see
- <a href="/my.php">the My PHP.net page</a>.
-</p>
-';
-site_header("Quick Reference Tips", array("current" => "help"));
-
-function tip_title($title, $author = '', $date = '')
-{
-    echo "<hr />\n<h2>$title<br />\n";
-    echo "<small>Submitted by $author ($date)</small></h2>\n";
-}
-?>
-
-<h1>Quick Reference Tips</h1>
-
-<p>
- On this page, you can find many neat tips and tricks to look up
- information about PHP functions and language constructs.
- Send your suggestions for tips to <a href="/contact.php">the webmasters</a>.
-</p>
-
-<?php tip_title('PHP Docs-to-go for Google Chrome', 'Richard Wagener', 
'07-Oct-2011'); ?>
-<p>
-This is the complete php manual including user notes that works 100% OFFLINE. 
-It allows for searching, and quick access by using the Omnibox Feature.
-To use the omnibox type &gt; Ctlr+T &gt; Type "OP" &gt; Press (Tab) &gt; Enter 
the function name
-</p>
-<p>
-For more info, see
-<a 
href="https://chrome.google.com/webstore/detail/mlilmganaobieaclflbciblffhaagnip";>https://chrome.google.com/webstore/detail/mlilmganaobieaclflbciblffhaagnip</a>
-</p>
-
-
-<?php tip_title('PHPDevBar for Firefox', 'Felipe Nascimento de Moura', 
'26-Jul-2011'); ?>
-<p>
- PHPDevBar is an addon for Firefox. This toolbar uses the official 
documentation
- from PhD and quickly retrieves method and function definitions.
- You can also use it to search in PHP Web sites.
-</p>
-<p>
- Besides that, PHP Developer Toolbar has a huge list of user groups and server 
and client tools/links.
- The addon also contains <q>PHPClassGen</q>, which allows you to easily 
generate
- a class and its HTML Form just by filling out a form.
-</p>
-<p>
- The Firefox addon is available at
- <a 
href="https://addons.mozilla.org/pt-BR/firefox/addon/php-developer-toolbar/";>https://addons.mozilla.org/pt-BR/firefox/addon/php-developer-toolbar/</a>.
- See the projects website for more details at <a 
href="http://phpdevbar.org";>http://phpdevbar.org</a>
-</p>
-
-<?php tip_title('Quick Reference for Google Chrome', 'Søren Nielsen', 
'31-Jul-2009'); ?>
-
-<p>
- Rust right-click (control-click or click-and-hold for Macintosh users)
- on this link: <a href="javascript:q=document.getSelection();if(q == 
'')void(q=prompt('PHP Reference:',''));if(q)location.href='<?php echo 
$MYSITE?>'+escape(q)" title="PHP Quick Reference">PHP Quick Reference</a>
- and add it to your bookmarks. With some browsers, you may need to edit
- your bookmarks manually to give the bookmark an easy-to-remember title.
-</p>
-<p>
- If you want the bookmark toolbar to appear simply press Ctrl+B.
-</p>
-
-<?php tip_title('Quick Reference for Opera 9', 'Mustaque Ullah', 
'09-Sep-2007');?>
-
-<p>
- In Opera, go to Tools --&gt; Preferences, and then click on the Search tab. 
You
- should "Add a new search engine" and fill in the appropriate fields. My
- choices are below.
-</p>
-<ul>
- <li>Name: PHP</li>
- <li>Keyword: p</li>
- <li>Address: http://php.net/search.php</li>
- <li>Query string: pattern=%s&amp;show=quickref</li>
-</ul>
-<p class="note">
- You have to check "Use POST" to be able to type in a query string.
-</p>
-<p>
- From then on (click OK twice to close the windows) you should be able to 
search
- the function list by typing "p function" in the address bar (or use the
- search dropdown menu). You can change "quickref" to "all" if you want to
- search all php.net sites, or "manual" for the online documentation.
-</p>
-
-<?php tip_title('Function lookup with Apple Dashboard', 'Gabor Hojtsy', 
'02-Apr-2006');?>
-
-<p>
- There are some options for
- <a href="http://support.apple.com/kb/HT2492";>Apple Dashboard</a> users:
-</p>
-<ul>
- <li>
-  Andrew Hedges created the <a 
href="http://andrew.hedges.name/widgets/#phpfr";>PHP
-  Function Reference widget</a>, which ships with a copy of the PHP Manual, and
-  includes additional functionality, such as a favourites list and an 
interactive
-  <code>date()</code> formatter.
- </li>
- <li>
-  Claudio Procida's <a 
href="http://www.apple.com/downloads/dashboard/developer/phpquickreferencewidget.html";>PHPQuickReference
 widget</a> provides a custom
-  view of the online PHP documentation with some added features.
- </li>
- <li>
-  Havard Eide <a href="http://eide.org/view/osx/dashboard";>implemented the
-  Dashboard Widget</a> version of <a 
href="http://wiki.cc/php/Epc_phpm";>phpm</a>,
-  providing function lookups.
- </li>
- <li>
-  Simon Ganiere created the <a 
href="http://www.simonganiere.ch/?page_id=39";>PHP
-  Manual widget</a>, which provides a simple search field to the PHP.net
-  function lookup search.
- </li>
- <li>
-  Nathan Bolender also created a simple <a
-  
href="http://www.apple.com/downloads/dashboard/developer/phpsearch.html";>PHP.net
-  Search widget</a>, available from the Apple website.
- </li>
-</ul>
-
-<?php tip_title('Search from the Safari Search Bar', 'Gabor Hojtsy', 
'19-Jan-2004');?>
-
-<p>
- You can point your search engine setting to a local script on your own 
webserver,
- and set up a PHP script to allow you to use shortcuts provided by other 
browsers.
- See the detailed explanation at
- <a 
href="http://www.macosxhints.com/article.php?story=20030519070642235";>MacOSXHints.com</a>.
-</p>
-
-<?php tip_title('Search from the WeberDev Toolbar', 'Boaz Yahav', 
'16-Aug-2003');?>
-
-<p>
- The <a href="http://www.weberdev.com/toolbar";>WeberDev Toolbar</a> provides 
direct
- search functions to the PHP function list and the bug database, right from a
- browser toolbar.
-</p>
-
-<?php tip_title('Quick Reference for BBEdit', 'Stian Andersen', 
'27-July-2003');?>
-
-<p>
- BBEdit users can put this little AppleScript into the Scripts folder of
- BBEdit to look up functions on the PHP website as they type. This will
- probably work in other AppleScript supporting text editors too, with
- small modifications. The script uses the current selection, or prompts for
- a function name, and uses the default browser to show the page at php.net.
-</p>
-<pre class="info">
-tell application "BBEdit"
-    set fu to selection of window 1 as string
-    if fu = "" then
-        set fu to text returned of (display dialog "PHP Function:" default 
answer "")
-    end if
-
-    if fu is not "" then
-        set target_URL to "<?php echo $MYSITE; ?>" &amp; fu
-        open location target_URL
-    end if
-end tell
-</pre>
-
-<?php tip_title('Quick Reference for iCab', 'Telcontar', '17-Jun-2003');?>
-
-<p>
- Open the Preferences dialog box, select Searches and then Internet Sites.
- Click New, add "PHP Quick Reference" as the Title, and
- <tt>"<?php echo $MYSITE; ?>"</tt> as the URL. If
- you add a letter in the Key column (eg. "p") you can search using the
- address bar with that letter (eg. "p str_replace"). Otherwise, use Edit
- &rarr; Find (Cmd-F) and select "On the Internet" under Find and choose
- "PHP Quick Reference" as the search site.
-</p>
-
-<?php tip_title('Quick Reference for Internet Explorer 4 and above', 
'Fraghunter', '07-Nov-2002');?>
-
-<p>
- Just right-click on this link:
- <a 
href="javascript:q=document.selection.createRange().text;if(!q)void(q=prompt('PHP%20Reference:',''));if(q)location.href='<?php
 echo $MYSITE; ?>'+escape(q)" title="PHP Quick Reference">PHP Quick 
Reference</a>
- and add it to your bookmarks. Using this bookmark you can directly get to
- the documentation page of any function you have selected the name of
- on the page, or if there is no selection, you are prompted for a string to
- look for.
-</p>
-
-<?php tip_title('Quick Reference for KDE 3.x', 'James Grant', '07-Nov-2002');?>
-
-<p>
- In <a href="http://www.kde.org/";>KDE</a> 3.0, the PHP quicksearch 
- is preconfigured, so you can type "php:mail" in Konqueror to get
- the mail() function's manual page.
-</p>
-
-<?php tip_title('Search Box for Galeon', 'Carter Comunale', '31-Oct-2002'); ?>
-
-<ol>
- <li>Press CTRL+D to add a bookmark</li>
- <li>Edit the bookmark, filling the following fields in:
- <dl>
-  <dt>Name</dt><dd>PHP</dd>
-  <dt>URL</dt><dd><?php echo $MYSITE; ?></dd>
-  <dt>Smart URL</dt><dd><?php echo $MYSITE; ?></dd>
-  <dt>Nicknames</dt><dd>php</dd>
- </dl>
- </li>
- <li>
-  You can also add a logo to the bookmark, see our
-  <a href="/download-logos.php">logos page</a>
- </li>
-</ol>
-
-<?php tip_title('Quick Reference for OmniWeb on Mac OS X', 'Steve Poole', 
'03-Oct-2002'); ?>
-
-<ol>
- <li>Open the Preferences window in OmniWeb, and select Shortcuts.</li>
- <li>Click the + button to add a shortcut.</li>
- <li>In the Shortcut column type: <tt>php@</tt></li>
- <li>In the Destination URL column type: <tt><?php echo $MYSITE; ?>%@</tt></li>
- <li>Close the Preferences window.</li>
-</ol>
-
-<p>
- Now you can search for PHP functions by typing into the URL well.
- For instance, <tt>php mysql</tt> or <tt>php strstr</tt>.
-</p>
-
-<?php tip_title('Quick Reference for Opera', 'Paul Sculthorpe', 
'11-Jun-2002');?>
-
-<p>
- Add this stuff to search.ini in your Opera directory.
-</p>
-
-<p>
- I replaced one of the existing search engine entries 
- (number 4 in this case), but there are tools around 
- that allow you to fully manage the search features of Opera.
-</p>
-
-<p>
- After adding, saving and restarting Opera, I can access the 
- PHP function list by typing 'p is_dir' in the address bar of
- any Opera window.
-</p>
-
-<pre class="info">
-[Search Engine 4]
-Name=PHP
-URL=<?php echo $MYSITE; ?>
-Query=
-Key=p
-Is post=0
-Has endseparator=0
-Encoding=utf-8
-Search Type=0
-</pre>
-
-<?php tip_title('Quick Reference for KDE 2.1', 'Christoph Luehr', 
'10-Mar-2001');?>
-
-<p>
- With <a href="http://www.kde.org/";>KDE</a> 2.1, it is possible
- to configure the Konqueror web browser to recognize quick reference
- URIs, for example: "php:mysql_connect".
-</p>
-
-<p>
- Just open the Konqueror menu "Settings &rarr; Configure Konqueror",
- select the tab "Enhanced Browsing", check "Enable Web Shortcuts".
-</p>
-
-<p>
- Then click on "Add..." and fill the dialog:
-</p>
-
-<ul>
- <li>Search provider name: <b>"PHP Manual Quick Reference"</b></li>
- <li>Search URI: <b><?php echo $MYSITE; ?>\1</b></li>
- <li>URI Shortcuts: <b>php</b></li>
-</ul>
-
-<p>
- Voila!
-</p>
-
-<?php tip_title('Adding the Quick Reference to most Javascript-capable 
Browsers', 'Anonymous', '07-Mar-2001'); ?>
-
-<p>
- Just right-click (control-click or click-and-hold for Macintosh users)
- on this link: <a 
href="javascript:q=document.getSelection();if(!q)void(q=prompt('PHP 
Reference:',''));if(q)location.href='<?php echo $MYSITE; ?>'+escape(q)" 
title="PHP Quick Reference">PHP Quick Reference</a>
- and add it to your bookmarks. With some browsers, you may need to edit
- your bookmarks manually to give the bookmark an easy-to-remember title.
-</p>
-
-<?php tip_title('Adding the Quick Reference to Mozilla and Netscape 6/7', 
'André Langhorst', '16-Aug-2000'); ?>
-
-<p>
- Quick access to PHP documentation and site search for all Mozilla (including 
Firebird)
- and Netscape 6/7 users:
-</p>
-
-<ol>
- <li>Click "Bookmarks &rarr; Manage Bookmarks"</li>
- <li>
-  Create a bookmark in a folder of your choice on
-  the following URL: <tt><?php echo $MYSITE; ?>%s</tt>
-  and choose a name for it.
- </li>
- <li>
-  Right click the bookmark you have just created and select "Properties..."
- </li>
- <li>
-  Choose a "custom keyword" you want to enter in the URL bar,
-  eg. "php" and fill it in.
- </li>
- <li>Click "ok" and open a new browser window.</li>
- <li>
-  Finished. Now you are able to enter eg. "php fgets" to look
-  up the manual entry on the function fgets(). You can also access
-  PHP.net pages with this shortcut. If you type "php links" you will
-  get to the links page on our site.
- </li>
-</ol>
-
-<?php tip_title('Adding the Quick Reference to Internet Explorer 5', 'Colin 
Viebrock', '28-Jul-2000'); ?>
-
-<ol>
- <li>
-  If you don't already have the IE5 Tools package, download and install it from
-  <a href="http://www.microsoft.com/Windows/IE/WebAccess/ie5tools.asp";
-  >www.microsoft.com/Windows/IE/WebAccess/ie5tools.asp</a>
- </li>
- <li>Launch the QuickSearch utility (you'll find it on your Links bar)</li>
- <li>
-  Add a new search shortcut by clicking on "New" and use the
-  following settings:
-  <ul>
-   <li>Shortcut: <tt>php</tt></li>
-   <li>Search: <strong>Custom URL</strong></li>
-   <li>URL: <tt><?php echo $MYSITE; ?>%s</tt></li>
-  </ul>
- </li>
- <li>Click "Ok", then click "Save" to keep your new settings</li>
- <li>
-  That's it! Try it by typing "php strlen" in the IE Address bar.
-  You should jump right to the manual entry for strlen().
- </li>
-</ol>
-
-<?php tip_title('Adding the Quick Reference to Netscape on Linux', 'David 
Rose', '28-Jul-2000'); ?>
-
-<p>
- Further to the example above for Windows/IE users, here's something
- Linux folks can do:
-</p>
-
-<ol>
- <li>Create a file called <tt>phpfind</tt> somewhere on an executable path</li>
- <li>
-  In that file, write the following code (substituting the path to Netscape,
-  if necessary):
-<pre class="info">
-#!/bin/sh
-/usr/bin/netscape <?php echo $MYSITE; ?>$1
-</pre>
- </li>
- <li>Save it and type <tt>chmod +x phpfind</tt> to make it executable</li>
- <li>
-  That's it. When you type "phpfind fopen" on your command line, 
-  Netscape will open the fopen() documentation page for you.
- </li>
-</ol>
-
-<?php tip_title('Quick Reference for Gnome Users', 'Benjamin Curtis', 
'29-Jul-2000'); ?>
-
-<p>
- Here's another search option for Linux users who use Gnome. This is a macro
- for gnome's mini-commander panel applet (modified from the Yahoo search that
- comes with the applet):
-</p>
-
-<p>
- <strong>Regex:</strong><br /><tt>^php: *(.*)$</tt>
-</p>
-
-<p>
- <strong>Macro:</strong><br />
- <tt>gnome-moz-remote --newwin <?php echo $MYSITE; ?>$(echo<br />
-'\1'|sed -e ': p;s/+/%2B/;t p;: s;s/\ /+/;t s;: q;s/\"/%22/;t q')</tt>
-</p>
-
-<?php site_footer(); ?>
diff --git a/urlhowto.php b/urlhowto.php
index abf2c49..b79e910 100644
--- a/urlhowto.php
+++ b/urlhowto.php
@@ -17,12 +17,6 @@ $SIDEBAR_DATA='
  <li><a href="'.$MYSITE.'searchterm">/searchterm</a></li>
 </ul>
 
-<h3>Quick reference tips</h3>
-<p>
- You can find <a href="/tips.php">more
- quick reference tips</a> on our site.
-</p>
-
 <h3>My PHP.net</h3>
 <p>
  URL shortcut behaviour is greatly influenced by
-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to