PageRenderTime 398ms queryFilters 2ms Sphinxql 296ms GetByIds 86ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 1ms

36,578 results for 'php mt_rand repo:dlorenso/dazlo' (398 ms)

Source

Language

Repository

captcha.php http://miacms.googlecode.com/svn/trunk/ | PHP | 162 lines
1<?php
2
43	if($c_codetype)
44		$seccode = strval(mt_rand(10000, 99999));
45	else {
49		for($i = 0; $i < 5; $i++)
50		$seccode .= $string{mt_rand(0, $stringlen)};
51	}
76		$morphx = $h;
77		$morphy = mt_rand(3.5,5.2);
78		$mx = $sx;
98		ImageFill($tmp, 0, 0, $bgcolor);
99		$ttfborders[] = ImageTTFText($tmp, $size+mt_rand(0, 8), mt_rand(-$angle, $angle), 20,
100		$yspace-10, $fontcolor, $font, $seccode{$i}
110	$ux = $uy = 0;
111	$vx = 0; //mt_rand(10,15);
112	$vy = mt_rand($y2-3, $y2+3);
openid.inc.php http://miacms.googlecode.com/svn/trunk/ | PHP | 628 lines
1<?php
2/**
3 * @package MiaCMS
4 * @author MiaCMS see README.php
5 * @copyright see README.php
5 * @copyright see README.php
6 * See COPYRIGHT.php for copyright notices and details.
7 * @license GNU/GPL Version 2, see LICENSE.php
209	return gmstrftime('%Y-%m-%dT%H:%M:%S%Z') .
210	chr(mt_rand(0, 25) + 65) .
211	chr(mt_rand(0, 25) + 65) .
211	chr(mt_rand(0, 25) + 65) .
212	chr(mt_rand(0, 25) + 65) .
213	chr(mt_rand(0, 25) + 65);
403		for ($i = 0; $i < $num_bytes; $i += 4) {
404			$bytes .= pack('L', mt_rand());
405		}
kind_of_blue.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 64 lines
1<?php
2
3/**
4 * kind_of_blue.php
5 * Name:    Kind of Blue
11 * @copyright &copy; 2000-2006 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: kind_of_blue.php 10633 2006-02-03 22:27:56Z jervfors $
18/** seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $b = mt_rand(248,255);
26        $r = mt_rand(180,255);
26        $r = mt_rand(180,255);
27        $g = mt_rand(178,$r);
28    } else {
in_the_pink.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 60 lines
1<?php
2
3/**
4 * in_the_pink.php
5 * Name:    In the Pink
11 * @copyright &copy; 2000-2006 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: in_the_pink.php 10633 2006-02-03 22:27:56Z jervfors $
18/* seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $r = mt_rand(248,255);
26        $b = mt_rand(140,255);
26        $b = mt_rand(140,255);
27        $g = mt_rand(128,$b);
28    } else {
kind_of_blue.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 42 lines
1<?php
2
3/**
4 * kind_of_blue.php
5 * Name:    Kind of Blue
11 * @copyright 2000-2011 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: kind_of_blue.php 14084 2011-01-06 02:44:03Z pdontthink $
18/** seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $b = mt_rand(248,255);
26        $r = mt_rand(180,255);
26        $r = mt_rand(180,255);
27        $g = mt_rand(178,$r);
28    } else {
in_the_pink.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 38 lines
1<?php
2
3/**
4 * in_the_pink.php
5 * Name:    In the Pink
11 * @copyright 2000-2011 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: in_the_pink.php 14084 2011-01-06 02:44:03Z pdontthink $
18/* seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $r = mt_rand(248,255);
26        $b = mt_rand(140,255);
26        $b = mt_rand(140,255);
27        $g = mt_rand(128,$b);
28    } else {
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 876 lines
209 * Creates an URL for the page calling this function, using either the PHP global
210 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
211 *
223
224    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
225
231
232      return $php_self;
233    }
277    if(strpos(php_self(), '?')) {
278        $path = substr(php_self(), 0, strpos(php_self(), '?'));
279    } else {
873
874$PHP_SELF = php_self();
875?>
kind_of_blue.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 64 lines
1<?php
2
3/**
4 * kind_of_blue.php
5 * Name:    Kind of Blue
11 * @copyright &copy; 2000-2007 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: kind_of_blue.php 12127 2007-01-13 20:07:24Z kink $
18/** seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $b = mt_rand(248,255);
26        $r = mt_rand(180,255);
26        $r = mt_rand(180,255);
27        $g = mt_rand(178,$r);
28    } else {
in_the_pink.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 60 lines
1<?php
2
3/**
4 * in_the_pink.php
5 * Name:    In the Pink
11 * @copyright &copy; 2000-2007 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: in_the_pink.php 12127 2007-01-13 20:07:24Z kink $
18/* seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $r = mt_rand(248,255);
26        $b = mt_rand(140,255);
26        $b = mt_rand(140,255);
27        $g = mt_rand(128,$b);
28    } else {
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,065 lines
213 * Creates an URL for the page calling this function, using either the PHP global
214 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
215 *
227
228    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
229
260    $repl = array('', '', '');
261    $base_uri = preg_replace($dirs, $repl, $PHP_SELF);
262    return $base_uri;
282    if(strpos(php_self(), '?')) {
283        $path = substr(php_self(), 0, strpos(php_self(), '?'));
284    } else {
1063
1064$PHP_SELF = php_self();
1065
kind_of_blue.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 42 lines
1<?php
2
3/**
4 * kind_of_blue.php
5 * Name:    Kind of Blue
11 * @copyright &copy; 2000-2009 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: kind_of_blue.php 13548 2009-04-15 18:52:02Z jervfors $
18/** seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $b = mt_rand(248,255);
26        $r = mt_rand(180,255);
26        $r = mt_rand(180,255);
27        $g = mt_rand(178,$r);
28    } else {
in_the_pink.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 38 lines
1<?php
2
3/**
4 * in_the_pink.php
5 * Name:    In the Pink
11 * @copyright &copy; 2000-2009 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: in_the_pink.php 13548 2009-04-15 18:52:02Z jervfors $
18/* seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $r = mt_rand(248,255);
26        $b = mt_rand(140,255);
26        $b = mt_rand(140,255);
27        $g = mt_rand(128,$b);
28    } else {
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 885 lines
213 * Creates an URL for the page calling this function, using either the PHP global
214 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
215 *
227
228    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
229
232      if ( sqgetGlobalVar('QUERY_STRING', $query_string, SQ_SERVER) && !empty($query_string) ) {
233         $php_self .= '?' . $query_string;
234      }
281    if(strpos(php_self(), '?')) {
282        $path = substr(php_self(), 0, strpos(php_self(), '?'));
283    } else {
882
883$PHP_SELF = php_self();
884?>
kind_of_blue.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 43 lines
1<?php
2
3/**
4 * kind_of_blue.php
5 * Name:    Kind of Blue
11 * @copyright &copy; 2000-2007 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: kind_of_blue.php 12486 2007-06-27 16:28:52Z kink $
18/** seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $b = mt_rand(248,255);
26        $r = mt_rand(180,255);
26        $r = mt_rand(180,255);
27        $g = mt_rand(178,$r);
28    } else {
in_the_pink.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 39 lines
1<?php
2
3/**
4 * in_the_pink.php
5 * Name:    In the Pink
11 * @copyright &copy; 2000-2007 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: in_the_pink.php 12486 2007-06-27 16:28:52Z kink $
18/* seed the random number generator */
19sq_mt_randomize();
20
24        /* background */
25        $r = mt_rand(248,255);
26        $b = mt_rand(140,255);
26        $b = mt_rand(140,255);
27        $g = mt_rand(128,$b);
28    } else {
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 881 lines
209 * Creates an URL for the page calling this function, using either the PHP global
210 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
211 *
223
224    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
225
231
232      return $php_self;
233    }
277    if(strpos(php_self(), '?')) {
278        $path = substr(php_self(), 0, strpos(php_self(), '?'));
279    } else {
878
879$PHP_SELF = php_self();
880?>
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 884 lines
213 * Creates an URL for the page calling this function, using either the PHP global
214 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
215 *
227
228    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
229
235
236      return $php_self;
237    }
282    if(strpos(php_self(), '?')) {
283        $path = substr(php_self(), 0, strpos(php_self(), '?'));
284    } else {
882
883$PHP_SELF = php_self();
884
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 884 lines
213 * Creates an URL for the page calling this function, using either the PHP global
214 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
215 *
227
228    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
229
232      if ( sqgetGlobalVar('QUERY_STRING', $query_string, SQ_SERVER) && !empty($query_string) ) {
233         $php_self .= '?' . $query_string;
234      }
281    if(strpos(php_self(), '?')) {
282        $path = substr(php_self(), 0, strpos(php_self(), '?'));
283    } else {
882
883$PHP_SELF = php_self();
884
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 873 lines
213 * Creates an URL for the page calling this function, using either the PHP global
214 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
215 *
227
228    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
229
232      if ( sqgetGlobalVar('QUERY_STRING', $query_string, SQ_SERVER) && !empty($query_string) ) {
233         $php_self .= '?' . $query_string;
234      }
282    if(strpos(php_self(), '?')) {
283        $path = substr(php_self(), 0, strpos(php_self(), '?'));
284    } else {
871
872$PHP_SELF = php_self();
873
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 881 lines
209 * Creates an URL for the page calling this function, using either the PHP global
210 * REQUEST_URI, or the PHP global PHP_SELF with QUERY_STRING added.
211 *
223
224    if ( sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) && !empty($php_self) ) {
225
231
232      return $php_self;
233    }
277    if(strpos(php_self(), '?')) {
278        $path = substr(php_self(), 0, strpos(php_self(), '?'));
279    } else {
878
879$PHP_SELF = php_self();
880?>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21