3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); $UN = ''; $PW = ''; $VidID = ''; if (isset($_POST['UN'])) { setcookie("UN_bb", $_POST['UN']); setcookie("PW_bb", $_POST['PW']); } if (isset($_COOKIE["UN_bb"])) { $UN = htmlspecialchars($_COOKIE["UN_bb"]); } if (isset($_COOKIE["PW_bb"])) { $PW = htmlspecialchars($_COOKIE["PW_bb"]); } if (isset($_POST['VidID'])) { $VidID = $_POST['VidID']; } ?><?php if (isset($_POST['url'])) { $url = $_POST['url']; } function parse_query($var) { /** * Use this function to parse out the query array element from * the output of parse_url(). */ $var = parse_url($var, PHP_URL_QUERY); $var = html_entity_decode($var); $var = explode('&amp;', $var); $arr = array(); foreach($var as $val) { $x = explode('=', $val); $arr[$x[0]] = $x[1]; } unset($val, $x, $var); print_r ($arr["s"]); } function parse_query_string($var) { /** * Use this function to parse out the query array element from * the output of parse_url(). */ $var = parse_url($var, PHP_URL_QUERY); $var = html_entity_decode($var); $var = explode('&amp;', $var); $arr = array(); foreach($var as $val) { $x = explode('=', $val); $arr[$x[0]] = $x[1]; } unset($val, $x, $var); return str_replace(range(0,9),'',$arr["s"]); } //parse_query_string($url); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>BB Gen</title> </head> <body> <form action="" method="post" name="pars"> <label for="url"></label> <input name="url" type="text" id="url" value="<?php echo $_POST['url']; ?>" size="90" /><input name="" type="submit" /> </form> <p><a href="http://downloads.members.bangbros.com/t1/updates" target="_blank">SITE</a></p> <form id="form1" name="form1" method="post" action=""> <label for="UN">Username</label> <input name="UN" type="text" id="UN" value="<?php print $UN;?>" /> <br /> <label for="PW">Pass</label> <input name="PW" type="text" id="PW" value="<?php print $PW;?>" /> <br /> <label for="VidID">Video ID</label> <input name="VidID" type="text" id="VidID" value="<?php parse_query($url); ?>" /> (like: bkb12181)<br /> <label for="QL">Quality</label> <select name="QL" id="QL"> <option value="800">LOW (800)</option> <option value="1500" selected="selected">MED (1500)</option> <option value="3000">HIG (3000)</option> </select> <br /> <label for="site">Site</label> <select name="site" id="site"> <option value="assparade"<?php if (parse_query_string($url) == 'ap') {echo " selected='selected'";} ?>>assparade</option> <option value="avaspice"<?php if (parse_query_string($url) == 'av') {echo " selected='selected'";} ?>>avaspice</option> <option value="backroomfacials"<?php if (parse_query_string($url) == 'brf') {echo " selected='selected'";} ?>>backroomfacials</option> <option value="backroommilf"<?php if (parse_query_string($url) == 'mf') {echo " selected='selected'";} ?>>backroommilf</option> <option value="ballhoneys"<?php if (parse_query_string($url) == 'es') {echo " selected='selected'";} ?>>ballhoneys</option> <option value="bangbrosworldwide">bangbrosworldwide</option> <option value="bangbus"<?php if (parse_query_string($url) == 'bb') {echo " selected='selected'";} ?>>bangbus</option> <option value="bangtryouts"<?php if (parse_query_string($url) == 'bto') {echo " selected='selected'";} ?>>bangtryouts</option> <option value="bangbrosclips"<?php if (parse_query_string($url) == 'bbc') {echo " selected='selected'";} ?>>bangbrosclips</option> <option value="remaster"<?php if (parse_query_string($url) == 'rm') {echo " selected='selected'";} ?>>remaster</option> <option value="bigmouthfuls"<?php if (parse_query_string($url) == 'bmf') {echo " selected='selected'";} ?>>bigmouthfuls</option> <option value="bigtitcreampie"<?php if (parse_query_string($url) == 'btcp') {echo " selected='selected'";} ?>>bigtitcreampie</option> <option value="bigtitsroundasses"<?php if (parse_query_string($url) == 'btra') {echo " selected='selected'";} ?>>bigtitsroundasses</option> <option value="blowjobfridays"<?php if (parse_query_string($url) == 'bj') {echo " selected='selected'";} ?>>blowjobfridays</option> <option value="blowjobninjas"<?php if (parse_query_string($url) == 'aa') {echo " selected='selected'";} ?>>blowjobninjas</option> <option value="boobsquad"<?php if (parse_query_string($url) == 'bs') {echo " selected='selected'";} ?>>boobsquad</option> <option value="brownbunnies"<?php if (parse_query_string($url) == 'bkb') {echo " selected='selected'";} ?>>brownbunnies</option> <option value="canhescore"<?php if (parse_query_string($url) == 'bd') {echo " selected='selected'";} ?>>canhescore</option> <option value="casting"<?php if (parse_query_string($url) == 'ca') {echo " selected='selected'";} ?>>casting</option> <option value="chongas"<?php if (parse_query_string($url) == 'ch') {echo " selected='selected'";} ?>>chongas</option> <option value="dirtyworldtour"<?php if (parse_query_string($url) == 'bf') {echo " selected='selected'";} ?>>dirtyworldtour</option> <option value="dorminvasion"<?php if (parse_query_string($url) == 'di') {echo " selected='selected'";} ?>>dorminvasion</option> <option value="facialfest"<?php if (parse_query_string($url) == 'ff') {echo " selected='selected'";} ?>>facialfest</option> <option value="fuckteamfive"<?php if (parse_query_string($url) == 'bbw') {echo " selected='selected'";} ?>>fuckteamfive</option> <option value="latinarampage"<?php if (parse_query_string($url) == 'lrp') {echo " selected='selected'";} ?>>latinarampage</option> <option value="livingwithanna"<?php if (parse_query_string($url) == 'lr') {echo " selected='selected'";} ?>>livingwithanna</option> <option value="magicalfeet"<?php if (parse_query_string($url) == 'fj') {echo " selected='selected'";} ?>>magicalfeet</option> <option value="milflessons"<?php if (parse_query_string($url) == 'ml') {echo " selected='selected'";} ?>>milflessons</option> <option value="milfsoup"<?php if (parse_query_string($url) == 'ms') {echo " selected='selected'";} ?>>milfsoup</option> <option value="momsanaladventure">momsanaladventure</option> <option value="monstersofcock"<?php if (parse_query_string($url) == 'mc') {echo " selected='selected'";} ?>>monstersofcock</option> <option value="mrcameltoe"<?php if (parse_query_string($url) == 'ca') {echo " selected='selected'";} ?>>mrcameltoe</option> <option value="mranal"<?php if (parse_query_string($url) == 'ma') {echo " selected='selected'";} ?>>mranal</option> <option value="mylifeinbrazil"<?php if (parse_query_string($url) == 'mb') {echo " selected='selected'";} ?>>mylifeinbrazil</option> <option value="newbieblack"<?php if (parse_query_string($url) == 'blkg') {echo " selected='selected'";} ?>>newbieblack</option> <option value="partyofthree"<?php if (parse_query_string($url) == 'ls') {echo " selected='selected'";} ?>>partyofthree</option> <option value="pawg"<?php if (parse_query_string($url) == 'pwg') {echo " selected='selected'";} ?>>pawg</option> <option value="pennyshow"<?php if (parse_query_string($url) == 'ps') {echo " selected='selected'";} ?>>pennyshow</option> <option value="pornstarspa"<?php if (parse_query_string($url) == 'pos') {echo " selected='selected'";} ?>>pornstarspa</option> <option value="powermunch"<?php if (parse_query_string($url) == 'pm') {echo " selected='selected'";} ?>>powermunch</option> <option value="springbreakspycam">springbreakspycam</option> <option value="tugjobs"<?php if (parse_query_string($url) == 'hj') {echo " selected='selected'";} ?>>tugjobs</option> <option value="workinglatinas"<?php if (parse_query_string($url) == 'lw') {echo " selected='selected'";} ?>>workinglatinas</option> </select> <br /> <input type="submit" name="button" id="button" value="Senden" /> </form> <p> <textarea name="720p" cols="100" rows="1" id="720p" onfocus="this.select()"> <?php if (isset($_POST['button'])) { echo "http://".$UN.":".$PW."@".$_POST['site'].".members.bangbros.com/membercheck?path=".$_POST['VidID']."/streaming/&amp;fname=".$_POST['VidID']."_".$_POST['QL'].".mp4"; }?> </textarea> </p> </body> </html>
Output for 5.3.0 - 7.1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>BB Gen</title> </head> <body> <form action="" method="post" name="pars"> <label for="url"></label> <input name="url" type="text" id="url" value="" size="90" /><input name="" type="submit" /> </form> <p><a href="http://downloads.members.bangbros.com/t1/updates" target="_blank">SITE</a></p> <form id="form1" name="form1" method="post" action=""> <label for="UN">Username</label> <input name="UN" type="text" id="UN" value="" /> <br /> <label for="PW">Pass</label> <input name="PW" type="text" id="PW" value="" /> <br /> <label for="VidID">Video ID</label> <input name="VidID" type="text" id="VidID" value="" /> (like: bkb12181)<br /> <label for="QL">Quality</label> <select name="QL" id="QL"> <option value="800">LOW (800)</option> <option value="1500" selected="selected">MED (1500)</option> <option value="3000">HIG (3000)</option> </select> <br /> <label for="site">Site</label> <select name="site" id="site"> <option value="assparade">assparade</option> <option value="avaspice">avaspice</option> <option value="backroomfacials">backroomfacials</option> <option value="backroommilf">backroommilf</option> <option value="ballhoneys">ballhoneys</option> <option value="bangbrosworldwide">bangbrosworldwide</option> <option value="bangbus">bangbus</option> <option value="bangtryouts">bangtryouts</option> <option value="bangbrosclips">bangbrosclips</option> <option value="remaster">remaster</option> <option value="bigmouthfuls">bigmouthfuls</option> <option value="bigtitcreampie">bigtitcreampie</option> <option value="bigtitsroundasses">bigtitsroundasses</option> <option value="blowjobfridays">blowjobfridays</option> <option value="blowjobninjas">blowjobninjas</option> <option value="boobsquad">boobsquad</option> <option value="brownbunnies">brownbunnies</option> <option value="canhescore">canhescore</option> <option value="casting">casting</option> <option value="chongas">chongas</option> <option value="dirtyworldtour">dirtyworldtour</option> <option value="dorminvasion">dorminvasion</option> <option value="facialfest">facialfest</option> <option value="fuckteamfive">fuckteamfive</option> <option value="latinarampage">latinarampage</option> <option value="livingwithanna">livingwithanna</option> <option value="magicalfeet">magicalfeet</option> <option value="milflessons">milflessons</option> <option value="milfsoup">milfsoup</option> <option value="momsanaladventure">momsanaladventure</option> <option value="monstersofcock">monstersofcock</option> <option value="mrcameltoe">mrcameltoe</option> <option value="mranal">mranal</option> <option value="mylifeinbrazil">mylifeinbrazil</option> <option value="newbieblack">newbieblack</option> <option value="partyofthree">partyofthree</option> <option value="pawg">pawg</option> <option value="pennyshow">pennyshow</option> <option value="pornstarspa">pornstarspa</option> <option value="powermunch">powermunch</option> <option value="springbreakspycam">springbreakspycam</option> <option value="tugjobs">tugjobs</option> <option value="workinglatinas">workinglatinas</option> </select> <br /> <input type="submit" name="button" id="button" value="Senden" /> </form> <p> <textarea name="720p" cols="100" rows="1" id="720p" onfocus="this.select()"> </textarea> </p> </body> </html>