Re: To capture Http Headers
| From: | Jochem Maas | Date: | Wed, 10 May 2006 00:14:14 +0000 |
| Subject: | Re: To capture Http Headers | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235834@lists.php.net to get a copy of this message | ||
Kaushal Shriyan wrote:
On 5/9/06, Jochem Maas <jochem@iamjochem.com> wrote:yes if you put that in test.php that is what it would look like - why don't you try it??? (hint everything after '?>' will be shown in the browser as is rather than being parsed by php because php only parses stuff it finds between '<?php' and '?>') have you actually read any at php.net? (e.g. http://nl2.php.net/manual/en/tutorial.php)Thanks Jochem Maas Thanks a Lot so it would look like below if i put in test.php <?php var_dump($_POST, $_GET, $_REQUEST); ?> echo "<ul>"; ksort($_GET); foreach ($_GET as $key => $val) {echo "<li>{$key}: {$val}</li>";} echo "</ul>";
Please adviceadvise not advice. verb not noun. 'advise' is what I *do* when I give you some hints about how to achieve what your trying to. an example of 'advice' would be 'RTFM please'.
Thanks in Advance Kaushal