note 119946 added to function.header
| From: | ratblack7 at gmail dot com | Date: | Sun, 25 Sep 2016 12:05:37 +0000 |
| Subject: | note 119946 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206668@lists.php.net to get a copy of this message | ||
<!---
#El juego de la vida by JPF
ratblack7@gmail.com
1.lenguage interpretado por videntes y ciegos
2.El juego de la vida
---->
<!--
//el juego de la vida
//mas de 3 vive/nace 1 menos de 3 muere muere de soledad
//nacen de forma vertical y orizontal
/*Tiene ene capacidad expresiva con sus dos sencillas reglas ¿cuales reglas?*/
####iniciando cuadricula####
#puedo trabajarlo por pixel
--->
<?php
ob_start();
?>
<?php header("Refresh:1; url=pelicula.php"); ?>
<?php
function myrand_margin(){
$array_rand =
array(0=>'1',1=>'61',2=>'50',3=>'38'); echo
$uno= $array_rand[rand(0,3)];
}
?>
<style type="text/css">
div#CONTENT{
width: 100%;height: 100%;
background-color: black;
}
div#id1{
height: <?php $array_rand = array(0=>3,1=>3); echo $uno=
$array_rand[rand(0,1)];?>%;width: 1%;
background-color:crimson;
margin: 1%;
margin-top: -0.6%;
}
div#id2{
height: 1%;width: <?php $array_rand = array(0=>3,1=>3); echo $uno=
$array_rand[rand(0,1)];?>%;
background-color:crimson;
margin: 1px;
}
</style>
<div id="CONTENT">
<?php for($i=0;$i<=10;$i++){ ?>
<style type="text/css">
div.class<?php echo $i; ?>{
position: absolute
; top: <?php myrand_margin(); ?>%
; right: <?php myrand_margin(); ?>%;
left: <?php myrand_margin(); ?>%;
bottom: <?php myrand_margin(); ?>%
}
</style>
<?php } ?>
<?php for($i=0;$i<=10;$i++){ ?>
<br>
<div class="class<?php echo $i; ?>" id="id1"><?php
?></div>
<div class="class<?php echo $i; ?>" id="id2"><?php
?></div>
<div class="class<?php echo $i; ?>" id="id1"><?php
?></div>
<br>
<?php } ?>
</div><!--contenido-->
<?php
ob_end_flush();
?>
<!---
2.el juego de la vida
---->
<?php
ob_start();
?>
<?php header("Refresh:1; url=EJDLV-poblacion.php"); ?>
<?php
function myrand_margin(){
$array_rand = array(0=>'3',1=>'5',2=>'6'); echo $uno=
$array_rand[rand(0,2)];
}
?>
<style type="text/css">
div#CONTENT{
width: 100%;height: 100%;
background-color: black;
}
div#id1{
height: 1%;width: 1%;
background-color:crimson;
margin: 1px;
}
div#id2{
height: 1%;width: <?php $array_rand = array(0=>1,1=>3); echo $uno=
$array_rand[rand(0,1)];?>%;
background-color:crimson;
margin: 1px;
}
</style>
<div id="CONTENT">
<?php for($i=0;$i<=10;$i++){ ?>
<style type="text/css">
center#id<?php echo $i; ?>{
position: relative
; top: <?php myrand_margin(); ?>%
; right: <?php myrand_margin(); ?>%;
left: <?php myrand_margin(); ?>%;
bottom: <?php myrand_margin(); ?>%
}
</style>
<center id='id<?php echo $i; ?>'>
<?php $array_rand = array('','id1');
$mirand=$array_rand[rand(0,1)];?>
<br>
<div id="<?php if(!empty($mirand) AND $uno == 1) {echo $mirand;}
?>"><?php ?></div>
<div class="class" id="id2"><?php ?></div>
<div id="<?php if(!empty($mirand) AND $uno == 1) {echo $mirand;}?>"><?php
?></div>
<br>
</center>
<?php } ?>
</div>
<?php
ob_end_flush();
?>
----
Server IP: 72.52.91.14
Probable Submitter: 84.78.14.20
----
Manual Page -- http://php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/119946
Del: integrated -- https://master.php.net/note/delete/119946/integrated
Del: useless -- https://master.php.net/note/delete/119946/useless
Del: bad code -- https://master.php.net/note/delete/119946/bad+code
Del: spam -- https://master.php.net/note/delete/119946/spam
Del: non-english -- https://master.php.net/note/delete/119946/non-english
Del: in docs -- https://master.php.net/note/delete/119946/in+docs
Del: other reasons-- https://master.php.net/note/delete/119946
Reject -- https://master.php.net/note/reject/119946
Search -- https://master.php.net/manage/user-notes.php