cvs: phpweb /include shared-manual.inc
| From: | Jim Winstead | Date: | Mon, 26 Feb 2001 23:08:03 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4052@lists.php.net to get a copy of this message | ||
jimw Mon Feb 26 15:08:03 2001 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
don't mix post and get parameters
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.90 phpweb/include/shared-manual.inc:1.91
--- phpweb/include/shared-manual.inc:1.90 Mon Feb 26 14:58:59 2001
+++ phpweb/include/shared-manual.inc Mon Feb 26 15:08:03 2001
@@ -248,10 +248,11 @@
global $PHP_SELF, $SERVER_NAME, $SERVER_PORT;
$cur = substr(dirname($PHP_SELF),-2);
if($cur=='al') $cur='en';
- echo '<FORM method="POST" action="http://www.php.net/manual/add-note.php?lang='.$cur.'">';
+ echo '<FORM method="POST" action="http://www.php.net/manual/add-note.php">';
$back_url = "http://$SERVER_NAME".(($SERVER_PORT==80)?"":":".$SERVER_PORT).$PHP_SELF;
- echo '<INPUT type=hidden name="redirect"
value="'.$back_url.'">';
- echo '<INPUT type=hidden name="sect"
value="'.$title.'">';
+ echo '<INPUT type="hidden" name="redirect"
value="'.$back_url.'">';
+ echo '<INPUT type="hidden" name="sect"
value="'.$title.'">';
+ echo '<INPUT type="hidden" name="lang"
value="'.$cur.'">';
echo "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100%>\n";