Help - To create a welcome page index for my site!

Status
Not open for further replies.

desibreaker

Banned
Banned
494
2009
5
0
hello, i need a little help so that I can create a simple welcome page for my site.
I have already created its index.html, but i need someone to help me to convert it into index.php

I don't have great experience about it web cording, but i think creating a css for the index.php should do the trick.

here the html file i created:

<html>

<body style="background-color:black;">
<center>
<h1> <img src="http://forum.movizddl.com/styles/infuse/theme/images/style1/logo/logo.png" alt="MovizDDL.com - L'Enfer Du Téléchargement !"/> </h1>

<p>

<h2>
<font size="5" face="tahoma" color="grey">
This website contains sexual material.
</font>
</h2>

<p>

<h3>
<a href="http://forum.movizddl.com/"><FONT size="5" face="tahoma" COLOR="#FF0080" >Enter</a></FONT>

<font size="3" face="tahoma" color="grey">
or
</font>

<a href="http://forum.movizddl.com/"><FONT size="5" face="tahoma" COLOR="#FF0080" >Leave</a></FONT>
</h3>


<h5>
<font size="3" face="tahoma" color="grey">
Before access to MovizDDL.com, you have to agree the following:
</br>

</br>
Under the governing law of my country I have reached the age of majority and the age required to view sexually explicit material and I am accessing this website from a location where sexually explicit content is legal and permitted. I will not permit any person to access this website who is not legally permitted to do so.
</font>
</h5>

</center>

</body>



</html>


can someone help me fast?
 
13 comments
Are you sure your server's php is working???

I guess this should work for u then
Code:
<?php

echo "<body style='background-color:black;'>
<center>
<h1> <img src='http://forum.movizddl.com/styles/infuse/theme/images/style1/logo/logo.png' alt='MovizDDL.com - L'Enfer Du Téléchargement !'/> </h1>

<p>

<h2>
<font size='5' face='tahoma' color='grey'>
This website contains sexual material.
</font>
</h2>

<p>

<h3>
<a href='http://forum.movizddl.com/'><FONT size='5' face='tahoma' COLOR='#FF0080' >Enter</a></FONT>

<font size='3' face='tahoma' color='grey'>
or
</font>

<a href='http://forum.movizddl.com/'><FONT size='5' face='tahoma' COLOR='#FF0080' >Leave</a></FONT>
</h3>


<h5>
<font size='3' face='tahoma' color='grey'>
Before access to MovizDDL.com, you have to agree the following:
</br>

</br>
Under the governing law of my country I have reached the age of majority and the age required to view sexually explicit material and I am accessing this website from a location where sexually explicit content is legal and permitted. I will not permit any person to access this website who is not legally permitted to do so.
</font>
</h5>

</center>

</body>">

?>
 
I wouldn't mind helping you with small coding stuff but if your server shows your code when you rename to php then the server isn't either configured correctly or your php isn't working
 
woops hahahaha my mistake...

Code:
<?php

echo "<body style='background-color:black;'>
<center>
<h1> <img src='http://forum.movizddl.com/styles/infuse/theme/images/style1/logo/logo.png' alt='MovizDDL.com - L'Enfer Du Téléchargement !'/> </h1>

<p>

<h2>
<font size='5' face='tahoma' color='grey'>
This website contains sexual material.
</font>
</h2>

<p>

<h3>
<a href='http://forum.movizddl.com/'><FONT size='5' face='tahoma' COLOR='#FF0080' >Enter</a></FONT>

<font size='3' face='tahoma' color='grey'>
or
</font>

<a href='http://forum.movizddl.com/'><FONT size='5' face='tahoma' COLOR='#FF0080' >Leave</a></FONT>
</h3>


<h5>
<font size='3' face='tahoma' color='grey'>
Before access to MovizDDL.com, you have to agree the following:
</br>

</br>
Under the governing law of my country I have reached the age of majority and the age required to view sexually explicit material and I am accessing this website from a location where sexually explicit content is legal and permitted. I will not permit any person to access this website who is not legally permitted to do so.
</font>
</h5>

</center>

</body>";

?>
 
Also you might want to edit the code a bit if you want any search engine to see it better like add a title and all...

If you add any code to it just remember dont add any -->"<-- do the single -->'<-- like
Code:
<img src='imglink'>
 
<?php
echo <<<HTML
<html>

<body style="background-color:black;">
<center>
<h1> <img src="http://forum.movizddl.com/styles/infuse/theme/images/style1/logo/logo.png" alt="MovizDDL.com - L'Enfer Du Téléchargement !"/> </h1>

<p>

<h2>
<font size="5" face="tahoma" color="grey">
This website contains sexual material.
</font>
</h2>

<p>

<h3>
<a href="http://forum.movizddl.com/"><FONT size="5" face="tahoma" COLOR="#FF0080" >Enter</a></FONT>

<font size="3" face="tahoma" color="grey">
or
</font>

<a href="http://forum.movizddl.com/"><FONT size="5" face="tahoma" COLOR="#FF0080" >Leave</a></FONT>
</h3>


<h5>
<font size="3" face="tahoma" color="grey">
Before access to MovizDDL.com, you have to agree the following:
</br>

</br>
Under the governing law of my country I have reached the age of majority and the age required to view sexually explicit material and I am accessing this website from a location where sexually explicit content is legal and permitted. I will not permit any person to access this website who is not legally permitted to do so.
</font>
</h5>

</center>

</body>



</html>
HTML;
?>
 
Last edited:
Status
Not open for further replies.
Back
Top