Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How can you count number of parameters given in a URL by
POST method?

Answers were Sorted based on User's Feedback



How can you count number of parameters given in a URL by POST method?..

Answer / krisha

think count($_POST) will work.check it out.

Is This Answer Correct ?    27 Yes 6 No

How can you count number of parameters given in a URL by POST method?..

Answer / avishek kumar

we can use count() function for it like

count($_POST) ;

Is This Answer Correct ?    7 Yes 3 No

How can you count number of parameters given in a URL by POST method?..

Answer / ghan shyam

you can count parmeter using cout function or sizeof function

count($_POST)

sizeof($_POST)

because parameter sent by any method(POST OR GET METHOD) comes in array

Is This Answer Correct ?    3 Yes 1 No

How can you count number of parameters given in a URL by POST method?..

Answer / vibhor

count($_POST)
count counts the number and $_POST gets all the values who
are posted in form.
I get http://quizplaza.com It is great site that will help
to prepare in examinations and jobs. There are million of
question answer

Is This Answer Correct ?    2 Yes 0 No

How can you count number of parameters given in a URL by POST method?..

Answer / sudipto

It will be count($_REQUEST), it will work

Is This Answer Correct ?    4 Yes 13 No

Post New Answer



More PHP Interview Questions

What is isset post?

0 Answers  


How to run the interactive php shell from the command line interface?

0 Answers  


Write the statements that are used to connect php with mysql

0 Answers  


What is session in c#?

0 Answers  


Which software is best for php?

0 Answers  






In mail($param1, $param2, $param3, $param4), the $param2 contains__

1 Answers  


How do you parse and process html/xml in php?

0 Answers  


What is the use of session and cookies in php?

0 Answers  


How can I make a script that can be bilanguage (supports English, German)?

3 Answers  


Can constructor be private in php?

0 Answers  


How are sessions maintained?

0 Answers  


1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?

4 Answers   PA Consulting, TCS,






Categories