You are here: Re: Handling GET parameters in new Zend Framework 0.9.1 « PHP Programming Language « IT news, forums, messages
Re: Handling GET parameters in new Zend Framework 0.9.1

Posted by Jerry Stuckle on 04/05/07 22:12

ivan.ilijasic@gmail.com wrote:
> It seems that I'm not getting any values out of GET and POST methods.
> Everything was working properly on previous versions.
>
> Do you know how to get GET (or POST ) values?
>
> I'm using this type of URL
>
> http://localhost/controller/action/id/1
>
> I tried directly to $_GET array, but I'm getting nothing. I tried to
> use Zend_Controller_Request_Http class, but no luck.
>

That's not a GET parameter. That's a URL. A GET parameter would be
something lile http://localhost/controller/action?id=1

Then $_GET['id'] would contain 1.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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