Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 2 台服务器中有相同的代码,但“标头位置”仅适用于其中一台。
事实:
如何在视图中使用重定向或类似的东西?
如果我使用 exit('header.. 或死亡,它可以工作,但会话变量会丢失,很奇怪!
<?php echo file_get_contents ("http://www.google.com/"); ?>
但我只想获取 url 中标签的内容...怎么做...?我需要在标签之间回显内容....而不是整个页面