将PHP参数传递到具有Symfony URL路由功能的页面的NetBeans中 [英] Passing PHP arguments into NetBeans into a page that features symfony url-routing

查看:83
本文介绍了将PHP参数传递到具有Symfony URL路由功能的页面的NetBeans中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做具有网址路由功能的Jobeet教程.网址路由(我认为这是适当的术语)使网址看起来像这样

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

我想调试到此页面,但是我无法正确地将参数传递给NetBeans.我将NetBeans运行配置"区域中的参数设置为此

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

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

但这是执行的url(请注意,NetBeans自动附加到索引文件的?) http://localhost:8080/frontend_dev. php?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.

推荐答案

Hy 在项目属性"下再次查看以获取,因为您可以在运行时指定命令行参数".

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

这篇关于将PHP参数传递到具有Symfony URL路由功能的页面的NetBeans中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆