need help with PHP (don't know)

07-07-2008 03:17
I want to add a picture to the home.php as the logo.
But I dont know much about this.
Heres the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Surf At Skool</title>
<style type="text/css">
html, body {
font-family: "Lucida Sans Unicode", "Tahoma", sans-serif;
font-size: 12px;
width: 460px;
margin: 60px auto 20px auto;
}
h1 {
font-size: 2em;
}
#proxy_url {
font-family: "Trebuchet MS", sans-serif;
font-size: 16px;
color: #666666;
width: 432px;
padding: 4px;
border: 1px solid #AAAAAA;
}
#proxy_options {
margin: 10px;
}
#proxy_button {
font-family: sans-serif;
font-size: 16px;
font-weight: bold;
padding: 4px;
cursor: pointer;
}
#footer {
text-align: center;
padding: 10px 0px;
}
#footer a {
color: #FF4444;
}
</style>
</head>
<body>
<h1>Surf At Skool</h1>
<h3>A Proxy for skool</h3>
<form method="post" action="./">
<!-- Make sure you leave the two input fields the same! -->
<input type="hidden" name="__proxy_action" value="redirect_browse" />
<input type="text" name="__proxy_url" value="http://www.myspace.com" id="proxy_url" />
<div id="proxy_options">
<!-- Don't rename the name="_no_xxx" of these input fields! -->
<label for="__no_javascript">
<input type="checkbox" name="__no_javascript" id="__no_javascript" />
Disable JavaScript
</label>
<label for="__no_images">
<input type="checkbox" name="__no_images" id="__no_images" />
Disable Images
</label>
<label for="__no_title">
<input type="checkbox" name="__no_title" id="__no_title" />
Strip Title
</label>
<label for="__no_meta">
<input type="checkbox" name="__no_meta" id="__no_meta" />
Strip Meta
</label>
</div>
<input type="submit" value="Browse" id="proxy_button" />
</form>
</body>
</html>
07-07-2008 04:46
Its just plain HTML .. Open Frontpage and ull be able to edit it ...

Heres the code though

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Surf At Skool</title>
<style type="text/css">
html, body {
font-family: "Lucida Sans Unicode", "Tahoma", sans-serif;
font-size: 12px;
width: 460px;
margin: 60px auto 20px auto;
}
h1 {
font-size: 2em;
}
#proxy_url {
font-family: "Trebuchet MS", sans-serif;
font-size: 16px;
color: #666666;
width: 432px;
padding: 4px;
border: 1px solid #AAAAAA;
}
#proxy_options {
margin: 10px;
}
#proxy_button {
font-family: sans-serif;
font-size: 16px;
font-weight: bold;
padding: 4px;
cursor: pointer;
}
#footer {
text-align: center;
padding: 10px 0px;
}
#footer a {
color: #FF4444;
}
</style>
</head>
<body>
<h1>
<img border="0" src="http://imagelink" width="watever" height="watever"></h1>
<h1>&nbsp;</h1>
<h1>&nbsp;</h1>
<h1>Surf At Skool</h1>
<h3>A Proxy for skool</h3>
<form method="post" action="./">
<!-- Make sure you leave the two input fields the same! -->
<input type="hidden" name="__proxy_action" value="redirect_browse" />
<input type="text" name="__proxy_url" value="http://www.myspace.com" id="proxy_url" />
<div id="proxy_options">
<!-- Don't rename the name="_no_xxx" of these input fields! -->
<label for="__no_javascript">
<input type="checkbox" name="__no_javascript" id="__no_javascript" />
Disable JavaScript </label>
<label for="__no_images">
<input type="checkbox" name="__no_images" id="__no_images" />
Disable Images
</label>
<label for="__no_title">
<input type="checkbox" name="__no_title" id="__no_title" />
Strip Title
</label>
<label for="__no_meta">
<input type="checkbox" name="__no_meta" id="__no_meta" />
Strip Meta
</label>
</div>
<input type="submit" value="Browse" id="proxy_button" />
</form>
</body>
</html>


Just repalce the stuff in bold
07-07-2008 06:36
thanks, your a legend.
31-07-2008 08:16
nice one :-D
Total Posts: 4