URL是这样的http://localhost/softwaremanageapi/v1/4/?currentversion=1下面是a标签的内容<a href='http://localhost/softwaremanageapi/v1/$line[sid]/?currentversion=$line[unigversion]'>$line[unigversion]</a>请问点击链接时的URL如上所述,请问这个页面或者函数会是什么位置?
调试欢乐多
http://localhost/softwaremanageapi/v1/4/index.php?currentversion=1
或
http://localhost/softwaremanageapi/v1/4/default.php?currentversion=1 是不是这个意思?
但是如果使用了规则,我看有点像是 sofrwaremanageapi.php 后面跟着的了
实际地址也许是
http://localhost/softwaremanageapi.php/v1/$line[sid]/?currentversion=$line[unigversion]
就目前程序员的习惯与服务端的配置来说,index.php机率相当高
但这是很不确定的 如标题所言 可能做过链接重定向 LZ还是查下服务的配置 看看这个链接被重定向到哪个页面,一般来所都是index.php 具体是哪个文件处理这个请求,那就要看PHP代码,仅从一个链接是看不也任何结果的
这个是传过来的参数,php文件是根据这个名字currentversion接受参数的