[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/software/goodbye index.php
From: |
Matt Lee |
Subject: |
www/software/goodbye index.php |
Date: |
Wed, 30 Dec 2009 18:02:41 +0000 |
CVSROOT: /web/www
Module name: www
Changes by: Matt Lee <mattl> 09/12/30 18:02:41
Modified files:
software/goodbye: index.php
Log message:
try this
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/software/goodbye/index.php?cvsroot=www&r1=1.7&r2=1.8
Patches:
Index: index.php
===================================================================
RCS file: /web/www/www/software/goodbye/index.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- index.php 30 Dec 2009 18:00:31 -0000 1.7
+++ index.php 30 Dec 2009 18:02:37 -0000 1.8
@@ -9,17 +9,24 @@
<?php
-$p=$_GET['p'];
+$goodbye=$_POST['goodbye'];
+$actual=$_POST['actual'];
-if (!$p) {
+if ($actual) {
+
+ echo "do some stuff";
+
+ } else {
+
+ if (!$goodbye) {
?>
<p>The GNU Goodbye program is intending to produce a familiar, friendly
farewell. In many ways, it could be considered a sister-program to GNU Hello,
but unlike GNU Hello, it has not yet been developed.</p>
-<h2>Do you like filling out forms?</h2>
-
-<p>GNU Goodbye will give you <a href="/software/goodbye/?p=p">plenty of
opportunities</a> to complete meandering amounts of paperwork.</p>
+<form method="post">
+<p><input type="submit" value="Say Goodbye!" name="goodbye" /></p>
+</form>
<?php
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php,
Matt Lee <=
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30
- www/software/goodbye index.php, Matt Lee, 2009/12/30