/[webpac2]/trunk/web/iwf/testers/iwfajaxpost.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/web/iwf/testers/iwfajaxpost.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 69 - (hide annotations)
Sat Nov 19 23:48:19 2005 UTC (18 years, 7 months ago) by dpavlin
File size: 667 byte(s)
 r8979@llin:  dpavlin | 2005-11-20 00:39:43 +0100
 another fix for checkboxes, added textarea, checkbox and radio buttons to
 tests

1 dpavlin 46 <?
2     require_once('../php/iwf.php');
3 dpavlin 69
4     $now = gmdate("D, d M Y H:i:s");
5    
6     header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" );
7     header( "Last-Modified: $now GMT" );
8     header( "Cache-Control: no-cache, must-revalidate" );
9     header( "Pragma: no-cache" );
10    
11 dpavlin 46 $iwf->popup($iwfTarget);
12     $iwf->startHtml($iwfTarget);
13     $iwf->pretty(true);
14    
15 dpavlin 69 echo "Generated on $now GMT<br/>";
16    
17 dpavlin 46 echo "<h1>GET</h1>";
18    
19     foreach($_GET as $key => $val){
20     echo "'$key' = '$val'<br />";
21     }
22    
23     echo "<h1>POST</h1>";
24     foreach($_POST as $key => $val){
25     echo "'$key' = '$val'<br />";
26     }
27    
28     echo "<h1>RAW POST</h1>";
29     echo $GLOBALS['HTTP_RAW_POST_DATA'] . "<br />";
30    
31     $iwf->endHtml(true);
32    
33    
34 dpavlin 69 ?>

  ViewVC Help
Powered by ViewVC 1.1.26