佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 636|回复: 1

php header 问题

[复制链接]
发表于 4-4-2006 10:14 PM | 显示全部楼层 |阅读模式
我在 windows localhost 里的 www create 了一个 elearning 的 directory然后将全部 php code 丢在里面。 在 login.php 里我有用到 header() 来 redirect url 去别的 url 例如: header("Location: http://localhost/elearning/student_main.php"); 可是会出现 "you page cannot be displayed " 的问题。如果 我 redirect 去其他如 http://www.yahoo.com, google.com...就没问题, 只要redirect 去与 elearning 相同 directory 的 file 就有问题。为何呢?
回复

使用道具 举报


ADVERTISEMENT

发表于 4-4-2006 10:19 PM | 显示全部楼层
header("Location: /elearning/student_main.php");
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 5-3-2025 11:28 AM , Processed in 0.092064 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表