How can you count number of parameters given in a URL by
POST method?
Answer Posted / 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 |
Post New Answer View All Answers
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
How do you execute a php script from the command line?
What is a controller in programming?
What is magic function in php?
What is php how it works?
Is gender a dependent variable?
What is the use of @ in php?
How do I run php?
How we load all classes that placed in different directory in one php file , means how to do auto load classes.
Why delimiter is used in mysql?
Can you use both this () and super () in a constructor?
Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What is the difference between pop3 IMAP and MAPI?
Is php easier than node?
Tell me how is it possible to return a value from a function?