Running php code locally passing parameters not working
Posted: Tue Oct 12, 2010 12:16 am
Hi all,
I open the cmd prompt and run a php script and it works. Ex: php script.php
I was hopeful I could use the querystring parameter Ex: php script.php?var1=A&var2=B
But I get: Could not open input file: ExtractOneDatabase.php?dbid=5
Is there a way to do this? Or do I need to pass parameters via an input file when run locally?
Thanks,
Mat
I open the cmd prompt and run a php script and it works. Ex: php script.php
I was hopeful I could use the querystring parameter Ex: php script.php?var1=A&var2=B
But I get: Could not open input file: ExtractOneDatabase.php?dbid=5
Is there a way to do this? Or do I need to pass parameters via an input file when run locally?
Thanks,
Mat