Can you get the length of the $_POST array?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
verabug
Forum Newbie
Posts: 16
Joined: Tue Jun 11, 2002 7:53 pm
Location: San Francisco, CA
Contact:

Can you get the length of the $_POST array?

Post by verabug »

Hi,

I would like to be able to know how many parameters were passed when my .php file was called. Is that possible?

Thanks,
Vera.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

just like with any array
http://php.net/count
Post Reply