Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to set up Zend Debugger to run with URI imbedded parameter(Zend Debugger)
How to set up Zend Debugger to run with URI imbedded parameter [message #535511] Mon, 24 May 2010 08:07 Go to next message
sangzhuthy  is currently offline sangzhuthy Friend
Messages: 3
Registered: May 2010
Junior Member
We know that in ZF, all request are run through index.php file. Parameters can be passed as part as URI. For example:

http://localhost/index/about

will be interpreted as looking for Index Controller and AboutAction.

However, there isn't a file name index/about on the actual file directory.

My question is how do you run this URI through debugger.

What I do and is wrong is:

Debug Configrations -> set the php File as index.php/about

and run this as a PHP web page.

The result I get is as if I am running index.php. The system ignore the "/about" part of the URI.

Can someone tell me what's the right way of passing this parameter to the debugger?
Re: How to set up Zend Debugger to run with URI imbedded parameter [message #535628 is a reply to message #535511] Tue, 25 May 2010 02:02 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
?
I wonder why you don't set 'URL' field in Configurations.
Uncheck 'Auto generate', then you can set "/index/about".
Re: How to set up Zend Debugger to run with URI imbedded parameter [message #535633 is a reply to message #535628] Tue, 25 May 2010 03:24 Go to previous message
sangzhuthy  is currently offline sangzhuthy Friend
Messages: 3
Registered: May 2010
Junior Member
Toshihiro Izumi wrote on Mon, 24 May 2010 22:02
I wonder why you don't set 'URL' field in Configurations.
Uncheck 'Auto generate', then you can set "/index/about".



Thank you for your help. It turns out that I shall configure as "PHP web page" instead of "PHP Script". It's a simple problem but trip me hard. Thank you for your reply.
Previous Topic:How to disable cache of build-in web browser
Next Topic:create PHP project
Goto Forum:
  


Current Time: Fri Apr 19 01:48:33 GMT 2024

Powered by FUDForum. Page generated in 0.02344 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top