diff --git a/gifs/tips-quickref.gif b/gifs/tips-quickref.gif new file mode 100644 index 000000000..e5318bb3b Binary files /dev/null and b/gifs/tips-quickref.gif differ diff --git a/php-style.css b/php-style.css index 9986ec141..4b115dd71 100644 --- a/php-style.css +++ b/php-style.css @@ -42,4 +42,12 @@ TD,TH { PRE { font-size : 10pt; -} \ No newline at end of file +} + +LI { + margin-bottom: 4pt; +} + +UL,OL { + margin-top: 4pt; +} diff --git a/tips.php b/tips.php new file mode 100644 index 000000000..f0aaa2349 --- /dev/null +++ b/tips.php @@ -0,0 +1,70 @@ +" . $title . "
\n"; + if ($author || $date) { + echo "\n"; + if ($author) { + echo "Submitted by " . $author . "
\n"; + } + if ($date) { + echo $date . "
\n"; + } + echo "
\n"; + } + echo "
\n"; +} + +?> + +

Cool PHP Tips and Tricks

+ +

+This page is going to contain a collection of "neat" tips and tricks +related to PHP. They aren't necessarily be related to actually coding in PHP +(as our first example shows), but they are, in our opinion, pretty cool. +

+ +

+Send your suggestions for tips to webmaster@php.net. +

+ +
+ + + +
    + +
  1. If you don't already have the IE5 Tools package, download and install it from +www.microsoft.com/Windows/IE/WebAccess/ie5tools.asp + +
  2. Launch the QuickSearch utility (you'll find it on your Links bar) + +
  3. Add a new search shortcut by clicking on "New" and use the following settings: + +... or substitute your favorite mirror site instead of www.php.net
    +
    +
    +
    + +
  4. Click "Ok", then click "Save" to keep your new settings + +
  5. That's it! Try it by typing "php strlen" in the IE Address bar. You should +jump right to the manual entry for strlen. And because the QuickRef code on the +PHP site is smart, you can use it to do general searches of the PHP site. For +example, try typing "php file upload" in your browser. + +
+ + + +