hi friends, i have coded zshare auto embedding script, it works like mydomain.com/flash.php?url=zshare file number now its not working due to ads during playing videos actually the code is <! <?php $a = $_GET['url']; $url = "http://www.zshare.net/video/".$a."/"; $ch=curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $page=curl_exec($ch); curl_close($ch); preg_match("~file=(.*?)'~is",$page,$match); preg_match('~<param name="URL" value="(.*?)">~is',$page,$download); $data = $download[1]; if($embed != "") { $embed = $data; } if($embed == "") { $embed = $match[1]; } ?> <?php echo $data; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML lang=en dir=ltr><HEAD><TITLE>My domain name</TITLE> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> <!-- body { background-image: url(); background-repeat: repeat-x; } --> </style> <b>It Takes some seconds to load.. please wait..!</b> <div align="center"> <div align="center"><a href="<?php echo $embed;?>" class="style2 style1">Click Here To Download This Video</a> </p> </div> <p align="center"><p align="center"> </th> <th><p> </p> <p> <div align="center"><script type="text/javascript" src="/flash/swfobject.js"></script> <div name='mediaspace' id='mediaspace'></div> <script type='text/javascript'> var s1 = new SWFObject('/flash/myplayer.swf','flv','480','385','9'); s1.addParam('wmode','transparent'); s1.addParam('allowFullScreen', 'true'); s1.addParam('allowScriptAccess', 'always'); s1.addVariable("lightcolor", "0x000000"); s1.addVariable("backcolor", "0xFFFFFF"); s1.addVariable("frontcolor", "0x666666"); s1.addVariable('width','480'); s1.addVariable('height','385'); s1.addVariable("file",'<?php echo $embed;?>&logo=/logo.JPG&autostart=true'); s1.addVariable("brandname",'zshare.net'); s1.addVariable("brandlink",'zshare.net'); s1.addVariable("showguidebutton",'false'); s1.addVariable("showsharebutton",'false'); s1.addVariable("autostart", 'true'); s1.write('mediaspace'); </script> <H3 align="center"> </H3> </th> </HTML> <? PHP: any one can help me... the original file is here you can have a nice look http://rapidshare.com/files/254795748/zshare.zip.html i think this forum will led me to success
i think zshare has added ads to thier video so now if u want to do i think u will also need to display the ads too
cool man but have you not tried iframe? in iframe, or try import the cutt address source, p re g match then import file. do u want me to help u man , what is exactly u are looking for? check ur pm.
yea man try file get their are thousand of php example even if u are new u can create ur own php iframe so easy just google. hey dude check ur pm ur code should work now.
hi god, oh you fixed it god, i need it cuz ma current script is working great, but some for some video its not working, i m using ifram, i will pm u ma email god
guys check this out i got it fixed http://www.bollyaz.info/video.php?link=6385427600de83fd/ hmm i just need some correction now
hmm http://livedesi.tv/videos/catch.php?url=http://www.zshare.net/video/638436464cee965d HTML: thes guys got it without ads am using there site by iframe :
If anyone need the dailymotion, youtube or zshare script then feel free to contact me at feedback.circle@gmail.com I'm selling dailymotion, youtube, & zshare script all together for only $10. I can also provide you with the demo before buying it. Thank you