About 41 results: "php strtolower repo:eyeswebcrea/espace-couture-sittler.fr"
Page 1 of 3
Filter Results
Sources
Languages
Filter Results
Try Search On


adminer.php in espace-couture-sittler.fr https://github.com/eyeswebcrea/espace-couture-sittler.fr.git | 1409 lines | PHP
  1. preg_match("(^$ye(,\\s*$ye)*\$)i",$Nb);}function
  2. is_url($N){$Cb='[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])';return(preg_match("~^(https?)://($Cb?\\.)+$Cb(:\\d+)?(/.*)?(\\?.*)?(#.*)?\$~i",$N,$_)?strtolower($_[1]):"");}function
  3. vsprintf($tc,$ya);}function
  4. switch_lang(){global$ca,$gd;echo"<form action='' method='post'>\n<div id='lang'>",lang(8).": ".html_select("lang",$gd,$ca,"this.form.submit();")," <input type='submit' value='".lang(9)."' class='hidden'>\n","<input type='hidden' name='token' value='$_SESSION[token]'>\n";echo"</div>\n</form>\n";}if(isset($_POST["lang"])&&$_SESSION["token"]==$_POST["token"]){cookie("adminer_lang",$_POST["lang"]);$_SESSION["lang"]=$_POST["lang"];$_SESSION["translations"]=array();redirect(remove_from_uri());}$ca="en";if(isset($gd[$_COOKIE["adminer_lang"]])){cookie("adminer_lang",$_COOKIE["adminer_lang"]);$ca=$_COOKIE["adminer_lang"];}elseif(isset($gd[$_SESSION["lang"]]))$ca=$_SESSION["lang"];else{$pa=array();preg_match_all('~([-a-z]+)(;q=([0-9.]+))?~',str_replace("_","-",strtolower($_SERVER["HTTP_ACCEPT_LANGUAGE"])),$ud,PREG_SET_ORDER);foreach($ud
  5. fk_support($P){global$h;return!$h->result("SELECT sqlite_compileoption_used('OMIT_FOREIGN_KEY')");}function
  6. fields($O){$H=array();foreach(get_rows("PRAGMA table_info(".table($O).")")as$I){$S=strtolower($I["type"]);$wb=$I["dflt_value"];$H[$I["name"]]=array("field"=>$I["name"],"type"=>(eregi("int",$S)?"integer":(eregi("char|clob|text",$S)?"text":(eregi("blob",$S)?"blob":(eregi("real|floa|doub",$S)?"real":"numeric")))),"full_type"=>$S,"default"=>(ereg("'(.*)'",$wb,$_)?str_replace("''","'",$_[1]):($wb=="NULL"?null:$wb)),"null"=>!$I["notnull"],"auto_increment"=>eregi('^integer$',$S)&&$I["pk"],"privileges"=>array("select"=>1,"insert"=>1,"update"=>1),"primary"=>$I["pk"],);}return$H;}function
  7. true;}function
  8. fields($O){$H=array();foreach(get_rows("SELECT * FROM all_tab_columns WHERE table_name = ".q($O)." ORDER BY column_id")as$I){$S=$I["DATA_TYPE"];$x="$I[DATA_PRECISION],$I[DATA_SCALE]";if($x==",")$x=$I["DATA_LENGTH"];$H[$I["COLUMN_NAME"]]=array("field"=>$I["COLUMN_NAME"],"full_type"=>$S.($x?"($x)":""),"type"=>strtolower($S),"length"=>$x,"default"=>$I["DATA_DEFAULT"],"null"=>($I["NULLABLE"]=="Y"),"privileges"=>array("insert"=>1,"select"=>1,"update"=>1),);}return$H;}function
  9. routine($A,$S){global$h,$Ub,$Qc,$T;$va=array("bool","boolean","integer","double precision","real","dec","numeric","fixed","national char","national varchar");$ng="((".implode("|",array_merge(array_keys($T),$va)).")\\b(?:\\s*\\(((?:[^'\")]*|$Ub)+)\\))?\\s*(zerofill\\s*)?(unsigned(?:\\s+zerofill)?)?)(?:\\s*(?:CHARSET|CHARACTER\\s+SET)\\s*['\"]?([^'\"\\s]+)['\"]?)?";$ye="\\s*(".($S=="FUNCTION"?"":$Qc).")?\\s*(?:`((?:[^`]|``)*)`\\s*|\\b(\\S+)\\s+)$ng";$lb=$h->result("SHOW CREATE $S ".idf_escape($A),2);preg_match("~\\(((?:$ye\\s*,?)*)\\)\\s*".($S=="FUNCTION"?"RETURNS\\s+$ng\\s+":"")."(.*)~is",$lb,$_);$n=array();preg_match_all("~$ye\\s*,?~is",$_[1],$ud,PREG_SET_ORDER);foreach($ud
  10. as$qe){$A=str_replace("``","`",$qe[2]).$qe[3];$n[]=array("field"=>$A,"type"=>strtolower($qe[5]),"length"=>preg_replace_callback("~$Ub~s",'normalize_enum',$qe[6]),"unsigned"=>strtolower(preg_replace('~\\s+~',' ',trim("$qe[8] $qe[7]"))),"null"=>1,"full_type"=>$qe[4],"inout"=>strtoupper($qe[1]),"collation"=>strtolower($qe[9]),);}if($S!="FUNCTION")return
  11. echo"<p>$We";}page_footer("db");if($j)echo"<script type='text/javascript'>ajaxSetHtml('".js_escape(ME)."script=connect');</script>\n";}if(isset($_GET["status"]))$_GET["variables"]=$_GET["status"];if(!(DB!=""?$h->select_db(DB):isset($_GET["sql"])||isset($_GET["dump"])||isset($_GET["database"])||isset($_GET["processlist"])||isset($_GET["privileges"])||isset($_GET["user"])||isset($_GET["variables"])||$_GET["script"]=="connect"||$_GET["script"]=="kill")){if(DB!=""||$_GET["refresh"]){restart_session();set_session("dbs",null);}connect_error();exit;}if(support("scheme")&&DB!=""&&$_GET["ns"]!==""){if(!isset($_GET["ns"]))redirect(preg_replace('~ns=[^&]*&~','',ME)."ns=".get_schema());if(!set_schema($_GET["ns"])){page_header(lang(82).": ".h($_GET["ns"]),lang(83),true);page_footer("ns");exit;}}function
  12. select($G,$i=null,$Ic="",$he=array()){$pd=array();$u=array();$f=array();$Ka=array();$T=array();$H=array();odd('');for($q=0;$I=$G->fetch_row();$q++){if(!$q){echo"<table cellspacing='0' class='nowrap'>\n","<thead><tr>";for($Yc=0;$Yc<count($I);$Yc++){$m=$G->fetch_field();$A=$m->name;$ge=$m->orgtable;$fe=$m->orgname;$H[$m->table]=$ge;if($Ic)$pd[$Yc]=($A=="table"?"table=":($A=="possible_keys"?"indexes=":null));elseif($ge!=""){if(!isset($u[$ge])){$u[$ge]=array();foreach(indexes($ge,$i)as$t){if($t["type"]=="PRIMARY"){$u[$ge]=array_flip($t["columns"]);break;}}$f[$ge]=$u[$ge];}if(isset($f[$ge][$fe])){unset($f[$ge][$fe]);$u[$ge][$fe]=$Yc;$pd[$Yc]=$ge;}}if($m->charsetnr==63)$Ka[$Yc]=true;$T[$Yc]=$m->type;$A=h($A);echo"<th".($ge!=""||$m->name!=$fe?" title='".h(($ge!=""?"$ge.":"").$fe)."'":"").">".($Ic?"<a href='$Ic".strtolower($A)."' target='_blank' rel='noreferrer'>$A</a>":$A);}echo"</thead>\n";}echo"<tr".odd().">";foreach($I
  13. tar_file($mc,$hb){$H=pack("a100a8a8a8a12a12",$mc,644,0,0,decoct(strlen($hb)),decoct(time()));$Sa=8*32;for($q=0;$q<strlen($H);$q++)$Sa+=ord($H[$q]);$H.=sprintf("%06o",$Sa)."\0 ";return$H.str_repeat("\0",512-strlen($H)).$hb.str_repeat("\0",511-(strlen($hb)+511)%512);}function
  14. ini_bytes($Pc){$W=ini_get($Pc);switch(strtolower(substr($W,-1))){case'g':$W*=1024;case'm':$W*=1024;case'k':$W*=1024;}return$W;}$Wd="RESTRICT|NO ACTION|CASCADE|SET NULL|SET DEFAULT";$Ub="'(?:''|[^'\\\\]|\\\\.)*+'";$Qc="IN|OUT|INOUT";if(isset($_GET["select"])&&($_POST["edit"]||$_POST["clone"])&&!$_POST["save"])$_GET["edit"]=$_GET["select"];if(isset($_GET["callf"]))$_GET["call"]=$_GET["callf"];if(isset($_GET["function"]))$_GET["procedure"]=$_GET["function"];if(isset($_GET["download"])){$a=$_GET["download"];$n=fields($a);header("Content-Type: application/octet-stream");header("Content-Disposition: attachment; filename=".friendly_url("$a-".implode("_",$_GET["where"])).".".friendly_url($_GET["field"]));echo$h->result("SELECT".limit(idf_escape($_GET["field"])." FROM ".table($a)," WHERE ".where($_GET,$n),1));exit;}elseif(isset($_GET["table"])){$a=$_GET["table"];$n=fields($a);if(!$n)$l=error();$P=($n?table_status($a):array());page_header(($n&&is_view($P)?lang(101):lang(102)).": ".h($a),$l);$b->selectLinks($P);$cb=$P["Comment"];if($cb!="")echo"<p>".lang(96).": ".h($cb)."\n";if($n){echo"<table cellspacing='0'>\n","<thead><tr><th>".lang(103)."<td>".lang(91).(support("comment")?"<td>".lang(96):"")."</thead>\n";foreach($n
















wrapper.php in espace-couture-sittler.fr https://github.com/eyeswebcrea/espace-couture-sittler.fr.git | 29 lines | PHP
  1. 		
  2. 			header('Content-Type: '.$mime[strtolower($r[1])]);

connect_sql.php in espace-couture-sittler.fr https://github.com/eyeswebcrea/espace-couture-sittler.fr.git | 359 lines | PHP
  1. 
                        
  2. 	$serveur = !is_string($serveur) ? '' : strtolower($serveur);

Back to Top