如何讓網址自動新增字首?
- 2022-10-24
後臺獲取使用者的位置
if(上海){
window。location。href = ‘sh。video。com/3D’
}
else if(江蘇){
window。location。href = ‘js。video。com/3D’
}
可以判斷後再賦給變數 <% if instr(欄位,“http://”)>0 then opurl=欄位 else opurl=“http://”&欄位&“” end if %> 然後輸出<%=opurl%>
上一篇:求一些有哲理性的小故事,緊急!!
下一篇:字帖又怎麼做?