You are here: Running a PHP script with get params in shell « All PHP « IT news, forums, messages
Running a PHP script with get params in shell

Posted by Nick Weisser on 06/20/06 14:41

Hi there,

I'm trying to run a php script in a unix shell like so:

php /path/to/script/foo.php?offset=0&rows=8000&language=en

which ends up in an error message like so:

[1] 20096
[2] 20097
[2] Done rows=8000

Any ideas how to handle with these get params in order to achieve the
desired result would be very much appreciated :-)

Cheers,
Nick

P.S. In a browser the script runs flawlessly
http://www.mydomain.com/foo.php?offset=0&rows=8000&language=en

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация