Permalink
Browse files

use POST values instead of test

  • Loading branch information...
jcleblanc committed Jul 17, 2009
1 parent a7b276b commit 77a43a7dccf945834e512f872fa24202a99c5eae
Showing with 3 additions and 7 deletions.
  1. +3 −7 index.php
View
@@ -4,14 +4,10 @@
require_once("CustomSessionStore.inc");
//capture POST data for update
-/*$title = $_POST['title'];
+$title = $_POST['title'];
$description = $_POST['description'];
$link = $_POST['link'];
-$token = $_POST['token'];*/
-
-$title = "test";
-$description = "test description";
-$link = "http://nakedtechnologist.com";
+$token = $_POST['token'];
//initialize session
$sessionStore = new CustomSessionStore();
@@ -24,4 +20,4 @@
$yahoo_user->insertUpdate($suid, $title, $link, $description);
echo "Update Successful";
}
-?>
+?>

0 comments on commit 77a43a7

Please sign in to comment.