Results 1 to 10 of 13
-
3rd Aug 2011, 05:15 PM #1OPMember
html over css ?
hello, i am a noob in php,html,css... and i will make a website over here : www.superleech.info i have some problem with it:
here the code :
PHP Code:<html>
<head>
</head>
<body style="margin: 0px; padding: 0px;">
<div style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;">
<img src="first.jpg" style="width: 100%; height: 100%;">
</div>
<div style="z-index: 0; position: relative;">
</div>
</body>
</html>
<!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=utf-8" />
</head>
<body>
<form method="post">
<input type="text" name="url" value="" style="width: 600px">
<form action="post">
<input type="image" src="play.jpg"></form>
</form>
<br />
ex - [url]http://megavideo.com/?v=4R2Y3TWF[/url]
<br />
<hr>
<br />
<?php
// Overridable defines
define('SITE_URL',"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/');
if(isset($_POST['url']))
{
include('curl.php');
include('megavideo.php');
include('config.php');
$tube = new megavideo();
$tube->init($username, $password);
$download_link = $tube->get($_POST['url']);
if($download_link) {
preg_match('%megavideo\.com/\?v=([A-Z0-9]+)%',$_POST['url'],$match);
//$remoteLink = urldecode($download_link.'video.flv&type=flv');
$streamLink = urlencode(SITE_URL.'stream.php?url='.base64_encode($download_link).'&type=flv');
$streamDownloadLink = SITE_URL.'stream.php?url='.base64_encode($download_link);
?>
<b>Download URL ( Same IP Download Restriction )</b> : <a href="<?=$download_link;?>"><?=$download_link;?></a>
<br />
<b>Download URL </b> : <a href="<?=$streamDownloadLink;?>"><?=$streamDownloadLink;?></a>
<br />
<embed name="player1" id="player1"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="500" height="400"
bgcolor="#FFFFFF"
src="player.swf"
allowfullscreen="true"
allowscriptaccess="always"
flashvars="file=<?=urlencode($streamLink);?>&frontcolor=100000&backcolor=ffffff&fullscreen=true">
</embed>
<?php } else { ?>
Error locating download URL.
<?php }
}
?>
</body></html>
but i will this:
By the way
PHP Code:<b>Download URL </b> : <a href="<?=$streamDownloadLink;?>"><?=$streamDownloadLink;?></a>
<br />
if someone now to change this to " click here for download
i really need your help, thanks youguitarmaster Reviewed by guitarmaster on . html over css ? hello, i am a noob in php,html,css... and i will make a website over here : www.superleech.info i have some problem with it: here the code : <html> <head> </head> <body style="margin: 0px; padding: 0px;"> Rating: 5
-
3rd Aug 2011, 05:15 PM #2Member
noob at resizing images also...
-
3rd Aug 2011, 05:41 PM #3OPMember
resized
-
3rd Aug 2011, 05:43 PM #4Member
Did you paste it correctly?
I mean, you have two head tags lol
-
3rd Aug 2011, 05:48 PM #5MemberWebsite's:
thatfix.com warezroots.com warezhubs.comdownload adobe dreamweaver
the code is a mess man
-
3rd Aug 2011, 05:53 PM #6OPMember
yes is the original, and i have dreamweaver, but i still cant put play button and url bar where i want
-
3rd Aug 2011, 05:59 PM #7Member
Your code is completely messed up.
Code:<html> <head> </head> <body style="margin: 0px; padding: 0px;"> <div style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;"> <img src="first.jpg" style="width: 100%; height: 100%;"> </div> <div style="z-index: 0; position: relative;"> </div> </body> </html>
-
3rd Aug 2011, 07:10 PM #8OPMember<html>
<body>
<head>
<body style="margin: 0px; padding: 0px;">
<div style="width: 100%; height: 100%; left: 0px; top: 0px; position: ; z-index: 0;">
<img src="first.jpg" style="width: 100%; height: 100%;">
</div>
<div style="z-index: 0; position: relative;">
</div>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
like that ? still dont work -> www.superleech.info
-
3rd Aug 2011, 07:25 PM #9MemberWebsite's:
thatfix.com warezroots.com warezhubs.comalways start with <html>
head for page title keywords scripts and css includes
close head
open body
include your website code
clode body
close html
<html>
<head>
<title>lololol</title>
meta meta meta
</head>
<body>
hey this is my website
</body>
</html>
-
3rd Aug 2011, 07:26 PM #10Member
lol wtf? It's more messy.
Learn some basic html first: http://www.w3schools.com/html/default.asp.
At the moment you seem to be coding randomly and that's a waste of time. Learn it properly and you'll do things faster and right.
edit: MS notepad will be more than enough.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
html and css help
By tractor3231 in forum Web Development AreaReplies: 7Last Post: 5th Sep 2011, 08:42 AM -
PSD to HTML
By ddlshack in forum Graphics AreaReplies: 1Last Post: 26th May 2011, 11:07 AM -
PSD to PHP/HTML?
By .:Jamie:. in forum Web Development AreaReplies: 8Last Post: 1st Mar 2011, 08:17 AM -
(X)HTML, CSS slicing (6 years experience) | PSD to (X)HTML and CSS | Professional job
By Wamer in forum Completed TransactionsReplies: 8Last Post: 21st Jul 2010, 06:13 PM -
HTML help
By n4pst3r in forum Server ManagementReplies: 5Last Post: 30th Mar 2010, 09:38 AM
themaRegister - register to forums...
Version 3.54 released. Open older version (or...