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!
I think argv is for arguments from the command-line when you call PHP directly through the CLI... if you just want "parameters passed via the url" why aren't you using $_GET?
Reading the CGI 1.1 Specification, there is no mention of the argv variable. When reading the PHP definition of the 'argv' variable, this stands out...
The PHP Manual on Predefined Variables wrote:Array of arguments passed to the script. When the script is run on the command line, this gives C-style access to the command line parameters. When called via the GET method, this will contain the query string.