blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
116
path
stringlengths
2
241
src_encoding
stringclasses
31 values
length_bytes
int64
14
3.6M
score
float64
2.52
5.13
int_score
int64
3
5
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
text
stringlengths
14
3.57M
download_success
bool
1 class
bc1f8d2443e19dead20c0bafc93c18acab16b581
PHP
stephenharris/WordPressBehatExtension
/src/Context/Page/Element/WPTableVisitor.php
UTF-8
1,679
3
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php namespace StephenHarris\WordPressBehatExtension\Context\Page\Element; /** * The TableRowElement 'decorates' NodeElement. It adds context the <tr> element such as getting * values from a specific column. * * Please note that this Decorator implementation is lazy and cannot be stacked. See link below for detai...
true
def98e2e6ec4ec6af2cfa1704f596fa48b02bb6a
PHP
angujo/elocrud
/src/Models/Relation.php
UTF-8
3,499
2.875
3
[]
no_license
<?php namespace Angujo\Elocrud\Models; use Angujo\DBReader\Models\DBColumn; use Angujo\DBReader\Models\DBTable; use Angujo\DBReader\Models\ForeignKey; use Angujo\Elocrud\DocInflector; /** * Class Relation * * @package Angujo\Elocrud\Models */ abstract class Relation { /** * @var DBTable */ p...
true
6b2a46df146623dd0a40ec8b72c66d7ba370f747
PHP
dextercampos/easy-monorepo
/packages/EasyErrorHandler/tests/ErrorDetailsResolverTest.php
UTF-8
2,559
2.640625
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace EonX\EasyErrorHandler\Tests; use EonX\EasyErrorHandler\ErrorDetailsResolver; use EonX\EasyErrorHandler\Tests\Stubs\TranslatorStub; use Psr\Log\NullLogger; final class ErrorDetailsResolverTest extends AbstractTestCase { /** * @return iterable<mixed> * * @se...
true
91b7d63ecd29edd0e19bbcc346aa2946fbec182a
PHP
DanielCandelas/DWES-2021
/Candelas_Arnal_Daniel_final/cli/utils.php
UTF-8
901
3.15625
3
[]
no_license
<?php //Obtener parametros para updates function getParams($input) { $filterParams = []; foreach($input as $param => $value) { $filterParams[] = "$param=:$param"; } return implode(", ", $filterParams); } //Asociar todos los parametros a un sql function bindAllValues($statement, ...
true
6ba989d8ad33e27da1e001f672bc6639a31233c7
PHP
Ceri-anne/ShoppingCart
/lib/Cart/Upload/cart_upload.php
UTF-8
789
2.640625
3
[]
no_license
<?php namespace Cart\Upload; const AllowedTypes = ['image/jpeg', 'image/jpg']; const InputKey = 'myfile'; function upload_file() { if (empty($_FILES[InputKey])) { //handle error trigger_error("File Missing!"); } if ($_FILES[InputKey]['error'] > 0) { //handle error trigger_error("Handle the error! " . $_FILES...
true
fc05ef58a2a16a6493ec8fd3f8054f5b2f534605
PHP
servo80/efg-ettenheim-de
/custom/extension/efgettenheim/lib/classes/view.php
UTF-8
2,721
2.703125
3
[]
no_license
<?php namespace BB\custom\extension\efgettenheim\lib\classes; /** * @method view() */ class view extends \BB\custom\extension\efgettenheim\lib\classes\pattern\singleton { protected static $instances = array(); /* @var $view \BB\template\smarty */ protected $view; /** @var $engine \BB\engi...
true
68f93d7afb7be8324e6a2fe86db4d01b08146c9a
PHP
omise/omise-php
/lib/omise/OmiseSource.php
UTF-8
978
2.890625
3
[ "MIT" ]
permissive
<?php class OmiseSource extends OmiseApiResource { const ENDPOINT = 'sources'; /** * Retrieves a source. * * @param string $id * @param string $publickey * @param string $secretkey * * @return OmiseSource */ public static function retrieve($id, $publickey = null,...
true
b4f7805bf6c3085435e1eb6ee11c484af6751bbe
PHP
taguig/BuildPage
/BuildPage/view/headerView/model/modelHeader_1.php
UTF-8
954
2.609375
3
[]
no_license
<?php /** * * @author 2019 * */ class modelHeader_1 extends modelHeader { /** */ private $menuIcon; public function __construct($icon=false,$id = "", $class = "") { parent::__construct($id , $class." modelHeader_1",$icon ); $this->addUrlCss("mode...
true
54bf0ea1f1dac9f79592fd7b429190e7beeeddb7
PHP
longsir0/GenerateQrCode
/GenerateQrCode.php
UTF-8
4,761
2.734375
3
[]
no_license
<?php /* @function 关于PHP生成二维码的一些方法 @Author LongSir QQ:519585292 @Date 2019-07-16 */ /** * 生成二维码 * * @access public * @param id 产品ID * @param titles 产品标题 * @param grade 二维码背景图 * @return string */ public function phpqrcode($id, $titles, $grade){ ...
true
8a62a6579bca4f1444d961c3842317dc8162576b
PHP
softeng-feup/open-cx-countercode
/CounterCodeWeb/rest/insert_entry.php
UTF-8
833
2.546875
3
[]
no_license
<?php function response($response_code, $response_desc) { echo json_encode( array( 'response_code' => $response_code, 'response_desc' => $response_desc )); } header('Content-Type: application/json'); if (isset($_POST['talkID']) && !empty($_POST['talkID']) && isset($_POST['timestamp']...
true
e37ffb6f0ce5153870ded2425a2a20aa58f10efb
PHP
denismoroz1981/php_academy_hw5
/hw5_16.php
UTF-8
604
3.859375
4
[]
no_license
<?php /** * Created by PhpStorm. * User: denismoroz * Date: 09.02.18 * Time: 17:54 * ЗАДАНИЕ * 16. Дан массив с элементами 1, 2, 3, 4, 5, 6, 7, 8, 9. С помощью цикла foreach и оператора * if выведите на экран столбец элементов массива, как показано на картинке. * 1, 2, 3 4, 5, 6 7, 8, 9 */ $arr = [1, 2, 3, 4,...
true
86b2a34c6f8fe04f42d9a6ce646da9436f4a303a
PHP
ministryofjustice/opg-lpa
/service-api/module/Application/src/Model/DataAccess/Postgres/UserModel.php
UTF-8
5,963
3.03125
3
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
<?php namespace Application\Model\DataAccess\Postgres; use DateTime; use Application\Model\DataAccess\Repository\User as UserRepository; class UserModel implements UserRepository\UserInterface { /** * The user's data. * * @var array */ private $data; public function __construct(array...
true
7757cccd46c40ce10249e36d1a468e8f20f52e57
PHP
xitaorafael/projeto_de_teste
/ponto/controllers/Resumo.php
UTF-8
4,429
2.5625
3
[]
no_license
<?php namespace stalker\application\ponto\controllers; use stalker\library\Fw as Fw; use stalker\application\ponto\models as models_ponto; use stalker\application\index\models as models; /** * Resumo do ponto. * * @author Fernando Dias <rodox17@gmail.com> * @package APP * @subpackage Controllers */ class Resu...
true
8f2c8ab13d34720789aca3ec1560c756424ccda5
PHP
thebook/originalapp
/inner/ticket.class.php
UTF-8
4,456
2.625
3
[]
no_license
<?php class ticket extends alpha { var $freepost_table; var $cheque_table; function __construct() { parent::__construct('ticket'); $this->construct_freepost_table(); $this->construct_cheque_table(); } public function construct_freepost_table () { $this->freepost_table = 'freepost'; $table = new ta...
true
9fd6caccb647a966f6976ae189a49dde65224a0b
PHP
Isack25/CALAS_CRUD3
/calas/edita_panel_2.php
UTF-8
1,903
2.609375
3
[]
no_license
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body bgcolor="#727272"> <h2 align="center">Edit Product</h2> <?php $mysql = new mysqli("localhost", "root", "", "...
true
56de82ad1a0e89a206e9fb2149e866bb06cf69b6
PHP
BladeStudios/plansza-online
/classes/Spectator.php
UTF-8
3,646
3.015625
3
[]
no_license
<?php class Spectator { protected $connection; private $room_id; private $spectator_id; private $connection_id; protected $tableName; protected $gameName; public function __construct() { require_once('DatabaseConnection.php'); $db_connection = new DatabaseConnection; ...
true
efc3dc8c01265a4ea09711f4603ec3fc85025bdf
PHP
XFLaura/adu-yii-I
/models/Country.php
UTF-8
1,571
2.59375
3
[ "BSD-3-Clause" ]
permissive
<?php namespace app\models; use Yii; /** * This is the model class for table "Country". * * @property integer $advertisers_id * @property string $advertisers_name * @property string $advertisers_tel * @property integer $create_time * @property integer $advertisers_status * @property string $advertisers_accou...
true
f75c08ccbc4598b53d0924f96704d7c4d0a7d8b0
PHP
josepaiva94/zoho-recruit-client-php
/src/Transport/XMLTransportDecorator.php
UTF-8
11,425
2.671875
3
[ "MIT" ]
permissive
<?php namespace Apora\ZohoRecruitClient\Transport; use Apora\ZohoRecruitClient\Exception\Exception; use Apora\ZohoRecruitClient\Exception\NoDataException; use Apora\ZohoRecruitClient\Exception\RuntimeException; use Apora\ZohoRecruitClient\Exception\UnexpectedValueException; use Apora\ZohoRecruitClient\Exception\ZohoRe...
true
9b83666efd959c9fb8022ddf8bc9d1f8d1e1523a
PHP
rafiepaculaba/inventory
/system/application/models/vessel_model.php
UTF-8
1,907
2.71875
3
[]
no_license
<?php class Vessel_model extends Model { var $vesselID; var $vesselCode; var $vesselName; var $status; function Vessel_model() { parent::Model(); } function saveRecord() { $data['vesselCode'] = $this->vesselCode; $data['vesselName'] = $this->vesselName; $this->db->insert('vessels', $data); ...
true
c85eaa7acdc465cd369b8c6997102f0c62a34b72
PHP
atefben/fdc
/src/Base/CoreBundle/Twig/Extension/ExternalLinkExtension.php
UTF-8
1,967
2.578125
3
[ "MIT" ]
permissive
<?php namespace Base\CoreBundle\Twig\Extension; use Twig_Extension; /** * Class ExternalLinkExtension * @package Base\CoreBundle\Twig\Extension */ class ExternalLinkExtension extends Twig_Extension { private $eventDomain; private $eventMobileDomain; private $pressDomain; private $corpoDomain; ...
true
cb4f2aa9d108161315d9fa5030eeef9534fad12f
PHP
Zoharyal/BlogLit
/src/Domain/Comment.php
UTF-8
1,302
2.84375
3
[]
no_license
<?php namespace BlogLit\Domain; use Symfony\Component\Validator\Constraints as Assert; class Comment { private $id; /** *@Assert\Length(min=2) */ private $author; /** *@Assert\Notblank() */ private $content; private $chapter; private $dateAjout; public fun...
true
7ec2a045da0b581cefd3efb979be1f37a7afde44
PHP
nkzwlab/group2
/web/index.php
UTF-8
2,553
2.59375
3
[]
no_license
<?php require('./SetDB.php'); require('./DBControl.php'); require('./Visual.php') ?> <?php // phpinfo(); $sDB = new SetDB(); $connection = $sDB->getConnectionStatus(); if($connection) { $control = new DBControl($sDB->getPDO()); $new = $_GET['newbook']; $control->ad...
true
ab7aec0835c5057b308dcf48b1cec3a8a195bfcc
PHP
IngArmando/cajaahorro
/modelo/MMunicipio.php
UTF-8
4,403
2.640625
3
[ "CC0-1.0" ]
permissive
<?php include_once("MPgsql.php"); //-------------------------------------------------------------------- // Clase Lista //-------------------------------------------------------------------- class Municipio extends CModeloDatos { private $IdMunicipio; private $Municipio; private $Estatus; pri...
true
4abb965f836a7d937ef59384056ec71cdeaab9f4
PHP
CamiloMalaver/metaBiblioTest
/app/Tools/toXml.php
UTF-8
914
3.046875
3
[]
no_license
<?php namespace App\Tools; use SimpleXMLElement; class toXml{ static function arrayToXml($array, $rootElement = null, $xml = null) { $_xml = $xml; // If there is no Root Element then insert root if ($_xml === null) { $_xml = new SimpleXMLElement($rootElement !== nu...
true
cdf4391e4b2a8a1fcec4d2f26139741b8c0c8a34
PHP
max-kut/AmoCRM
/src/Query/CustomersQuery.php
UTF-8
557
2.546875
3
[]
no_license
<?php namespace AmoPRO\AmoCRM\Query; final class CustomersQuery extends AbstractEntityQuery { /** * @param \AmoPRO\AmoCRM\Query\CustomersWith $with * @return static */ public function with(CustomersWith $with) { $this->params['with'] = (string)$with; return $this; } ...
true
34f0982fff38ce3523634b8bab3569d169514e55
PHP
techcodex/store
/admin/users/process/process_deactive.php
UTF-8
460
2.53125
3
[]
no_license
<?php // echo("<pre>"); // print_r($_GET); // echo("</pre>"); // die; if($_SERVER['REQUEST_METHOD'] == "GET" && isset($_GET['id'])) { require_once "../../init.php"; require_once "../../../models/User.php"; try{ User::deactive($_GET['id']); $_SESSION['success'] = "User Deactive Successfully";...
true
9216f552bb832d91606da7fc79da64d81c3a7449
PHP
taduyhieu/webbanhang
/app/Repositories/NewsRealEstale/CacheDecorator.php
UTF-8
2,888
2.734375
3
[]
no_license
<?php namespace Fully\Repositories\NewsRealEstale; use Fully\Services\Cache\CacheInterface; /** * Class CacheDecorator. * * @author TDH <taduyhieucntt98@gmail.com> */ class CacheDecorator extends AbstractNewsRealEstaleDecorator { /** * @var \Fully\Services\Cache\CacheInterface */ protected $cac...
true
ad13015367441839a0a4dd1d972c0cecf8232883
PHP
ancozzz/Booster-Traffic-Exchange-System
/app/User.php
UTF-8
2,336
2.640625
3
[]
no_license
<?php namespace App; use Illuminate\Auth\Authenticatable; use Illuminate\Database\Eloquent\Model; use Illuminate\Auth\Passwords\CanResetPassword; use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; use Laravel\Cashier\Bil...
true
4acad2487fdb518852507ab9419645088d276f6f
PHP
foysal619/Tour-Travel-Management-System-Web-Application
/admin_dashboard/dbconnect2.php
UTF-8
453
2.59375
3
[]
no_license
<div style="text-align:center;"> <?php $db_host = "localhost"; $db_user = "root"; $db_pass = ""; $db_name = "phpdbms"; //dbms connection build up $conn = mysqli_connect($db_host,$db_user,$db_pass,$db_name); if($conn) { echo '<span style="color:green;text-align:center;">Database Connection Successfull!</spa...
true
84844a7c35852b6e69cd938962adfe36fceff0ff
PHP
Arielt99/forum-api
/app/Transformers/ThreadTransformer.php
UTF-8
1,646
2.75
3
[ "MIT" ]
permissive
<?php namespace App\Transformers; use App\Models\Thread; use League\Fractal\TransformerAbstract; class ThreadTransformer extends TransformerAbstract { /** * List of resources to automatically include * * @var array */ protected $defaultIncludes = [ 'user' ]; /** * Li...
true
9ea55256e268c3edcd2ba129586402fd826a4528
PHP
NicholasWM-zz/Cursos
/PHP/exercicios/01-funcao.php
UTF-8
243
3.71875
4
[]
no_license
<?php function soma($numero){ $soma = 0; for($i = 0; $i < sizeof($numero); $i++){ $soma += $numero[$i]; } return $soma; } $somatorio = soma(array(30, 20, 40)); echo $somatorio; ?>
true
9d58d6d46a6f2ded4ad569ccb0159aaa0ea8557e
PHP
AndreiAstalus/Proiect
/controller/interface/UsersControllerInterface.php
UTF-8
259
2.546875
3
[]
no_license
<?php interface UsersControllerInterface { public function getUsers(); public function getUser(); public function getId(); public function postUsers(); public function putUsers(); public function deleteUsers(); }
true
1e5dbf12d270c8804ce66f35189b5469b75681d2
PHP
NaraHiroyuki/php-db
/chapter7/chapter7_4/trait_2.php/userstudy-c7.MyClassTest.php
UTF-8
206
2.671875
3
[]
no_license
<?php require_once("/Users/narahiroyuki/workspace/php-db/chapter7.php/userstudy-c7.MyClass.php"); $myobj = new MyClass(); $myobj->hello(); echo "\n"; $myobj->taroHello(); echo "\n"; $myobj->hanaHello(); ?>
true
735556ca1920139cde1b7a7a9394a091a10c398d
PHP
titouanmanachem/projetS4
/src/AppBundle/Entity/Categories.php
UTF-8
1,092
2.65625
3
[]
no_license
<?php namespace AppBundle\Entity; /** * Categories */ class Categories { /** * @var integer */ private $id; /** * @var string */ private $libelle; /** * @var string */ private $couleur; /** * Get id * * @return integer */ public f...
true
7288b6fea33f4826e380fd1bed6bf3cbab6a6477
PHP
Gauzz/project-ave
/user/apis/_create_assets.php
UTF-8
6,035
2.578125
3
[]
no_license
<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); header('Content-Type: application/json'); header('Access-Control-Allow-Origin: *'); include('../../includes/functions.php'); if (!empty($_REQUEST["create"]) AND isset($_REQUEST["create"])) { $projectName = (isset($_REQU...
true
d2522f51af49a8faa14d0cfe89cf9ce30eff9051
PHP
DominikPn/mvc
/vendor/Core/Router/AppRouter.php
UTF-8
4,803
3.09375
3
[]
no_license
<?php /** * Created by PhpStorm. * User: DesktopHome * Date: 2018-03-28 * Time: 16:58 */ namespace MyMvc\Router; use App\TestClass; use MyMvc\Request\Request; use MyMvc\Request\RequestInterface; use MyMvc\Router\AppRouterBinding; use MyMvc\Kernel\ControllerBuilderInfo\ControllerBuilderInfoImpl; class AppRouter...
true
b154d2d4904d1d2e42b3a2296226e14f847f2b65
PHP
fullpipe/normal-distribution
/GeneralNormalDistribution.php
UTF-8
1,377
3.203125
3
[ "MIT" ]
permissive
<?php namespace Fullpipe\NormalDistribution; /** * @see https://en.wikipedia.org/wiki/Normal_distribution#General_normal_distribution */ class GeneralNormalDistribution implements NormalDistributionInterface { /** * @var float */ private $meanValue; /** * @var float */ private $...
true
bd47ac22761fb6fdab51c46b2f07075dd89f1309
PHP
kartik077-cr7/Izifound
/product_request.php
UTF-8
3,364
2.671875
3
[ "MIT" ]
permissive
<?php session_start(); //include('class.phpmailer.php'); $college = $_SESSION['college_seller']; $email = $_SESSION['email']; if(isset($_POST['Submit'])) { $link = mysqli_connect('localhost','root','','Izifound'); if(!$link) { die('Failed to con...
true
030d2486393905825531772cd75d35ea2d4c51ef
PHP
elhamdevelopment/HomeStore
/database/migrations/2018_08_06_082913_permissionGroup.php
UTF-8
429
2.515625
3
[]
no_license
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class PermissionGroup extends Migration { public function up() { Schema::create('permission_group', function (Blueprint $table) { $table->increments('id'); $table->char('title', 30); ...
true
4e2266aeb1b535585e98920dcd2eb6910d2e0c10
PHP
haderasker/safwa
/app/Models/Semester.php
UTF-8
1,199
2.6875
3
[ "MIT" ]
permissive
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Support\Facades\DB; use Illuminate\Database\Eloquent\SoftDeletes; class Semester extends Model { use SoftDeletes; protected $connection = 'mysql'; protected $table =...
true
5392849783c25a0c496e9968222d667765c81e9e
PHP
NorthwindComputers/soccer1
/cpadmin/multimedia.php
UTF-8
10,462
2.546875
3
[]
no_license
<?php /** * multimedia product admin page * * Version: 1.2 * Updated: 11 March 2014 * By: Richard Tuttle */ include_once("includes/header.php"); $ipAddr = $_SERVER['REMOTE_ADDR']; if(isset($_POST["btnSubmit"])) { $sql_reset = "DELETE FROM product_browser WHERE ProductID=$_POST[prodid]"; mysql_query($sql_r...
true
f36e47f54b26d9504f5ca6aac8d4504265480ecc
PHP
CACM/roadline
/app/Product.php
UTF-8
997
2.828125
3
[]
no_license
<?php namespace App; use App\Traits\HasAttributes; use App\Traits\HasCategories; use App\Traits\Sluggable; use Illuminate\Database\Eloquent\Model; class Product extends Model { use Sluggable, HasCategories,HasAttributes; /** * Defined table name * * @var string */ protected $table = 'products'; /** ...
true
08d6f8c689086f7a54b435480ba888c566c7278c
PHP
antarus/mystra-pve
/module/Bnet/src/Bnet/Diablo/Followers/FollowerRequest.php
UTF-8
343
2.515625
3
[]
no_license
<?php namespace Bnet\Diablo\Followers; use Bnet\Core\AbstractRequest; class FollowerRequest extends AbstractRequest { public function find($follower) { $data = $this->client->get('data/follower/'.$follower); if ($data === null) { return null; } return new Follower...
true
ec134f6b010774ff737457bfe3a2b66eeb9d4025
PHP
DomenikIrrgang/WeakLib
/backend/src/router/controller/GetAllUserController.php
UTF-8
770
2.734375
3
[]
no_license
<?php require_once "./router/controller/Controller.php"; require_once "./database/tables/UserTable.php"; class GetAllUserController implements Controller { public function request(Request $request, array $params): string { global $database; $userTable = new UserTable; if (count($params...
true
0ef81def726495d4c894d836a9ba4af6f2e6484c
PHP
miroc/bezpecnost.click
/app/Http/Controllers/QuizResultController.php
UTF-8
649
2.640625
3
[]
no_license
<?php namespace App\Http\Controllers; use App\Models\QuizResult; use Illuminate\Http\Request; class QuizResultController extends Controller { public function store(Request $request) { $validated = $request->validate([ 'email' => 'required|email|max:255', 'name' => 'required|st...
true
948645f078228eca01dfe6fc49aa716399791ce2
PHP
inceddy/everest-http
/src/Everest/Http/Requests/Request.php
UTF-8
5,011
2.890625
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); /* * This file is part of Everest. * * (c) 2017 Philipp Steingrebe <development@steingrebe.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Everest\Http\Requests; use Everest\Http\Col...
true
1303c2b3d1e8a93f17a5f2bae4d073d06bc76621
PHP
codertariq/tekmarks
/app/Http/Middleware/TekMarks.php
UTF-8
827
2.609375
3
[ "MIT" ]
permissive
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; //use Mint\Service\Repositories\InitRepository; use App\Repositories\Configuration\ConfigurationRepository; class TekMarks { protected $config; protected $repo; public function __construct( ConfigurationReposi...
true
2ea684088a434d7096dfc8f28bffc4f947ea83fb
PHP
Lemmings19/tradable-bits-php-api
/TradableBits.php
UTF-8
11,759
2.78125
3
[]
no_license
<?php /** * Allows for connection to Tradable Bits service. * * This class was adapted from: https://github.com/cosenary/Instagram-PHP-API * * API Documentation: http://tradablebits.com/developers * * @since 2016.05.02 * @version 1.0 * @license BSD http://www.opensource.org/licenses/bsd-license.php */ clas...
true
406a6e04ca1c91b8326f0a5dda38cfb4dfa35653
PHP
TYPO3-svn-archive/formhandlergui
/Classes/Component/Tx_FormhandlerGui_Dispatcher.php
UTF-8
3,205
2.546875
3
[]
no_license
<?php require_once (t3lib_extMgm::extPath('formhandlergui') . 'Classes/Component/Tx_FormhandlerGui_ComponentManager.php'); /* * * This script is part of the TYPO3 project - inspiring people to share! * * ...
true
c7b2ce985262df661121c0461a04dd877c576be1
PHP
shafeen/DynamicCleanBlog
/framework/controllers/PostController.php
UTF-8
2,736
2.8125
3
[]
no_license
<?php namespace framework\controllers; use framework\components\CleanRequestUrlParser; use framework\components\DbAccessor; use framework\controllers\ModuleController; use framework\views\NotFoundView; use framework\views\PostView; use framework\models\PostModel; require_once("controllers/ModuleController.php"); requ...
true
4cd221681e1404e7b90bac57c9e63dd61a39e2ff
PHP
wordpress-lab/seip-php
/hw/array function/built-in/array_diff_key.php
UTF-8
1,179
3.453125
3
[]
no_license
<h1>Compare the <span style="color:darkred">keys</span> of two arrays, and return the differences:</h1> <b>see this for more .. array_diff_assoc()</b> <h1>array_diff_key(array1,array2,array3...);</h1> <pre> <?php /** * Created by PhpStorm. * User: rayha * Date: 23-12-2016 * Time: 08:22 PM */ $a1=array("a"=>"red...
true
4e1968cc0d727ff92813cf679f1505f59cba80cb
PHP
Hywan/atoum-teamcity-extension
/src/extension.php
UTF-8
2,156
2.53125
3
[]
no_license
<?php declare(strict_types=1); namespace atoum\teamcity; use mageekguy\atoum; use mageekguy\atoum\observable; use mageekguy\atoum\writers; use mageekguy\atoum\runner; use mageekguy\atoum\test; class extension implements atoum\extension { protected $report = null; public function __construct(atoum\configura...
true
eabbee59a5ff7c7373d3d589c0f243bbf087d739
PHP
shofetim/Zend-Blog-Demo
/application/models/Post.php
UTF-8
3,069
2.796875
3
[]
no_license
<?php class Application_Model_Post extends Zend_Db_Table_Abstract { protected $_name = 'posts'; public function init() { $this->db = Zend_Registry::get('db'); require_once dirname(__FILE__) . '/../utils/Crypto.php'; } public function getAll() { //This is probably a different style then "normal"...
true
a002f8140335c9c5aed384bf2281951265e190b6
PHP
ProklUng/wp.custom.page.editor.bundle
/Services/Utils/CreateSchema.php
UTF-8
2,131
2.84375
3
[]
no_license
<?php namespace Prokl\WordpressCustomTableEditorBundle\Services\Utils; use wpdb; /** * Class CreateSchema * @package Prokl\WordpressCustomTableEditorBundle\Services\Utils * * @since 05.04.2021 */ class CreateSchema { /** * @var string $table Название таблицы. */ private $table; /** *...
true
24954974a97daec4837066cf9b34b71bcb0352ff
PHP
elbit98/gambling
/app/Traits/LinkTrait.php
UTF-8
374
2.671875
3
[ "MIT" ]
permissive
<?php namespace App\Traits; use App\Models\Link; use Illuminate\Support\Str; trait LinkTrait { /** * @return string */ public function linkGeneration() { $randomLink = Str::random(10); $link = Link::find($randomLink); if ($link) { return $this->linkGenerati...
true
e32a6cddc677a71d2d3ce2a6f34a0284c5513a81
PHP
lycan333/apteka
/backend/models/Apteka.php
UTF-8
1,434
2.53125
3
[ "BSD-3-Clause" ]
permissive
<?php namespace backend\models; use Yii; /** * This is the model class for table "apteka". * * @property int $id * @property string $nomi * @property string $manzili * @property int $meneger * * @property User $meneger0 * @property Buyurtma[] $buyurtmas */ class Apteka extends \yii\db\ActiveRecord { /*...
true
79bf02bba8faf3f4e7670577c6bdab5dc8bdb951
PHP
GemsTracker/MUtil
/src/MUtil/Markup/Renderer/Text/Url.php
UTF-8
1,442
2.9375
3
[]
no_license
<?php /** * * @package MUtil * @subpackage Markup * @author Matijs de Jong <mjong@magnafacta.nl> * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License */ /** * Makes sure the URL of a link is not lost when rendering Markup input * into text. * * @package MUtil * @subpackage M...
true
327282800d154f61bc020fc55b6c2dd91d095942
PHP
sha443/ORR
/user/admin/bll/bll.termoffer.php
UTF-8
3,790
2.765625
3
[]
no_license
<?php /** * TERM OFFER BUISENESS LOGIC LAYER * CONNECTS BETWEEN DATA ACCESS LAYER AND PRESENTATION LAYER */ require_once($_SERVER['DOCUMENT_ROOT'].'/se/includes/connect.php'); include_once($_SERVER['DOCUMENT_ROOT'].'/se/user/admin/dal/dal.termoffer.php'); // To activate the constructior crating an object. $bllTer...
true
8e90049ea4dc1c997b4c971f5703983cff81fb60
PHP
juansepu96/sigeco
/productos-excel.php
UTF-8
2,647
2.53125
3
[ "LicenseRef-scancode-other-permissive" ]
permissive
<?php require_once "pdo.php"; $GetProductos=$conexion->query("SELECT * FROM products ORDER BY name ASC"); header("Pragma: public"); header("Expires: 0"); $filename = "SiGeCo v1.0 - Productos Export-.xls"; header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=$filename");...
true
15f83a94216c145a846bd57ea8d29acf7474ec52
PHP
brewcitydjuke/ranger-clubhouse-api
/app/Models/AccessDocumentDelivery.php
UTF-8
3,149
2.578125
3
[ "Apache-2.0" ]
permissive
<?php namespace App\Models; use App\Models\ApiModel; use App\Traits\HasCompositePrimaryKey; class AccessDocumentDelivery extends ApiModel { use HasCompositePrimaryKey; protected $table = 'access_document_delivery'; protected $auditModel = true; protected $primaryKey = ['person_id', 'year']; /...
true
e0f3dd15d6ed00fe3ca925f4a71b68ecba7602ac
PHP
mostfiz/BuyerOrder
/src/Router.php
UTF-8
5,539
3.21875
3
[]
no_license
<?php namespace Core; use Core\Request; class Router { /** * The array of the routes. * * @var object */ protected $routes = []; /** * The current route details * * @var object */ private $route = null; /** * The current route path * * @va...
true
d71757bad3b319e59eebee357e790e25629205f9
PHP
php-webdriver/php-webdriver
/lib/WebDriverExpectedCondition.php
UTF-8
20,843
3.078125
3
[ "MIT" ]
permissive
<?php namespace Facebook\WebDriver; use Facebook\WebDriver\Exception\Internal\LogicException; use Facebook\WebDriver\Exception\NoSuchAlertException; use Facebook\WebDriver\Exception\NoSuchElementException; use Facebook\WebDriver\Exception\NoSuchFrameException; use Facebook\WebDriver\Exception\StaleElementReferenceExc...
true
c7ba044529129a5ec86767584c2d9de52439dc9f
PHP
esparratacus/bibliophp
/Model/Book.php
UTF-8
1,830
3.0625
3
[]
no_license
<?php include_once dirname(__FILE__) . '/AbstractEntity.php'; class Book extends AbstractEntity { protected $_allowedFields = array('id', 'title', 'author','edition','publisher','isbn','copies'); public function setTitle($title) { if (!is_string($title) || strlen($title) < 2 || strlen($title) > 6...
true
80dc26ad84c7413c16ee29c7c011bd58051b4c1c
PHP
plattformneun/marktstand
/src/Users/Producer.php
UTF-8
2,393
2.609375
3
[ "MIT" ]
permissive
<?php namespace Marktstand\Users; use Illuminate\Foundation\Auth\User; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Hash; use Marktstand\Access\Verifiable; use Marktstand\Company\HasCompany; use Marktstand\Company\HasContacts; use Marktstand\Events\UserCreated; use Marktstand\Payment\HasBankAc...
true
4b761d84b441491eb23b765a0373204441d48a9c
PHP
jneevan/plugin
/add.php
UTF-8
2,661
2.78125
3
[]
no_license
<?php include_once 'functions.php'; ?> <h3><a href="<?= $_SERVER['PHP_SELF'] ?>?page=gallery&c=all">Back to the list of galleries</a></h3> <?php if (!empty($_POST)) { $galleries = getAllGalleries(); if (count($galleries) != 0) {//If the list of galleries is not empty, then go by adding a new $gal_name = getGaller...
true
98ef2e78d8eda6903e2ff1784448f5cb41e68137
PHP
zhang-pecreation/e-B-a-y
/api/inc/base_mysql.php
UTF-8
3,144
2.8125
3
[]
no_license
<?php class base_mysql{ var $querynum = 0 ; //当前页面进程查询数据库的次数 var $dblink ; //数据库连接资 //链接数据 function __construct($mysql,$dbcharset='utf8',$pconnect=1 , $halt=true) { $mysqldb = array( 'driver' => 'mysql', 'host' => '192.168.1.15', 'port' => '3306', 'username...
true
9f5ac96d1d160e7cb1442496d6a2fe1f717e7683
PHP
ariaieboy/smsir-php
/src/Responses/SendResponse.php
UTF-8
499
2.578125
3
[ "MIT" ]
permissive
<?php namespace Amirbagh75\SMSIR\Responses; class SendResponse extends BaseResponse { /** * @var SentMessage[] */ public $sentMessages; /** * @var string */ public $batchKey; public function __construct(bool $isSuccessful, string $message, string $batchKey, array $sentMessage...
true
2d5bd2cadb68938ef00708717e3b8cc9f2fa40e0
PHP
ContentCoffee/Settings
/src/Form/DeleteForm.php
UTF-8
2,154
2.515625
3
[ "Unlicense" ]
permissive
<?php /** * @file * Contains \Drupal\settings\Form\DeleteForm */ namespace Drupal\settings\Form; use Drupal\Core\Form\ConfirmFormBase; use Drupal\Core\Form\FormStateInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\settings\Service\Settings; /** * Class DeleteForm * * @packag...
true
c6c20dc7c5d12424e005d050411298f5c70666c2
PHP
1408sheva/homeworks
/02-11/25.php
UTF-8
386
3.203125
3
[]
no_license
<?php $arr = array(); for ($k = 0; $k < 10; $k++){ $arr[$k] = rand(); } print_r($arr); $max = max($arr); echo "<br>$max<br>"; $min = min($arr); echo $min.'<br>'; foreach ($arr as $k => $v){ if ($v == $min){ $kmin = $k; }elseif($v == $max){ $kmax = $k; } } list($arr[$kmin], $arr[$kmax...
true
92183419643c890560bbff6fedbb8badd5d11a42
PHP
zipofar/rtrade
/app/protected/controllers/SiteController.php
UTF-8
2,768
2.75
3
[]
no_license
<?php class SiteController extends Controller { const PER_PAGE = 10; /** * Declares class-based actions. */ public function actions() { return array( // captcha action renders the CAPTCHA image displayed on the contact page 'captcha' => [ 'clas...
true
0a20fe9288066d568bba63cc3a1671b0f0986111
PHP
xtuser777/representacoes-php
/src/model/StatusPedido.php
UTF-8
8,455
3.03125
3
[]
no_license
<?php namespace scr\model; use mysqli_result; use mysqli_stmt; use scr\util\Banco; class StatusPedido { /** @var Status|null */ private $status; /** @var string */ private $data; /** @var string */ private $hora; /** @var string */ private $observacoes; /** @var bool */ ...
true
119b106f61aa62af80f1d96e3bbd229ac38ee65f
PHP
KNJ/application-server-environment-configuration
/tests/AsecTest.php
UTF-8
7,746
2.578125
3
[ "MIT" ]
permissive
<?php namespace Wazly; class ASECTest extends \PHPUnit\Framework\TestCase { public function setUp() { ASEC::clearInstance(); ASEC::configure([ 'filename' => '.asec.test.json', ]); } public function testCannotFindFile() { $filename = '.asec.not.found.jso...
true
dda1c64fd31d7de412f64360dd43c36374999c2c
PHP
milan011/erpwm
/config/permission.php
UTF-8
3,185
2.765625
3
[ "MIT" ]
permissive
<?php return [ 'models' => [ /* * 当使用这个包中的 “HasRoles” 特性时,我们需要知道应该 * 使用哪个 Eloquent 模型来获取您的权限。 * 当然,它通常只是“权限(Permission)”模型,你也可以使用任何你喜欢的模型。 * * 您使用的权限模型必须实现 * `Spatie\Permission\Contracts\Permission` 契约。 */ 'permission' => Spatie\Pe...
true
7bda9dd943dfc0e8443a56b4fb06b11245aa1e03
PHP
Harryjeffs/forum
/inc/functions/new_thread.php
UTF-8
1,961
2.5625
3
[ "Apache-2.0", "MIT" ]
permissive
<?php /** * Created by PhpStorm. * User: JEFFH14 * Date: 20/01/2017 * Time: 11:24 AM */ include_once('../../models/config.php'); $content = str_replace('<br>', "\n",strip_tags($_POST['threadContents'], "<br>")); $thread_title = strip_tags($_POST['threadTitle']); $sub_category_id = $_P...
true
b8828cd988aab25b1fe87fdab5c7314ad5e253ca
PHP
brolaugh/hacklog
/app/Core/Session.php
UTF-8
2,417
3.203125
3
[]
no_license
<?php namespace HackLog\Core; class Session { /** * Tries to get the value of the key requested returns false on fail * There way to see the difference between a value being false and key not existing * @param string $key * @return mixed | bool */ public static function get(string $ke...
true
0da7cef3e977b3486cad1c2a7a798aa23ab5fdbe
PHP
pentiumd2015/atomcms
/modules/core/entity/field/scalar/IntegerField.php
UTF-8
1,766
2.703125
3
[]
no_license
<? namespace Entity\Field\Scalar; use Helpers\CArrayHelper; use Entity\Field\Renderer\NumericRenderer; class IntegerField extends Field{ protected $info = [ "title" => "Целое число" ]; public function getRenderer(){ return new NumericRenderer($this); } public function fil...
true
ff3f4921f1c349a0a13f38524ba6d3009e3c6de5
PHP
iesmail3/PatientCare
/php/saveUser.php
UTF-8
2,590
2.921875
3
[ "MIT" ]
permissive
<?php /*************************************************************************************************** * File: Save User * * Author(s): Sean Malone * * Description: This script is a specialized version of query.php. It needs to hash the password. ********************************************************...
true
2851d058a212d3811fea3677914915bf90adee81
PHP
chupilococo/steelwood
/acciones/registrar.php
UTF-8
2,681
2.875
3
[]
no_license
<?php // Iniciamos la sesión. session_start(); // Requerimos la base de datos. require 'conexion.php'; require '../libraries/data-usuarios.php'; // Capturamos los datos del form. $email = $_POST['email']; $password = $_POST['password']; $cpassword = $_POST['cpassword']; $nombre = $_POST['nombre']; $apelli...
true
b01a1663236db65f5d2b24529ffe26d437954ea9
PHP
BenjaminGuV/logica-estructura-datos
/invertir-palabra/index.php
UTF-8
903
3.671875
4
[ "Apache-2.0" ]
permissive
<?php $frase = "Cadena a invertir solo una palabra"; $array_frase = explode(" ", $frase); $contador_frase = count( $array_frase ); function invertirFrase( $array_frase, $contador_frase ) { $numero_aleatorio = rand( 0, $contador_frase - 1 ); if ( !esPalabra( $array_frase[ $numero_aleatorio...
true
ff3944e433a7d4e6b28f508a8ce5f7b096e03776
PHP
wekiwork/moorexa-core
/Adapter/Configuration/Interfaces/URLInterface.php
UTF-8
433
2.859375
3
[]
no_license
<?php namespace Lightroom\Adapter\Configuration\Interfaces; interface URLInterface { /** * @method URLInterface set current url * @param string $url */ public function setUrl(string $url); /** * @method URLInterface get current url */ public function getUrl() : string; /*...
true
c9a23084884b281e3bc8170ac3b9619edb3ffa1b
PHP
aobao/aobao
/aobaoweb/libs/code.class.php
UTF-8
1,931
2.8125
3
[]
no_license
<?php class code { public $width = 120; public $heigth = 42; public $font = '23456789qwertyuopasdghkzxcvbnmQWERYUPASDFGHKZXCVBNM'; public $img; public $str; function __construct($path) { $this->img = imagecreatetruecolor($this->width, $this->heigth); $this->path=$path; } ...
true
4a5ff46369c984017b63b559610484b553aba10a
PHP
morgangiraud/ecvd-php
/finaltest/rouksana/chat/chat.php
UTF-8
1,581
2.59375
3
[ "MIT" ]
permissive
<?php require_once 'session.php'; require_once 'functions.php'; $error = ""; if($_SERVER['REQUEST_METHOD'] === "POST"){ ECVChat\DB\addMessage($_SESSION['id'], $_POST['message']); }else{ $error = '<p>Something went wrong...</p>'; } $datas = ECVChat\DB\getLastMessage(); include 'header.php'; ...
true
454a1f3ca4a1db14704d35b88fb6f90f236a1573
PHP
jcable/ws-audibility
/audibility/report_template_functions.php
UTF-8
45,067
2.703125
3
[]
no_license
<?php function make_detail_url($language, $ta, $start, $freeze, $score, $target, $month_date) { $url = "detail.php?ta=$ta&language=$language&date=$month_date"; $url .= "&start=$start&target=".$target."&score=$score"; if($freeze!="") $url .="&freeze=$freeze"; return $url;...
true
4cc823e25d48d18c269758e6e688b464a6d64f15
PHP
dextercampos/easy-monorepo
/packages/EasyErrorHandler/src/Builders/StatusCodeBuilder.php
UTF-8
1,179
2.8125
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace EonX\EasyErrorHandler\Builders; use EonX\EasyErrorHandler\Interfaces\Exceptions\StatusCodeAwareExceptionInterface; use Throwable; final class StatusCodeBuilder extends AbstractErrorResponseBuilder { /** * @var int[] */ private $exceptionToStatusCode; /...
true
56dc0b79b3ee1085a13c197448055abd880dda1b
PHP
kemalkanok/generators
/src/Job/Core/GenerateJob.php
UTF-8
1,562
2.671875
3
[]
no_license
<?php namespace Kanok\Generators\Job\Core; use App\Jobs\Job; use Kanok\Generators\Contracts\CreateJobContract; /** * Created by PhpStorm. * User: kemalkanok * Date: 20/06/15 * Time: 11:07 */ class GenerateJob extends Job implements CreateJobContract { /** * Create a new job instance. * */ ...
true
e33ee35cc7542f3d047de1a22c73faf4c2e8b18e
PHP
zxyzoe/PHP_Study
/demo4-1.php
UTF-8
2,239
3.59375
4
[]
no_license
<?php //操纵数组的函数 $array1 = array( '编号' =>1 , '姓名'=>"张三" , '公司'=>"A公司", '地址'=>"北京市", '电话'=>"12315" ); //1.array_values() 数组值的数组 print_r(array_values($array1)); //2.array_keys() 数组键的数组 print_r(array_keys($array1)); //2.1 print_r(array_keys($array1,"张三")); //2.2 $array2=array(10,20,3...
true
90331e7934b02b3217684c043ef4bc2dfec3548b
PHP
muemajk/carservice
/app/Http/Controllers/clientcontroller.php
UTF-8
2,488
2.71875
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\client; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class clientcontroller extends Controller { //function to create a new client. 'id','user_id','name','phone','location' public function create(Request $request){ $validateclient= $requ...
true
09b701f6b8007fd6fafde4eeda98dc72d41ac18b
PHP
Goodup302/twitter-dut
/app/Controlleur.php
UTF-8
361
2.5625
3
[]
no_license
<?php namespace App; class Controlleur { const VIEWS_FOLDER = ROOT . "/view/"; public function render(string $view) { $file = self::VIEWS_FOLDER . "$view.php"; ob_start(); require $file; file_get_contents($file); $content = ob_get_clean(); require s...
true
cfc1a2acb31b43aea3e81b694aab9d41e44c5ccd
PHP
Arghnews/webApp
/static/common.php
UTF-8
6,884
3.203125
3
[]
no_license
<?php const SESSION_START_PATH = "/var/www/html/backend/sessionStart.php"; const SESSION_DESTROY_PATH = "/var/www/html/backend/sessionDestroy.php"; // set true for debug print outs -- may break header redirection pages remember! if ( !isset($GLOBALS['debug']) ) { $GLOBALS['debug'] = false; } // print stuff to page ...
true
e43450477a661c85a89c5af9a4f7120cd3b89497
PHP
Skrip42/NodeProcessor
/Node/Managers/BeginNode.php
UTF-8
1,269
2.5625
3
[ "MIT" ]
permissive
<?php namespace Skrip42\NodeProcessor\Node\Managers; use Skrip42\NodeProcessor\Node\NodeAbstract; use Skrip42\NodeProcessor\Exception\NodeException; /** * Begin node * * ┌───────────────┐ * │ ├─ out1 * │ │ * │ │ * │ ├─ out2 * │ Begin...
true
38326596b96d5885e55159b2af5bc7d584210486
PHP
sadlowgsh/belajar-php-logging
/app/Controller/HomeController.php
UTF-8
917
2.9375
3
[]
no_license
<?php namespace ProgrammerZamanNow\Belajar\PHP\MVC\Controller; use ProgrammerZamanNow\Belajar\PHP\MVC\App\View; class HomeController { function index(): void { $model = [ "title" => "Belajar PHP MVC", "content" => "Selamat Belajar PHP MVC dari Programmer Zaman Now" ];...
true
59242ca43028eab2610a00cf4432632b36938f6b
PHP
abarthakur/wp_doctor
/partials/form-appointment.php
UTF-8
2,055
2.53125
3
[]
no_license
<?php /* -------------------------------------------------------------------- Contact Form -------------------------------------------------------------------- */ require_once get_stylesheet_directory() . "/includes/utils.php"; $container_classes=""; if ($args && array_key_exists("container_classes",$args) && $args["...
true
e0800e725f2e21fc01336e31f3e3efecf5ad1325
PHP
ArekPastuszka/coyote
/app/Http/Resources/FirmFormResource.php
UTF-8
1,318
2.59375
3
[ "MIT" ]
permissive
<?php namespace Coyote\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class FirmFormResource extends JsonResource { /** * @param \Illuminate\Http\Request $request * @return array * @throws \Exception */ public function toArray($request) { $data = array_except...
true
90d7cc2c916ffe448b6df5fe39bcef08d308402b
PHP
Shoperti/Payme
/src/Gateways/Conekta/Webhooks.php
UTF-8
2,158
2.796875
3
[ "MIT" ]
permissive
<?php namespace Shoperti\PayMe\Gateways\Conekta; use InvalidArgumentException; use Shoperti\PayMe\Contracts\WebhookInterface; use Shoperti\PayMe\Gateways\AbstractApi; use Shoperti\PayMe\Support\Arr; /** * This is the conekta events class. * * @author Joseph Cohen <joseph.cohen@dinkbit.com> */ class Webhooks exte...
true
6e75abab7da913f47276ad262b31149bfac008af
PHP
paslandau/docker-php-tutorial
/app/Commands/SetupDbCommand.php
UTF-8
1,197
2.765625
3
[]
no_license
<?php namespace App\Commands; use Illuminate\Console\Command; use Illuminate\Database\Console\Migrations\MigrateCommand; use Illuminate\Database\Console\WipeCommand; use Symfony\Component\Console\Input\InputOption; class SetupDbCommand extends Command { /** * @var string */ protected $name = "app:s...
true
149ba8398878705a562d63a6d71671d757d822e0
PHP
SeifertDaniel/fuellogger
/Application/Model/NotifyFilters/PriceInLowest.php
UTF-8
3,593
2.734375
3
[]
no_license
<?php declare(strict_types=1); namespace Daniels\FuelLogger\Application\Model\NotifyFilters; use Daniels\FuelLogger\Application\Model\DBConnection; use Daniels\FuelLogger\Application\Model\Entities\Price; use Daniels\FuelLogger\Application\Model\Entities\Station; use Daniels\FuelLogger\Application\Model\NotifyFilter...
true
abe9051d6ccb22c9c31bcfaf778873b284fec46d
PHP
SAMIT-D-MANVAR/buspass
/register.php
UTF-8
4,426
2.578125
3
[]
no_license
<!------------------------------ BUS FORM VALIDATION --------------------------------> <?php //first check if emalid is already present in student table to verify if he has a bus pass //if he does have a bus pass display that he does else display Successfully Booked Bus Pass session_start(); $email=$_POST[...
true
e20355ba5ae3a3af090f444d2603697a8c708291
PHP
marcosmathias/zapvupt
/quantidade_produto.php
UTF-8
1,298
2.578125
3
[]
no_license
<?php include('session.php'); $mysqli = new mysqli("localhost", "root", "", "zapvupt"); $error=''; // Variable To Store Error Message // Define $username and $password $username=$login_session; $quantidade_produto1=$_POST['quantidade_produto1']; // Establishing Connection with Server by passing server_na...
true
9250e692abba41fa795b2b70dff63b0811eec523
PHP
gregorybesson/magento-installer
/ScriptHandler.php
UTF-8
10,892
2.65625
3
[]
no_license
<?php /** * @author Manuele Menozzi <mmenozzi@webgriffe.com> */ namespace Webgriffe\MagentoInstaller; use Composer\IO\IOInterface; use Composer\Script\Event; use Symfony\Component\Process\Process; use Symfony\Component\Yaml\Yaml; class ScriptHandler { const DATABASE_CHARACTER_SET = 'utf8'; const DATABASE...
true
73a2060464e92cfec4483644d6acb251bdb4b099
PHP
ixuanwu/news_manage
/model/column.model.php
UTF-8
3,070
3.109375
3
[]
no_license
<?php /** * 类名:ColumnModel * 功能:新闻类别栏目管理 * 作者:蒋和超 */ class ColumnModel{ static $errCode; static $errMsg; private static $_instance; private static $table; private static $dbConn; private $is_count = false; public function __construct(){ self::$table = "news_co...
true