cvs: presentations /slides/errorhandling fallback-to-cache.xml search-404.xml
| From: | Derick Rethans | Date: | Fri, 09 May 2003 09:35:29 +0000 |
| Subject: | cvs: presentations /slides/errorhandling fallback-to-cache.xml search-404.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-705@lists.php.net to get a copy of this message | ||
derick Fri May 9 05:35:29 2003 EDT
Modified files:
/presentations/slides/errorhandling fallback-to-cache.xml
search-404.xml
Log:
- Commit some after-pres changes
Index: presentations/slides/errorhandling/fallback-to-cache.xml
diff -u presentations/slides/errorhandling/fallback-to-cache.xml:1.1
presentations/slides/errorhandling/fallback-to-cache.xml:1.2
--- presentations/slides/errorhandling/fallback-to-cache.xml:1.1 Tue May 6 16:51:46 2003
+++ presentations/slides/errorhandling/fallback-to-cache.xml Fri May 9 05:35:29 2003
@@ -6,12 +6,9 @@
<image align="center" filename="mysql-error-cache.png" />
<blurb> </blurb>
- <example fontsize="1.2em"
- filename="il-error-handle.php"
- result="0"
- />
+
<list effect="slide" fontsize="4.5em">
- <bullet>Always check return values</bullet>
- <bullet>@ operator</bullet>
+ <bullet>Store generated pages in cache</bullet>
+ <bullet>When no connection, use the cached page</bullet>
</list>
</slide>
Index: presentations/slides/errorhandling/search-404.xml
diff -u presentations/slides/errorhandling/search-404.xml:1.1
presentations/slides/errorhandling/search-404.xml:1.2
--- presentations/slides/errorhandling/search-404.xml:1.1 Tue May 6 16:51:46 2003
+++ presentations/slides/errorhandling/search-404.xml Fri May 9 05:35:29 2003
@@ -13,11 +13,11 @@
$filename = $_SERVER['DOCUMENT_ROOT'] . ltrim($_SERVER['REQUEST_URI'],
'/');
ob_start();
-? >
+?>
<html>
<head><title><?php echo "Info about $search_string";
?></title></head>
<body>
-<?php echo "<h1>$search_string:</h1>\n"; ? >
+<?php echo "<h1>$search_string:</h1>\n"; ?>
</body>
<?php
$data = ob_get_contents();
@@ -26,6 +26,6 @@
$f = fopen($filename, "w");
fwrite($f, $data);
fclose($f);
-? >
+?>
]]></example>
</slide>