From 64f26e7b67a328556c3e7c160ca9879ac25a65b5 Mon Sep 17 00:00:00 2001 From: Michael Ang Date: Fri, 28 Jan 2011 02:52:38 +0000 Subject: [PATCH] Allow GET or POST --- BookReaderIA/www/BookReaderAuth.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BookReaderIA/www/BookReaderAuth.php b/BookReaderIA/www/BookReaderAuth.php index 878a6b6..1a82afe 100644 --- a/BookReaderIA/www/BookReaderAuth.php +++ b/BookReaderIA/www/BookReaderAuth.php @@ -18,10 +18,10 @@ This file is part of BookReader. along with BookReader. If not, see . */ -$id = $_POST['id']; -$uuid = $_POST['uuid']; -$token = $_POST['token']; -$bookPath = $_POST['bookPath']; +$id = $_REQUEST['id']; +$uuid = $_REQUEST['uuid']; +$token = $_REQUEST['token']; +$bookPath = $_REQUEST['bookPath']; if (!preg_match('/^\d{10}-[0-9a-f]{32}$/', $token)) { fatal(); -- 2.20.1