Passing PHP arguments into NetBeans into a page that features symfony url-routing

只愿长相守 提交于 2019-12-06 08:33:52

问题


I am doing the Jobeet tutorial that features url routing. The url routing (I think that's the proper term) makes urls look like this

http://localhost:8080/frontend_dev.php/job/extreme-sensio/paris-france/2/web-designer

I would like to debug into this page however I cannot properly pass arguments into NetBeans. I set the arguments in NetBeans "Run Configuration" area to this

job/extreme-sensio/paris-france/2/web-designer

however the url that is executed is this (notice the ? that NetBeans automatically appends to index file) http://localhost:8080/frontend_dev.php?job/extreme-sensio/paris-france/2/web-designer

Because of the ? it doesn't work properly. Thanks in advance.


回答1:


Hy look again under the Project Properties to obtain, since you can specify at run Command Line argument.



来源:https://stackoverflow.com/questions/2052500/passing-php-arguments-into-netbeans-into-a-page-that-features-symfony-url-routin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!