Connecting Tech Pros Worldwide Help | Site Map

Handling GET parameters in new Zend Framework 0.9.1

ivan.ilijasic@gmail.com
Guest
 
Posts: n/a
#1: Apr 5 '07
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.

Jerry Stuckle
Guest
 
Posts: n/a
#2: Apr 5 '07

re: Handling GET parameters in new Zend Framework 0.9.1


ivan.ilijasic@gmail.com wrote:
Quote:
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
==================
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#3: Apr 6 '07

re: Handling GET parameters in new Zend Framework 0.9.1


On Apr 5, 10:28 pm, ivan.ilija...@gmail.com wrote:
Quote:
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.
IIRC, ZF needs mod_rewrite

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Closed Thread