1 頁 (共 1 頁)

[問題]怎樣把domain.com連結到/phpBB2??

發表於 : 2004-08-25 19:10
leslietaur
怎樣把domain.com連結到domain.com/phpBB2
就好像鍵入http://www.phpbb-tw.net就可進入http://www.phpbb-tw.net/phpbb一樣\r

是不是在ftp那裡加一個index.htm連結到domain.com/phpBB2
但index.htm要怎麼寫????



謝謝~~~

---------------------------------------------------------------
●空間:http://www.00hk.com
●您的上網方式:ADSL
●phpBB2 版本:phpBB2.0.10

發表於 : 2004-08-25 19:17
hollowaysxp
是添加一個index.php
像我的
http://twsbb.no-ip.com/
到我的FTP主機
ftp://twsbb.myftp.org/
裡面那一個就是了。

代碼: 選擇全部

<?php 
header("Location: phpbb/"); 
?>
中的的phpbb/代表導入phpbb/這個資料夾。

發表於 : 2004-08-25 19:19
avang
可以用URL转发的方式。
我的例子:
http://dev.hudabbs.org -----> http://www.hudabbs.org/dev

發表於 : 2004-08-25 19:22
hollowaysxp
加入index.php

index.php(裡面的程式碼)

代碼: 選擇全部

<?php 
header("Location: dev/"); 
?> 

發表於 : 2004-08-25 19:24
leslietaur
hollowaysxp 寫:是添加一個index.php
像我的
http://twsbb.no-ip.com/
到我的FTP主機
ftp://twsbb.myftp.org/
裡面那一個就是了。

代碼: 選擇全部

<?php 
header("Location: phpbb/"); 
?>
中的的phpbb/代表導入phpbb/這個資料夾。
謝謝了...^^

但是你知不知道html的寫法??

發表於 : 2004-08-25 19:26
hollowaysxp
我只會VB其他一律不通 PHP HTML我都不通。

發表於 : 2004-08-25 19:27
hollowaysxp
To avang
你那個應該是有架DNS Server(花生殼)才有辦法。

發表於 : 2004-08-25 19:39
神川小羽
HTML的做法在<HEAD> 之後貼上

代碼: 選擇全部

<meta http-equiv="refresh" content="[color=red]5[/color]; url=欲連結網頁.副檔名">
5為秒數

發表於 : 2004-08-25 19:40
leslietaur
那有誰知道html的寫法阿......

發表於 : 2004-08-25 19:59
死狐狸
http://techart.tnua.edu.tw/~suchu/www/advance.html#Menu
這篇對要學html的人應該蠻有用的吧!!

發表於 : 2004-09-22 21:18
LittleP
參考小羽大大的做法之後
發覺好像跳轉頁一片空白也怪怪的
詢問了朋友之後
發覺可以用下列方法加入文字

代碼: 選擇全部

<meta http-equiv="refresh" content="[color=red]3[/color]; url=欲跳轉的網址.副檔名">
<table width=100% height=100%><td valign=middle>
<center><font size=2 face=verdana>[color=red]想加入的文字[/color]</font></center>
</td></table>
字型的部份可以自行更改^^

發表於 : 2004-09-22 23:22
aiken
0秒跳頁不就好了?
為什麼要USER多等那三秒.....

發表於 : 2004-09-22 23:31
hollowaysxp

代碼: 選擇全部

<?php 
header("Location: phpBB2/"); 
?>
phpBB2導入的資料夾~

代碼: 選擇全部

<? 
header("Location: phpBB2/"); 
?>
phpBB2導入的資料夾~