This file contains hidden or 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 | |
class uploadFile { | |
public $filename; | |
private $filepath = './'; | |
public $fullpath; |
This file contains hidden or 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 | |
function simplificar($up, $down) { | |
echo "¿Trato de simplificar? [s|y]\n"; | |
if( ! in_array( strtolower( trim( $x = fgets(STDIN) ) ), array("yes", "y", "s", "si", "sí", "yh") ) | |
&& !($x == "\n") ) | |
exit("Entendido.\n"); | |
$result = array(0 => array("u" => (int) $up, "d" => (int) $down) ); | |
$i = 0; | |
echo "Intentando simplificar...\n"; | |
while(true) { |
This file contains hidden or 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 | |
$lol = "lol"; | |
define("HAHA", $lol, 1); | |
class ja { | |
function jaja() { | |
return 'This will be the result'; | |
} | |
} | |
class nose { | |
function lol(){ |
NewerOlder