note 45933 deleted from function.count by aidan
| From: | aidan@php.net | Date: | Fri, 24 Sep 2004 01:33:17 +0000 |
| Subject: | note 45933 deleted from function.count by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77289@lists.php.net to get a copy of this message | ||
Note Submitter: Eclipse at admin at eclipsethenet dot us
----
This maybe be useful when the user defines, or influences, how many $_POST, $_GET, $_SESSION, or
$_REQUEST variables:
<?php
$count = count($_GET); //This will find how many variables were added to the url
$count = count($_POST); //This will find how many variables were submit via HTTP POST
$count = count($_SESSION); //This will find how many variables are stored to the current session
?>