[PHP4BETA] CVS update: php4/ext/standard
| From: | zeev | Date: | Sun, 02 May 1999 19:54:02 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-628@lists.php.net to get a copy of this message | ||
Date: Sunday May 2, 1999 @ 15:54
Author: zeev
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv28231/ext/standard
Modified Files:
info.c
Log Message:
Move path_info to the SAPI structure
Index: php4/ext/standard/info.c
diff -u php4/ext/standard/info.c:1.8 php4/ext/standard/info.c:1.9
--- php4/ext/standard/info.c:1.8 Mon Apr 26 13:26:36 1999
+++ php4/ext/standard/info.c Sun May 2 15:54:02 1999
@@ -88,6 +88,7 @@
#endif
ELS_FETCH();
PLS_FETCH();
+ SLS_FETCH();
#if WIN32|WINNT
// Get build numbers for Windows NT or Win95
@@ -104,7 +105,9 @@
PUTS("<img src=\"");
- /*PUTS(r->uri);*/
+ if (SG(request_info).request_uri) {
+ PUTS(SG(request_info).request_uri);
+ }
PUTS("?=PHPE9568F34-D428-11d2-A769-00AA001ACF42\" border=\"0\"
width=\"100\" height=\"56\" align=\"right\">\n");
php3_printf("<center><h1>PHP Version %s</h1></center>\n",
PHP_VERSION);
PUTS("<p>by <a href=\"mailto:rasmus@lerdorf.on.ca\">Rasmus
Lerdorf</a>,\n");
@@ -392,7 +395,9 @@
PUTS("<table width=\"100%%\"><tr>\n");
php3_printf("<td><h2>Zend</h2>This program makes use of the Zend scripting
language engine:<br><pre>%s</pre></td>", get_zend_version());
PUTS("<td width=\"100\"><a href=\"http://www.zend.com/\"><img src=\"");
- /*PUTS(r->uri);*/
+ if (SG(request_info).request_uri) {
+ PUTS(SG(request_info).request_uri);
+ }
PUTS("?=PHPE9568F35-D428-11d2-A769-00AA001ACF42\" border=\"0\"
width=\"100\" height=\"89\"></a></td>\n");
PUTS("</tr></table>\n");
--
PHP 4 Beta