[ ] - [ ] - [ ]
:
lawbreaker
.
. : bla.php ,

add.php .

bla.php
PHP
<?php
session_start
();
$_SESSION['za']=rand(1000000,9999999);
$z=$_SESSION['za'];
//createablankimage
$image=imagecreate(150,75);

for($i=1,$a=80;$i<$a;$i++)
{
$k=rand(6,10);
$kr=rand(6,10);
imageline($image,0,$i*$kr,200,$i*$k,255);

}
for($i=1,$a=100;$i<$a;$i++)
{
$n=rand(6,10);
$nr=rand(6,10);
imageline($image,$i*$nr,100,$i*$n,0,255);

}

$o=rand(5,70);
$u=rand(5,40);
$font="ADamnMess.ttf";
//writethestringatthetopleft
imagestring($image,5,$o,$u,$z,100);
//fillthebackgroundcolor
$bg=imagecolorallocate($image,200,200,220);

//outputthepicture
header("Content-type:image/png");
imagepng($image);



PHP
$_SESSION['za']=rand(1000000,9999999);



add.php
PHP
}elseif(!$_POST['1']AND!$_POST['2']AND$_POST['3'])
{

session_start();
echo$_SESSION['za'];
//
echo"<b>BittegebenSiedieZahl,dieaufdemBildabgebildetist,indasFeldein.</b><br>";
echo'<imgsrc="bla.php?'.time().'">';
echo"<formaction=add.php?act=2method=POST>
<inputtype=textname=casize=8>
<inputtype=hiddenname=catvalue='"
.$_POST['cat']."'>
<inputtype=hiddenname=ucatvalue='"
.$_POST['ucat']."'>
<inputtype=hiddenname=uucatvalue='"
.$_POST['uucat']."'>
<inputtype=submitname=4>
"
;
}


PHP
echo$_SESSION['za'];

,.

?


.

3
www.allday.ho.ua/add.php?act=1



10 , 54 (18.05.2009 - 22:56) lawbreaker ():
, :
1:
: 123456789
$_SESSION['za'] :

2:
: 987654321
$_SESSION['za'] : 123456789



3 , 33 (18.05.2009 - 23:00) jetistyum ():
, , ,
???? ?smile.gif

28 , 24 (18.05.2009 - 23:28) lawbreaker ():
PHP
echo $_SESSION['za'];
 
//   
echo "<b>Bitte geben Sie die Zahl, die auf dem Bild abgebildet ist, in das Feld ein.</b><br>";
echo 
'<img src="bla.php?'.time().'">';
echo 
"<form action=add.php?act=2 method=POST>
<input type=text name=ca size=8>
<input type=hidden name=cat value='"
.$_POST['cat']."'>
<input type=hidden name=ucat value='"
.$_POST['ucat']."'>
<input type=hidden name=uucat value='"
.$_POST['uucat']."'>
<input type=submit name=4>
"
;
echo 
$_SESSION['za'];


,

9 , 5 (18.05.2009 - 23:37) ():
copy paste biggrin.gif

4 , 43 (18.05.2009 - 23:42) jetistyum ():
,
- ...
, , , php , , , - .
?

1 , 11 , 31 (19.05.2009 - 00:53) lawbreaker ():






_____________
14 :)
HardWoman
:

  |  
.
Invision Power Board © 2001-2024 Invision Power Services, Inc.