❶ 请问有谁知道在服务器里的什么位置可以查看到网站源码十分感谢!
服务器给网站搭建了ftp服务端,就可以用ftp账号,windows系统也可以直接进去查看,linux安装了面板可以进面板管理查看,还不会再找额解决
❷ 在网上怎么查看源代码
源代码“文件的”“使用记事本编辑”里
比如网络的:
<html><head><meta http-equiv=Content-Type content="text/html;charset=gb2312"><title>网络一下,你就知道 </title><style>body{margin:4px 0}p{margin:0;padding:0}img{border:0}td,p,#u{font-size:12px}#b,#u,#l td,a{font-family:arial}#kw{font:16px Verdana;height:1.78em;padding-top:2px}#b{height:30px;padding-top:4px}#b,#b a{color:#77c}#u{padding-right:10px;line-height:19px;text-align:right;margin:0 0 3px !important;margin:0 0 10px}#sb{height:2em;width:5.6em}#km{height:50px}#l{margin:0 0 5px 15px}#l td{padding-left:107px}p,table{width:650px;border:0}#l td,#sb,#km{font-size:14px}#l a,#l b{margin-right:1.14em}a{color:#00c}a:active{color:#f60}#hp{position:absolute;margin-left:6px}#lg{margin:-26px 0 -44px}#lk{width:auto;line-height:18px;vertical-align:top}#sug{border:1px solid #817F82;display:none;position:absolute;top:28px;left:0;-moz-user-select:none}#sug td{font:14px verdana}.mo{background-color:#36c;color:#fff}.ml{background-color:#fff;color:#000}</style></head>
<body><div id=u><a href=http://passport..com target=_blank><b>月_读</b></a>|<a href=http://hi..com/月_读 target=_blank>我的空间</a>|<a href=http://passport..com/?logout&tpl=mn>退出</a></div><center><img src=http://www..com/img/_logo.gif width=270 height=129 usemap="#mp" id=lg><br><br><br><br><table cellpadding=0 cellspacing=0 id=l><tr><td><div id=m><a onclick=s(this) href=http://news..com>新闻</a><b>网页</b><a onclick=s(this) href=http://tieba..com>贴吧</a><a onclick=s(this) href=http://..com>知道</a><a onclick=s(this) href=http://mp3..com>MP3</a><a onclick=s(this) href=http://image..com>图片</a><a onclick=s(this) href=http://video..com>视频</a></div></td></tr></table>
<table cellpadding=0 cellspacing=0 style="margin-left:15px"><tr valign=top><td style="height:62px;padding-left:92px" nowrap><div style="position:relative"><form name=f action=/s><span id=in><input type=text name=wd id=kw size=42 maxlength=100></span> <input type=submit value=网络一下 id=sb><div id=sug onselectstart="return false"></div><span id=hp><a href=/search/jiqiao.html>帮助</a><br><a href=/gaoji/advanced.html>高级</a></span></form></div></td></tr></table>
<p id=km><a href=http://hi..com>空间</a><a href=http://www.hao123.com>hao123</a>|<a href=/more/ style="font-family:宋体">更多>></a></p>
<p style=height:60px><table cellpadding=0 cellspacing=0 id=lk><tr><td></td></tr></table></p>
<p style=height:30px><a onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www..com')" href=http://utility..com/traf/click.php?id=215&url=http://www..com>把网络设为主页</a></p><p style=height:14px><a href=http://jingjia..com>企业推广</a> | <a href=http://top..com>搜索风云榜</a> | <a href=/home.html>关于网络</a> | <a href=http://ir..com>About Bai</a></p><p id=b>&;2009 Bai <a href=http://www..com/ty/>使用网络前必读</a> <a href=http://www.miibeian.gov.cn target=_blank>京ICP证030173号</a> <img src=http://gimg..com/img/gs.gif></p><map name=mp><area shape=rect coords="43,22,227,91" href=http://hi..com// target=_blank title="点此进入 网络空间"></map></center></body>
<script>var w=document.f.wd;function s(o){if(w.value.length>0){var h=o.href;var q=encodeURIComponent(w.value);if(h.indexOf("q=")!=-1){o.href=h.replace(new RegExp("q=[^&$]*"),"q="+q)}else{o.href+="?q="+q}}};(function(){if(new RegExp("q=([^&]+)").test(location.search)){w.value=decodeURIComponent(RegExp.$1)}})();if(navigator.cookieEnabled && /BAIDUID=\w{30}(\w{2})([^;]*)(;|$)/.test(document.cookie) && !/:SU=0/.test(RegExp.$2)){var num = parseInt(RegExp.$1, 16);if(num<12){var i = document.createElement('INPUT');i.name='tn';i.value='tnta'+(num<6?'1':'0');i.type='hidden';document.f.appendChild(i);if(num<6){var s=document.createElement('SCRIPT');s.src='http://www..com/js/bdsug.js?v=1.0.0.8';document.getElementsByTagName('HEAD')[0].appendChild(s);document.getElementById('in').innerHTML='<input type=text name=wd id=kw size=42 maxlength=100 autocomplete=off>';}}}window.onunload=function(){};document.f.wd.focus();</script></html><!--e38dfb24e8ee8655-->
你遇到的具体是什么困难?
❸ 云服务器如何备份网站源代码
可以的,你用好备份,设置自动备份网站即可。
❹ 查看网站源码放在服务器的那个目录下
当你入手一个新的项目的时候第一个问题就是这个项目的源码在哪里!
这篇文章就是介绍如何找到项目源码
1.打开 C:\Windows\System32\drivers\etc 这个目录的hosts这个文件
/www/server/panel/vhost/apache 打开 此目录