Jump to content

phpguru

Members
  • Posts

    18
  • Joined

  • Last visited

About phpguru

  • Birthday 01/22/1982

Contact Methods

  • Website URL
    http://tastez.ro

Profile Information

  • Location
    Bucuresti

phpguru's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

2

Reputation

  1. Update + sectiuni si programe noi www.tastez.ro/tv.php
  2. www.tastez.ro/tv.php avem Voyo, Antena Play, Digi Online...întotdeauna exclusivitate
  3. <?php if ( isset( $_SERVER["HTTP_ACCEPT_ENCODING"] ) && substr_count( $_SERVER["HTTP_ACCEPT_ENCODING"], "gzip" ) ) ob_start( "ob_gzhandler" ) ; else ob_start() ; ########## curl + file_get_contents function ghid( $url ) { if ( in_array( "curl", get_loaded_extensions() ) ) { $ch = curl_init() ; $array = array( CURLOPT_URL => $url, CURLOPT_HEADER => 0, CURLOPT_TIMEOUT => 10, CURLOPT_FRESH_CONNECT => 1, CURLOPT_RETURNTRANSFER => 1 ) ; curl_setopt_array( $ch, $array ) ; $result = curl_exec( $ch ) ; curl_close( $ch ) ; return $result ; } else { return @file_get_contents( $url ) ; } } ########## $cat = htmlentities( $_GET["cat"] ) ; $query = htmlentities( $_GET["query"] ) ; echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">n" ; echo "<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">n" ; echo "<head>n" ; echo "<title>[Ghid Tv] Tvr, Pro Tv, Prima Tv, Antena 1, Kanal D, National Tv, Pro Cinema, Tv 1000, Realitatea, Romania Tv, Antena 3, Utv, Kiss Tv, Mtv, Digi Sport, Dolce Sport, Tlc, Discovery, National Geographic - " . ucwords( strtoupper( $_SERVER["SERVER_NAME"] ) ) . "</title>n" ; echo "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>n" ; echo "<meta http-equiv="Cache-Control" content="no-cache"/>n" ; echo "<meta http-equiv="Cleartype" content="on"/>n" ; echo "<meta name="HandheldFriendly" content="True"/>n" ; echo "<meta name="MobileOptimized" content="320"/>n" ; echo "<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>n" ; echo "<meta name="format-detection" content="telephone=no"/>n" ; echo "<meta name="description" content="Tvr, Pro Tv, Prima Tv, Antena 1, Kanal D, National Tv, Pro Cinema, Tv 1000, Realitatea, Romania Tv, Antena 3, Utv, Kiss Tv, Mtv, Digi Sport, Dolce Sport, Tlc, Discovery, National Geographic"/>n" ; echo "<meta name="keywords" content="tvr, pro tv, prima tv, antena 1, kanal d, national tv, pro cinema, tv 1000, realitatea, romania tv, antena 3, utv, kiss tv, mtv, digi sport, dolce sport, tlc, discovery, national geographic"/>n" ; echo "<meta name="robots" content="index, follow"/>n" ; echo "<meta name="revisit-after" content="1 days"/>n" ; echo "<link href="http://" . $_SERVER["SERVER_NAME"] . "/ico/ghid.ico" rel="icon"/>n" ; echo "<link href="http://" . $_SERVER["SERVER_NAME"] . "/css/ghid.css" rel="stylesheet" type="text/css"/>n" ; echo "</head>n" ; echo "<body>n" ; if ( $cat == "" ) { $curl = ghid( "http://tastez.ro/ghid.php" ) ; $grab = explode( '<h1>Grila de programe tv completa</h1>', $curl ) ; $rest = explode( '<div class="footer">', $grab[1] ) ; $show = preg_replace( array( "/<div class="fb">(.+?)</div>n</div>/si", "/<div class="line">(.+?)</div>/si", "//ghid.php/" ), array( "", "<p>$1</p>", $_SERVER["PHP_SELF"] ), $rest[0] ) ; echo $show . "n" ; echo "</body>n" ; echo "</html>n" ; exit() ; } else if ( $cat == $cat ) { $curl = ghid( "http://tastez.ro/ghid.php?cat=" . $cat ) ; $grab = explode( '<div id="fb-root"></div>', $curl ) ; $rest = explode( '<div class="fb">', $grab[1] ) ; $show = preg_replace( array( "/<script>(.+?)</script>/si", "/<div class="line">(.+?)</div>/si", "//ghid.php/" ), array( "", "<p>$1</p>", $_SERVER["PHP_SELF"] ), $rest[0] ) ; echo $show . "n" ; if ( $cat == "channel" ) { $curl = ghid( "http://tastez.ro/ghid.php?cat=channel&query=" . $query ) ; $grab = explode( '<div id="fb-root"></div>', $curl ) ; $rest = explode( '<div class="footer">', $grab[1] ) ; $show = preg_replace( array( "/<script>(.+?)</script>/si", "/<div class="fb">(.+?)</center>/si", "/<div class="line">(.+?)</div>/si", "/<div class="check">(.+?)</div>/si", ), array( "", "", "<p>$1</p>", "<p style="color:green;">$1</p>" ), $rest[0] ) ; echo $show . "n" ; } echo "</body>n" ; echo "</html>n" ; exit() ; } else { header( "Location: " . $_SERVER["PHP_SELF"] ) ; } ob_end_flush() ; ?> ghid.zip
  4. Ai cu tine distractia si informatiile de care ai nevoie chiar si cand esti in miscare, asa ca bucura-te de site-ul tau favorit oricand si oriunde te-ai afla Daca apreciati continutul, nu ar strica si un like pe facebook http://www.tastez.ro
  5. Va anunt cu placere ca InBuzunar.Mobi a devenit www.tastez.ro
  6. Salut, Cine are posibilitatea sa promoveze site-ul voluntar pe facebook twitter si messenger? Multumim.
  7. Actualizari noi, meniuri noi, modificari noi..
  8. Nu castig nimic, poate sunt persoane care au nevoie de asa ceva
  9. Pe site-ul enuntat de tine, NU poti trimite mesaje fara cont si stii bine si NU functioneaza sa trimiti mesaje nici cu cont Salut.
  10. Trimite sms-uri gratuite in orice retea mobila din Romania, functioneaza garantat si foarte rapid www.2prieteni.net Pareri, sfaturi ?
  11. Detecteaza toate browserele posibile, cum ar fi: proxy-uri, desktop-uri, tablete, telefoane mobile si aplicatii (java, symbian, android). Acest lucru este cel mai bun cod la momentul de fata, bucurați-vă. Daca echipa imi permite, puteti urmarii si posibilele noi update-uri http://code.google.com/p/detect-real-user-agent/downloads/list detect-real-user-agent-v1.6.zip
  12. <?php function curl( $url ) { if ( in_array( "curl", get_loaded_extensions() ) ) { $ch = curl_init() ; $array = array( CURLOPT_URL => $url, CURLOPT_HEADER => 0, CURLOPT_FRESH_CONNECT => 1, CURLOPT_RETURNTRANSFER => 1 ) ; curl_setopt_array( $ch, $array ) ; $result = curl_exec( $ch ) ; curl_close( $ch ) ; return $result ; } else { return @file_get_contents( $url ) ; } } $curl = curl( "http://inbuzunar.mobi/sport.php?" . $_SERVER["QUERY_STRING"] ) ; $grab = explode( '<body>', $curl ) ; $rest = explode( '<div class="footer_menu">', $grab[1] ) ; $show = preg_replace( array( "/<div class=\"ad_menu\">(.+?)<\/div>/si", "/<div class=\"link\">(.+?)<\/div>/si", "/<div class=\"nolink\">(.+?)<\/div>/si", "/<div class=\"quiz\">(.+?)<\/div>/si", "/\/sport.php/" ), array( "", "<p>$1</p>", "<p>$1</p>", "<div style=\"background:#00FFFF\">$1</div>", $_SERVER["PHP_SELF"] ), $rest[0] ) ; echo $show . "\n" ; ?> DEMO: http://inbuzunar.mobi/sport.php
  13. <?php $query = htmlentities( $_POST["query"] ) ; if ( $query != "" ) { echo "<center>\n" ; echo "<h1>[" . ucwords( $query ) . "]</h1>\n" ; echo "</center>\n" ; $ch = curl_init() ; $array = array( CURLOPT_URL => "http://inbuzunar.mobi/meteo.php", CURLOPT_HEADER => 0, CURLOPT_FRESH_CONNECT => 1, CURLOPT_RETURNTRANSFER => 1, CURLOPT_POST => 1, CURLOPT_POSTFIELDS => "query=" . $query ) ; curl_setopt_array( $ch, $array ) ; $curl = curl_exec( $ch ) ; curl_close( $ch ) ; preg_match_all( '/<div\sclass=\"nolink\">(.+?)<\/div>/si', $curl, $matches ) ; $totl = count( $matches[1] ) ; for ( $i = 0; $i < $totl; $i++ ) { echo "<p>" ; echo $matches[1][$i] ; echo "</p>\n" ; } } echo "<center>\n" ; echo "<form action=\"" . htmlentities( $_SERVER["PHP_SELF"] ) . "\" method=\"post\">\n" ; echo "<input type=\"text\" name=\"query\" maxlength=\"35\" value=\"Sat/Comuna/Oras\" onfocus=\"if(this.value=='Sat/Comuna/Oras')this.value=''\" onblur=\"if(this.value=='Sat/Comuna/Oras')this.value=''\"/>\n" ; echo "<input type=\"submit\" value=\"Cauta\"/>\n" ; echo "</form>\n" ; echo "</center>\n" ; ?> DEMO: http://inbuzunar.mobi/meteo.php
  14. <?php $zodiac = htmlentities( $_POST["zodiac"] ) ; $ch = curl_init() ; $array = array( CURLOPT_URL => "http://inbuzunar.mobi/horoscop.php?query=daily", CURLOPT_HEADER => 0, CURLOPT_FRESH_CONNECT => 1, CURLOPT_RETURNTRANSFER => 1, CURLOPT_POST => 1, CURLOPT_POSTFIELDS => "zodiac=" . $zodiac . "&view=Citeste" ) ; curl_setopt_array( $ch, $array ) ; $curl = curl_exec( $ch ) ; curl_close( $ch ) ; $grab = explode( '<body>', $curl ) ; $rest = explode( '<div class="footer_menu">', $grab[1] ) ; $show = preg_replace( array( "/<div class=\"ad_menu\">(.+?)<\/div>/si", "/<div class=\"nolink\">(.+?)<\/div>/si", "/\/horoscop.php/" ), array( "", "<p>$1</p>", $_SERVER["PHP_SELF"] ), $rest[0] ) ; echo $show . "\n" ; ?> DEMO: http://inbuzunar.mobi/horoscop.php?query=daily
×
×
  • 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.