标头标签内的链接 [英] links within the header tag

查看:52
本文介绍了标头标签内的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前发过一个服务器转移代码到另一个服务器,但我已经解决了。这篇文章是用相同的代码,但不同的事情。


在代码的顶部我有标题标签,当它完成处理。下面的代码从一个主要页面获取变量,其中一个是comepletion之后的返回URL。带有$ return的网址看起来像这样http://theauctionwinners.com/resources/templateEdit.php?template = 0& ID = 987768090"


无论如何我都可以使用带头标记的变量?

i previously posted about a transfer code from one server to another but i have worked it out. this post is to to with the same code but different matter.

at the top of the code i have the header tag for when it''s finished processing. The code below gets variables from a prevous page one of which is the return url after comepletion. the url with $return looks like this "http://theauctionwinners.com/resources/templateEdit.php?template=0&ID=987768090"

is there anyway i can use this variable with the header tag?

展开 | 选择 | Wrap | 行号

推荐答案

return看起来像这样 http://theauctionwinners.com/resources/templateEdit.php?template=0&ID=987768090"


无论如何我可以将这个变量用于标题标签吗?

return looks like this "http://theauctionwinners.com/resources/templateEdit.php?template=0&ID=987768090"

is there anyway i can use this variable with the header tag?

展开 | 选择 | Wrap | 行号


我不明白,为什么你可以?


但你发布的代码没有任何意义。如果您使用Location标头(之后脚本通常被终止),您将重定向到另一个页面,那么为什么还有其他可能无法执行的命令?
I don?t see, why you can?t.

but your posted code does not make any sense. if you use the Location header (after that the script is usually terminated), you?re redirecting to another page, so why do you have additional commands that probably don?t get executed?


我在测试时取出标题以确保变量已设置但忘记删除回声....


如何将变量添加到标题标记


标题(" Location:
i took out the header when i was testing to make sure the variables are set but forgot to delete the echos....

how would i add the variable to the header tag

header ("Location:


这篇关于标头标签内的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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