-
Posts
927 -
Joined
-
Last visited
-
Days Won
8
Everything posted by Robert1995
-
il setezi iar cu expirare intr-un minut ? faci 1 % 60 => 0.05 si asta pui acolo inloc de 500
-
Incearca asa function setCookie(c_name,value,exdays) { var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()); alert(c_name + "=" + c_value); document.cookie=c_name + "=" + c_value; } setCookie("VISITOR_INFO1_LIVE" , "ST1Ti53r4fU" , 500);
-
e un cookie , cat timp il ai , ai layout-ul ala
-
Anonymous Unleashes Facebook Worm, 'Fawkes Virus'
Robert1995 replied to M2G's topic in Stiri securitate
Stiu ca au trecut cateva zile , dar am inteles eu bine , chestia asta efecteaza doar pe cei cu IE , daca chiar e asa presupun ca e fail , cine mai foloseste IE ? -
Daca vrei sa scapi usor , iti iei Gigya - Make your site social , apoi faci buttonul de share pe facebook . Cand dai click pe button o sa apara up popup cu share , ceva de genul cum are youtube . Apoi userul are optinea de a scrie inca ceva , "blablabla" , apoi sa dea "share" -> ii posteaza pe facebook , stiu ca la actiunea asta poti sa adaugi altele . citeste mai multe despre API de la Gigya
-
Tin minte cum imi faceam orase in camera din casute din monopoli , ursuleti , faceam armata de soldati care sa apere orasul,apoi il atacam cu ceva dinozaur
-
pana si eu care is din 95 am prins vremurile alea , imi aduc aminte ca tata a avut toate episoadele cu don quijote de cand era student , le-a inregistrat pe toate , si mai ales simsons . Sa nu uitam si de Dexter sau Topcat , alea erau desene , nu dramele care sunt acum la televizor
-
ce aluzie , pentru tine stie bine inseamna ce? iti coloreaza nitel pagina ?
-
Am ras cu lacrimi , made my day
-
That's some epic music
-
Zend Framework Le pica repede oricum error , nici in controller nu ajunge probabil doar au setat proiectul , nu au setari de db puse bine
-
iti zic eu , mananci rame si sunt in musuroaie niste chestii mici ca furnicile ( nu imi vine in cap numele) care au gust de lamaie , cam astea ar fi alimentele tale de baza + mai gasesti ceva mure / fragute , oricum daca vrei sa mergi intr-o excursie puneti conserve , evita sa pui altceva. Am fost in o gramada de excursii , evita sa pui sucuri , pune mult salam uscat , de asemenea poti sa iti faci si supa in punga , eu cu 3 prieteni am reusit sa facem o oala de comando improvizata , ne-a luat cam 5 ore , dar o supa calda in munte e mana cereasca
-
te corectez , pe host am pus direct versiunea html , hostul nu imi permite sa il inchid nu stiu de ce ( probabil pentru ca folosesc un fel de auto click pe close cand dai click inafara function ) , hostingul e unul free de cacat care nici htaccess nu permite Later edit : Merge , nu stiu ce nu era in ok
-
Check this mi-am folosit un popup care l-am scris mai demult , la mine daca dai click in afara divului de popup , acesta se inchide automat + zona e safe pentru alte clickuri Demo : 2011-11-08_2043 - RusuAndreiRobert's library Am updatat si pe site http://robert1995.zxq.net/ <!-- http://rstcenter.com/forum/42750-php-make-my-playlist.rst#post287493 PHP / Popup By Robert1995 @ rst Thanks to JohnDoe @rst for help with embeding --> <html lang="en"> <meta charset="UTF-8" /> <title>make my playlist v2</title> <style> .push{ margin-left:25px; } body{ background-color:#fff; text-align:left; color:#444; } a{ text-decoration:none; color:#000; font-family:arial; font-size:12px; } a:hover{ background-color:#0099ff; } #popup{ background: #fff; padding: 20px; border: 20px solid #ddd; float: left; font-size: 1.2em; position: fixed; top: 50%; left: 50%; z-index: 99999; /*--CSS3 Box Shadows--*/ -webkit-box-shadow: 0px 0px 20px #000; -moz-box-shadow: 0px 0px 20px #000; box-shadow: 0px 0px 20px #000; /*--CSS3 Rounded Corners--*/ -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { jQuery.fn.center = function () { this.css("position","absolute"); this.css("top", (($(window).height() - this.outerHeight()) / 2) + $(window).scrollTop() + "px"); this.css("left", (($(window).width() - this.outerWidth()) / 2) + $(window).scrollLeft() + "px"); return this; } jQuery.fn.fullScreen = function ( z_index_value ) { default_z_index_value = 100; z_index_value = typeof z_index_value == "undefined" ? default_z_index_value : z_index_value; this.css("position","absolute"); this.css("z-index",z_index_value); this.css("left","0"); this.css("top","0"); this.css("height", ($(window).height() + "px")); this.css("width" , ($(window).width() + "px")); return this; } /** PopUp Dependent Variables */ var popup_id = "popup"; var popup_block_body_id = "body_block"; var popup_close_class = "close_popup"; /** Trick To Set Type Boolean */ var popup_active;popup_active = false; function showPopUp(content){ if(popup_active == false){ /** Popup Active Constants */ popup_active = true; /** Generate Popup content */ popup_content = ""; popup_content = popup_content + "<div id="+popup_id+">"; popup_content = popup_content + content; popup_content = popup_content + "<div class=\"clear\"></div>"; popup_content = popup_content + "</div>"; /** Start To Show Popup */ /** Create Protection Div */ $("body").append("<div id="+popup_block_body_id+"></div>"); $("#"+popup_block_body_id).fullScreen("not"); $("#"+popup_block_body_id).append(popup_content); $("#"+popup_id).center(); } } function removePopBlock(){ if(popup_active == true){ $("#"+popup_block_body_id).remove(); popup_active = false; } } $("."+popup_close_class).live('click',function(event){ removePopBlock(); }); $("#"+popup_block_body_id).live('click',function(event){ if ($(event.target).attr("id") == popup_block_body_id && popup_active == true) { event.preventDefault(); event.stopPropagation(); removePopBlock(); } }); $('a').click(function(event) { event.preventDefault(); event.stopPropagation(); var keyword= $(this).attr('title'); // Youtube API var yt_url='http://gdata.youtube.com/feeds/api/videos?q='+keyword+'&format=5&max-results=1&v=2&alt=jsonc'; $.ajax ({ type: "GET", url: yt_url, dataType:"jsonp", success: function(response) { if(response.data.items) { $.each(response.data.items, function(i,data) { var video_id=data.id; // IFRAME Embed for YouTube var video_frame="<iframe width='940' height='450' src='http://www.youtube.com/embed/"+video_id+"' frameborder='0' type='text/html'></iframe>"; var demo_content = '<div class='+popup_close_class+'>Close</div>'+video_frame; showPopUp(demo_content); }); } else { var demo_content = '<div class='+popup_close_class+'>Close</div> No video available'; showPopUp(demo_content); } } }); return false; }); }); </script> <body> <section id="links"> <?php function link_my_dir($directory , $ignore = array()){ if ($handle = opendir($directory)) { $tokens = explode(DIRECTORY_SEPARATOR , $directory); echo '<div class="push">'; if(!empty($ignore)){ echo $tokens[count($tokens) - 1 ].'<br/>'; echo '<div class="push">'; } while (false !== ($file = readdir($handle))) { if ($file != "." && $file != ".." && $file !='nfo.nfo') { if(is_dir($directory.DIRECTORY_SEPARATOR.$file) && !in_array($directory.DIRECTORY_SEPARATOR.$file , $ignore)){ $ignore[] = $directory.DIRECTORY_SEPARATOR.$file; link_my_dir($directory.DIRECTORY_SEPARATOR.$file , $ignore); }else{ $to_echo = str_replace(array("[www.keepvid.com]", "_" , ".mp4" , ".mp3") , "" , $file); $search_query = str_replace("-" , "" , $to_echo); $search_query = str_replace(" " , "+" , $search_query); $fix_space = explode("+" , $search_query); foreach($fix_space as $k=>$f){ if($f == '') unset($fix_space[$k]); } $search_query = implode("+" , $fix_space); //echo "$to_echo . Link : http://www.youtube.com/results?search_query=$search_query&aq=f<br/>"; echo '<a class="jqq" title="'.$to_echo.'" target="_blank" href="http://www.youtube.com/results?search_query='.$search_query.'&aq=f">'.$to_echo .'</a><br/>'; } } } echo '</div>'; echo '</div>'; closedir($handle); } } echo "Results : <br/>"; link_my_dir('D:\My Documents\Muzica'); //unde ai muzica ?> </section> <div id="box"></div> </body> </html>
-
Orice CMS poti sa il extinzi ( mai aduci niste "Features" la el ), credca la asta se refera
-
nu stiu , poate o sa fac din placere odata si o sa fac public codul ... si chestia asta am scris-o doar pentru ca cineva mi-a cerut playlistul + l-am facut public pentru ca nu e mare branza Edit : Chestiile grozave nu prea sunt pe PHP curat .
-
altceva mai constructiv nu ai de comentat?
-
ia mai vazut careva pe pacalici astia Anonymous Romania
-
Faina ideea , poate intr-o zi o sa fac asa ceva folosind checkbox-uri cu ce sa puna in playlist , nu stiu daca youtube totusi accepta curl la asa ceva
-
Link tot ce exista intr-un directoriu , recursiv daca inauntru mai sunt directoare result : http://robert1995.zxq.net/ Nu prea exista css , but who cares about that <html> <style> .push{ margin-left:50px; } </style> <body> <?php function link_my_dir($directory , $ignore = array()){ if ($handle = opendir($directory)) { $tokens = explode(DIRECTORY_SEPARATOR , $directory); echo '<div class="push">'; if(!empty($ignore)){ echo $tokens[count($tokens) - 1 ].'<br/>'; echo '<div class="push">'; } while (false !== ($file = readdir($handle))) { if ($file != "." && $file != ".." && $file !='nfo.nfo') { if(is_dir($directory.DIRECTORY_SEPARATOR.$file) && !in_array($directory.DIRECTORY_SEPARATOR.$file , $ignore)){ $ignore[] = $directory.DIRECTORY_SEPARATOR.$file; link_my_dir($directory.DIRECTORY_SEPARATOR.$file , $ignore); }else{ $to_echo = str_replace(array("[www.keepvid.com]", "_" , ".mp4" , ".mp3") , "" , $file); $search_query = str_replace("-" , "" , $to_echo); $search_query = str_replace(" " , "+" , $search_query); $fix_space = explode("+" , $search_query); foreach($fix_space as $k=>$f){ if($f == '') unset($fix_space[$k]); } $search_query = implode("+" , $fix_space); //echo "$to_echo . Link : http://www.youtube.com/results?search_query=$search_query&aq=f<br/>"; echo '<a target="_blank" href="http://www.youtube.com/results?search_query='.$search_query.'&aq=f">'.$to_echo .'</a><br/>'; } } } echo '</div>'; echo '</div>'; closedir($handle); } } echo "Results : <br/>"; link_my_dir('D:\My Documents\Muzica'); ?> </body> </html>
-
Fani Modern Warfare 2 astia o pus "sound effects" de la tactical nuke . Anyway on : au inceput sa puna o gramada de lucruri despre diversi
-
Aplicatiile de la facebook pot sa-ti faca un fel de request la informatiile tale personale , credca "aplicatiile" de facebook sunt total altceva decat "core" cum ar veni , oricum ar fi 5 noiembrie la noi , dar la americani e alt GMT
-
Cadou poate va foloseste , l-am editat dintr-un cod existent poate au aparut ceva greseli nu stiu . db_query credca se intelege ce face . function update_entry($entry_id , $data = array()) { unset($data['id']);// Prevent Mistakes $data = array_map('mysql_escape_string', $data); $data = wrap_my_array($data); $sql = 'UPDATE {table_name} SET '; $sql .= array_implode("=" , "," , $data); $sql.= ' WHERE id = %s'; $query = db_query($sql , $entry_id); } function wrap_my_array($array , $wrapper = '"') { $new_array = array(); foreach($array as $k=>$element){ if(!is_array($element)){ $new_array[$k] = $wrapper . $element . $wrapper; } } return $new_array; } function array_implode( $glue, $separator, $array ) { if ( ! is_array( $array ) ) return $array; $string = array(); foreach ( $array as $key => $val ) { if ( is_array( $val ) ) $val = implode( ',', $val ); $string[] = "{$key}{$glue}{$val}"; } return implode( $separator, $string ); }
-
intra tu in pat frumos ca nu e nimic interesant sa ii intri la altu in PC numa daca e ultimu cocalar si vrei sa razi nitel ca se impiedica in click
-
Daca dai un lucru pe google sansele sa gasesti un raspuns is de peste 95% presupun Answer : They are both the same thing...Sort of. A hacker is a person who is proficient with computers and/or programming to an elite level where they know all of the in's and out's of a system. There is NO illegality involved with being a hacker. A cracker is a hacker who uses their proficiency for personal gains outside of the law. EX: stealing data, changing bank accounts, distributing viruses etc. What the hacker does with their knowledge of systems within the definition of the law is what defines them as a hacker vs a cracker. It's then safe to say that all crackers are hackers, but not all hackers are crackers. This is an important distinction. The term cracker and hacker are used interchangeably (albeit incorrectly) largely due to the ignorance of the general populace, especially the media. Read more: What is the difference between hacking and cracking