Module: tools Branch: master Commit: 04e04cfb2d886a02a64d366e1033a685a7f5d359 URL: http://source.winehq.org/git/tools.git/?a=commit;h=04e04cfb2d886a02a64d366e1...
Author: Jeremy Newman jnewman@codeweavers.com Date: Thu Apr 14 17:54:30 2011 +0200
winetest: Add a php script for POST tests.
---
winetest/tests/post.php | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/winetest/tests/post.php b/winetest/tests/post.php new file mode 100644 index 0000000..e8d6e17 --- /dev/null +++ b/winetest/tests/post.php @@ -0,0 +1,21 @@ +<?php + +/* + * Simple POST test script used by Wine Regression tests + */ + +header("Content-Type: text/plain"); + +if (is_array($_POST) and count($_POST) > 0) +{ + foreach ($_POST as $name => $value) + { + echo "$name => $value\n"; + } +} +else +{ + echo "FAILED"; +} + +?>