Jump to content

blacktiger786

Members
  • Posts

    23
  • Joined

  • Last visited

blacktiger786's Achievements

Member

Member (2/5)

0

Reputation

  1. what you said file_get_html function not exist check it in google . its work but in this site i am not able to search specific tag
  2. hi friends need some help i want get title , seed , peer , download link from this url https://kickass.so/games/i am create code but i am not able to found specific tag $html = file_get_html('https://kickass.so/games/'); $last200area = $html->find('table[class="data"]', 0); $last200 = $last200area->find('div[class="torrentname"]'); foreach ($last200 as $onesearch) { $onesearch = strip_tags($onesearch); echo $onesearch; }
  3. hi we want some code can any one help me what i do? we have traffic on site1.com we want this traffic redirect to another site site2.com i know how to redirected .but when echo $_SERVER["HTTP_REFERER"] in site2.com its show me traffic from google.com not show traffic from site1.com how to code please help me
  4. i want create some code i don't know what i do can you help me if i have domain like http://www.domain.com www.domain.com i want run code which remove www from this domain this not for one domain i want when any domain come with www its remove www and show without www like http://domain.com and if any domain come without www it let it what i do please help me?
  5. i have this code which fetch meta tags and title function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $data = curl_exec($ch); curl_close($ch); return $data; } $html = file_get_contents_curl("http://example.com/"); //parsing begins here: $doc = new DOMDocument(); @$doc->loadHTML($html); $nodes = $doc->getElementsByTagName('title'); //get and display what you need: $title = $nodes->item(0)->nodeValue; $metas = $doc->getElementsByTagName('meta'); for ($i = 0; $i < $metas->length; $i++) { $meta = $metas->item($i); if($meta->getAttribute('name') == 'description') $description = $meta->getAttribute('content'); if($meta->getAttribute('name') == 'keywords') $keywords = $meta->getAttribute('content'); } if(!title == ' ') { echo ' found a title'; } in this code you see in last i have if condition (!title==' ') its execute it when i open file i want its only run when i click the html button like <input type="button" name="Release" onclick="" value="Click "> please tell me what i do help me
  6. hi i need some help . i see some person use bot traffic or proxey taffic software or script like jiggling and hitleap . they give a url of any sites then this software proxey view this websites.. i want asked can it possible stop these bot traffic its any procedure in php or javascript to stop this traffic..
  7. i use this code its fine when i search in one dir like <?php $dir = 'test'; if($handle=opendir($dir.'/')) { while($file=readdir($handle)) { if($file!='.'&&$file!='..') { echo '<img src="'.$dir.'/'.$file.'" width="250" hight="250"/><br>'; //echo '<a href="'.$dir.'/'.$file.'">'.$file.'</a><br>'; } } } ?> but when i ad sub dir its show error like $dir = 'test/png'; its show error Warning: opendir(test/png/): failed to open dir
  8. ok but can you tell me its search all dir and folders
  9. hi firend i want a create image search engine like i want search tag "glasses" its show me result reterive from my panel dir folders and sub folder i try many code but not work for me.. like i have 100 folders in my dir and all folder have sub folder like ico png ok and pictures in these sub folder now any one tell me which php code for reterive glasses name picutres from these folder
  10. <?php $xml=simplexml_load_file("http://torrentz.eu/feed?q="); print_r($xml); ?>
  11. i try this but not read i also try rss read function but not work
  12. how to read this rss link i am try all function of rss in php but not show this link http://torrentz.eu/feed?q= anyone please help me
  13. hi friends i need your help. we have a popunder ads network . in our network we use 3rd party CPV ads in our network i don't know how to implement i have some tutorial please any one tell me how to implement only Cost per Views XML feed Ads in php http://blog.myadmarket.com/tag/cpv/
  14. this is my code its run file like i select to country from selected form its save it database but its save bot new row like 1 usa 2 pk i want its add both on single row like 1 usa,pk,uk this is code.. <?php require 'databaseconnect.php'; if(isset($_POST['select'])) { $movie = $_POST['select']; foreach($movie AS $title) { $run="INSERT INTO `test` VALUES ('','".$title."')"; $result=mysql_query($run); echo $title; } } ?> <form action="arraycountry.php" method="POST"> <select name="select[]" multiple="yes"> <option value="usa">1 is selected</option> <option value="uk">2 is selected</option> <option value="pk">4 is selected</option> <input type="submit" value="click"> </select></form>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.