This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/php5/bin/php | |
<?php | |
$files = glob('*/svi/*.html'); | |
$fields = []; | |
$fields['po'] = [ | |
'rbr', | |
'imeprezime', | |
'mjesto', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* Pretty Errors | |
* | |
* ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### | |
* | |
* WARNING! It is downright _DANGEROUS_ to use this in production, on | |
* a live website. It should *ONLY* be used for development. | |
* | |
* Pretty Errors allows the outside world to alter your project, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var%20f='https://plusone.google.com/_/+1/confirm?url=',l=document.location,p=encodeURIComponent(l.href);a=function(){if(!window.open(f+p,'sharer','toolbar=0,status=0,resizable=1,width=470,height=330'))l.href=f+p;};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0);}else{a();}void(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:d=document;s=d.createElement('style');s.type='text/css';s.innerHTML=".post{-webkit-transition: all 5s ease-in-out; -moz-transition: all 5s ease-in-out; -o-transition: all 5s ease-in-out;}.post:hover{-webkit-transform: rotate(1800deg) scale(1); -moz-transform: rotate(1800deg) scale(1); -o-transform: rotate(1800deg) scale(1);}";d.getElementsByTagName('head')[0].appendChild(s); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set("display_errors", 1); | |
ini_set("error_reporting", E_ALL); | |
echo "<pre>"; | |
class MyException extends Exception { | |
function __construct($message) { | |
parent::__construct($message); | |
$this->line = "42"; // this triggers it. if it's before the constructor, PHP freaks out regardless of xdebug |
NewerOlder