Normano
Members-
Content Count
35 -
Joined
-
Last visited
About Normano
-
Rank
Member [ Level 1 ]
-
when i go to "example.php?video=38105626" i get the flv file from the video with 38105626 as id, it was that i was searching for, thanks for all help, if u had not said "file/_get_content" i never search for it and found this, hope u understand my bad english :S
-
i got a script for myspace here <?php$url='http://mediaservices.myspace.com/services/rss.ashx?type=video&mediaID='.$_GET['video'];;if ($details = file("$url")){foreach($details as $value){if(preg_match('/url=\"(.*?)\"/', $value, $match)){$myspace = $match[1];}}header("Location: $myspace");}?>but one problem is that it only work when i use it at my localhost(computer) and not at my website do i need php setting fopen? edit:do Xisto allow fopen and .htaccess?
-
I found this script for veoh but dont understand all-.- <?php//Use veoh_filegrabber.php?video_url=http://http://www.veoh.com/watch/v1288822HBz3r9De$video_url = (isset($_GET["video_url"])) ? strval($_GET["video_url"]) : "http://http://www.veoh.com/watch/v1288822HBz3r9De getFlv($video_url){ preg_match('/http:\/\/veoh.com;, $video_url, $match); $details_url = 'http://forums.xisto.com/no_longer_exists/; . $match[1] . '/details'; if ($details = file("$details_url")) { foreach($details as $value) { // fullPreviewHashPath="http://content.veoh.com/flash/p/1288822/77c44b0448a3602f79d059c8e91e556ebf9e1b13.flv?ct=bf1913ed8788db2c804b5961e62ad111906735f5ca8e489c" if(preg_match('/fullPreviewHashPath=\"(.*?)\"/', $value, $match)) { $url = $match[1]; } } header('Location: ' . $url); }}?>But its for veoh not for myspacetv and they using .htaccess hotlinking portection so i dont think i can use it:/
-
I was trying to make a php script that can view myspace videos with jw flv player and wont to know how to do so if i put in "https://myspace.com/browser; it show the video "http://forums.xisto.com/no_longer_exists/(its the flv video file from myspacetv), I cant see the similarity with the links please help, thanks for viewing this topic
-
I thought session was security but it could be more security didnt i know, thanks i try it with session checking database, it can be very help full.
-
Lol i tought it was php they used, but now I think its javascript, they used code like this in a file advertisement.js document.write('<style type="text/css"> .hideitblock2 {visibility:invisible;display:none;}</style>');in the index file <script type="text/javascript" src="advertisement.js"></script><noscript><style type="text/css"> .hideitblock2 {visibility:invisible!important;display:none!important;}</style></noscript><table class="hideitblock2" style="position:absolute;top:0px;left:0px;background-color:#000000;" width="100%" height="100%"><td width="100%" height="100%"><h1 align="center"><font color="ff0000">Please Disable Ad-Block or Add Instantz.net To Your Whitelist To View This Website Properly.</h1></td></table>the code come from http://forums.xisto.com/no_longer_exists/, thanks for the help anyway
-
I saw a site that check if i have a ad-block addon in firefox but cant find something like that on google or similar. I know it exist php scripts that show what browser I have <?php$useragent = $_SERVER[‘HTTP_USER_AGENT’];if (preg_match(‘|MSIE ([0-9].[0-9]{1,2})|’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘IE’;} elseif (preg_match( ‘|Opera ([0-9].[0-9]{1,2})|’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘Opera’;} elseif(preg_match(‘|Firefox/([0-9\.]+)|’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘Firefox’;} elseif(preg_match(‘|Safari/([0-9\.]+)|’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘Safari’;} else { // browser not recognized! $browser_version = 0; $browser= ‘other’;}print “browser: $browser $browser_version”;?>Please help
-
Ohh, When i made the login script it wasnt so security, no hashing, i forgot that, but ur reply did so i rememberd it, and thanks for the tutorial(help) with password hashing metods
-
thanks for all replys and the help, it was my friend that was wondring if it was illegal or legal.
-
Im testing to make a site, i made a bit of the code and using Feelay's login system, but can this code make safer and better? <?phpsession_start();?><?php$skin = $_GET['skin'];if($skin=='1'){ $_SESSION['theme']=''; }elseif($skin=='2'){ $_SESSION['theme']='1';}elseif($skin=='3'){ $_SESSION['theme']='2';;}elseif($skin=='4'){ $_SESSION['theme']='3';}?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://forums.xisto.com/no_longer_exists/ http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><?php$id = $_GET['id'];if($id=='1'){ echo '<title>1</title>'; }elseif($id=='2'){ echo '<title>2</title>';}elseif($id=='3'){ echo '<title>3</title>';}else{ echo '<title>Home</title>';}?>....<?phpif($id=='1'){ echo ' <div class="boxtop"><span>Content</span></div> Content'; $url = 'index.php?id=1&'; }elseif($id=='2'){ echo ' <div class="boxtop"><span>Content</span></div> Content'; $url = 'index.php?id=2&';}elseif($id=='3'){ echo ' <div class="boxtop"><span>Content</span></div> Content'; $url = 'index.php?id=3&';}else{ echo ' <div class="boxtop"><span>Content</span></div> Content'; $url = 'index.php?';}?>..... <?phpsession_start();require_once 'database.php';if (isset($_SESSION['user'])){echo "Welcome ".$_SESSION['user'];?><form name="logout" method="post" action="logout.php"><input type="submit" name="logout" id="logout" value="Logout"></form><br /><?php}elseif(isset($_SESSION['admin'])){echo"Welcome ".$_SESSION['admin'];?><form name="logout" method="post" action="logout.php"><input type="submit" name="logout" id="logout" value="Logout"></form><br /></form><?php}elseif($id==''){?><form name="login_form" method="post" action="login2.php"> <label> <input name="user" value="Username" onfocus="this.value=''" type="text" id="user"><br /> <input name="pass" value="Password" onfocus="this.value=''" type="password" id="pass"><br /> </label><input type="submit" name="login" id="login" value="Login"> </label></p></form><form name="Register" method="post" action="index.php?id=reg"> <input type="submit" name="register" id="register" value="Register"></form><br /><?php}elseif($id=='reg'){ echo '<form name="register" method="post" action="regcheck.php"> <input type="text" value="Username" name="user" id="user"><br> <input type="password" value="Password" name="pass" id="pass"> <input type="submit" name="reg" id="reg" value="Register"></form><form name="Home" method="post" action="index.php"> <input type="submit" name="home" id="home" value="Home"></form><br />'; }else{ echo '<title>2</title>';}?> </div> </div></div></div><div id="footer">Footer</div></div></body></html>I removed some of the code because it was only html, thanks
-
A Simple Register Script This Is a Very Simple Register-Script
Normano replied to Feelay's topic in Programming
U made many help full tutorials, however I think u forgot the <?php in the regcheck.php page, thanks for the tutorials -
thanks:), i didnt find that site when i searched:P good to know
-
if($goal < $lvl){imagestring($im, 2, 150, 14, "Goal Reached, Congrats!", $black);imagestring($im, 2, 149, 13, "Goal Reached, Congrats!", $white);}else{imagestring($im, 2, 150, 14, "XP Left: $xp_left", $black);imagestring($im, 2, 149, 13, "XP Left: $xp_left", $white);}this script do so if $lvl is bigger then $goal it say "Goal Reached, Congrats!" but if $goal and $lvl is same how do i code so it say "Goal Reached, Congrats!"? thanks for all help
-
Thanks very much:) its work good:)
-
I got a small problem, when It load the background on the dynamic image, if the image file dont exist it say error in the image, do u remember or know how to fix it? I use $im = imagecreatefrompng("$string.png"); edit: If a varible is more then 100, can i do so it change to 100?