Place webcam stream on your website - howto
Friday, September 25th, 2009Masih bingung…… wakakaka
Masih bingung…… wakakaka
Ya karena mau membenahii IT di kantor baru aq butuh redirect domain name… karena dari domain yang lama mau saya giring ke domain yang baru yang mengatasnamakan fakultas… biar fakultas juga terkenal wakakakak…. langsung aja untuk scrip untuk redirect domain sebagai berikut untuk berbagai bahasa pemograman…. tapi yang aq pakek di php sebagai berikut :
<.cfheader statuscode=”301″ statustext=”Moved permanently”>
<.cfheader name=”Location” value=”http://www.new-url.com”>
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
?>
<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http://www.new-url.com/”
%>
<script runat=”server”>
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(”Location”,”http://www.new-url.com”);
}
</script>
<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.new-url.com/” );
response.setHeader( “Connection”, “close” );
%>
$q = new CGI;
print $q->redirect(”http://www.new-url.com/”);
def old_action
headers["Status"] = “301 Moved Permanently”
redirect_to “http://www.new-url.com/”
end
Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Please REPLACE www.newdomain.com in the above code with your actual domain name.
In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
link : http://www.webconfs.com
Ya karena pengen bisa buat web ya baca duluu pendukungnya, ni saya dapat penjelasan tentang OOP yang bagus dan mudahh di pahami ..
Kamu tidak perlu tahu detil obyek/class itu. Kamu cuma perlu tahu cara menggunakannya dalam program. Gitu tuh konsep OOP
Link : http://prothelon.com
The page you are looking at is being generated dynamically by CodeIgniter.
If you would like to edit this page you”ll find it located at:
system/application/views/welcome_message.php
The corresponding controller for this page is found at:
system/application/controllers/welcome.php
If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
Page rendered in 0.0567 seconds
Wakaka di atas aq juga gak mudeng ya cuma baca2 biar agak gaya hix hix
Alhamdulillah sekarang dah mulai fokus untuk belajar dunia web programing, ya mungkin juga perjalanan masih sangat panjang. Tapi aku harus tetap semang untuk terus belajar dan memahami perintah - perintah dasr mysql via konsol, ni ada web yang bagus buat belajar bagii pemula kaya aku hix hix. Ya aku agak gengsi juga sihh karena tutorial ini di tulis olehh anak SMK tapi gak masalah menuntut ilmu gak terpatokk umur :-).
Link: http://azerus.110mb.com/files/modulmysql.pdf