php-code.me Report : Visit Site


  • Ranking Alexa Global: # 7,905,298

    Server:nginx...

    The main IP address: 51.255.18.188,Your server United Kingdom,London ISP:UK Government Department for Work and Pensions  TLD:me CountryCode:GB

    The description :html,css,javascript,dom,jquery,php,sql,xml,python,bootstrap,web,w3css,w3c,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c...

    This report updates in 05-Jul-2019

Technical data of the php-code.me


Geo IP provides you such as latitude, longitude and ISP (Internet Service Provider) etc. informations. Our GeoIP service found where is host php-code.me. Currently, hosted in United Kingdom and its service provider is UK Government Department for Work and Pensions .

Latitude: 51.508529663086
Longitude: -0.12574000656605
Country: United Kingdom (GB)
City: London
Region: England
ISP: UK Government Department for Work and Pensions

the related websites

HTTP Header Analysis


HTTP Header information is a part of HTTP protocol that a user's browser sends to called nginx containing the details of what the browser wants and will accept back from the web server.

Content-Length:33106
Content-Encoding:gzip
Accept-Ranges:bytes
Vary:Accept-Encoding
Keep-Alive:timeout=60
Server:nginx
Last-Modified:Thu, 04 Jul 2019 18:00:49 GMT
Connection:keep-alive
ETag:"239e3-58cdec2009640-gzip"
Date:Thu, 04 Jul 2019 18:00:50 GMT
Content-Type:text/html; charset=UTF-8

DNS

soa:ben.ns.cloudflare.com. dns.cloudflare.com. 2031202588 10000 2400 604800 3600
txt:"ca3-5f14574972a84a1c8c32814b1b4525f2"
ns:ben.ns.cloudflare.com.
vida.ns.cloudflare.com.
ipv4:IP:51.255.18.188
ASN:16276
OWNER:OVH, FR
Country:FR

HtmlToText

news php file upload limit size & file type | php session | php arrays | php all arrays | get the flip side with index. : array index array ruby | get the julian day (days from january 1, 4713 b.c., starting from 0) with the jd instance method : julian date ruby | php-code online web tutorials menu home php ruby perl css javascript about copyright php file upload limit size & file type june 9, 2019 html form <!doctype html> <html> <body> <form action="upload.php" method="post" enctype="multipart/form-data"> select image to upload: <input type="file" name="filetoupload" id="filetoupload"> <input type="submit" value="upload image" name="submit"> </form> </body> </html> upload.php <?php $target_dir = "uploads/"; $target_file = $target_dir . basename($_files["filetoupload"]["name"]); $uploadok = 1; $imagefiletype = strtolower(pathinfo($target_file,pathinfo_extension)); // check if image file is a actual image or fake image if(isset($_post["submit"])) { $check = getimagesize($_files["filetoupload"]["tmp_name"]); if($check !== false) { echo "file is an image - " . $check["mime"] . "."; $uploadok = 1; } else { echo "file is not an image."; $uploadok = 0; } } // check if file already exists if (file_exists($target_file)) { echo "sorry, file already exists."; $uploadok = 0; } // check file size if ($_files["filetoupload"]["size"] > 500000) { echo "sorry, your file is too large."; $uploadok = 0; } // allow certain file formats if($imagefiletype != "jpg" && $imagefiletype != "png" && $imagefiletype != "jpeg" && $imagefiletype != "gif" ) { echo "sorry, only jpg, jpeg, png & gif files are allowed."; $uploadok = 0; } // check if $uploadok is set to 0 by an error if ($uploadok == 0) { echo "sorry, your file was not uploaded."; // if everything is ok, try to upload file } else { if (move_uploaded_file($_files["filetoupload"]["tmp_name"], $target_file)) { echo "the file ". basename( $_files["filetoupload"]["name"]). " has been uploaded."; } else { echo "sorry, there was an error uploading your file."; } } ?> php session example 1 <?php // start the session session_start(); ?> <!doctype html> <html> <body> <?php // set session variables $_session["favcolor"] = "green"; $_session["favanimal"] = "cat"; echo "session variables are set."; ?> </body> </html> example 2 <?php session_start(); ?> <!doctype html> <html> <body> <?php // echo session variables that were set on previous page echo "favorite color is " . $_session["favcolor"] . ".<br>"; echo "favorite animal is " . $_session["favanimal"] . "."; ?> </body> </html> example 3 <?php session_start(); ?> <!doctype html> <html> <body> <?php print_r($_session); ?> </body> </html> example 4 <?php session_start(); ?> <!doctype html> <html> <body> <?php // remove all session variables session_unset(); // destroy the session session_destroy(); ?> </body> </html> example 5 <?php session_start(); ?> <!doctype html> <html> <body> <?php // to change a session variable, just overwrite it $_session["favcolor"] = "yellow"; print_r($_session); ?> </body> </html> example 6 <?php if( !isset($_session['last_access']) || (time() - $_session['last_access']) > 60 ) $_session['last_access'] = time(); ?> example 7 creating new session ========================== <?php session_start(); /*session is started if you don't write this line can't use $_session global variable*/ $_session["newsession"]=$value; ?> getting session ========================== <?php session_start(); /*session is started if you don't write this line can't use $_session global variable*/ $_session["newsession"]=$value; /*session created*/ echo $_session["newsession"]; /*session was getting*/ ?> updating session ========================== <?php session_start(); /*session is started if you don't write this line can't use $_session global variable*/ $_session["newsession"]=$value; /*it is my new session*/ $_session["newsession"]=$updatedvalue; /*session updated*/ ?> deleting session ========================== <?php session_start(); /*session is started if you don't write this line can't use $_session global variable*/ $_session["newsession"]=$value; unset($_session["newsession"]); /*session deleted. if you try using this you've got an error*/ ?> example 8 <?php global $wppa; $wppa = array( 'elm1' => 'value1', 'elm2' => 'value2', ....etc...); if ( ! session_id() ) @ session_start(); if ( ! isset($_session['wppa']) $_session['wppa'] = array(); if ( ! isset($_session['wppa']['album']) ) $_session['wppa']['album'] = array(); $_session['wppa']['album'][1234] = 1; $wppa['elm1'] = 'newvalue1'; print_r($_session); ?> example 9 <?php session_start(); $_session['test'] = 42; $test = 43; echo $_session['test']; ?> example 10 <?php if (ini_get('register_globals')) { foreach ($_session as $key=>$value) { if (isset($globals[$key])) unset($globals[$key]); } } ?> example 11 <?php if (isset($_session['nonce']) && !empty($_session['nonce'])){ error_log("nonce_ not empty"); } else $_session['nonce'] = function_rand_str(32); ?> example 12 <?php $_session[1][1] = 'cake'; // fails $_session['v1'][1] = 'cake'; // works ?> example 13 <?php $dbhost = "localhost"; $dbname = "new"; $dbuser = "root"; $dbpass = ""; $conn = new pdo("mysql:host=$dbhost;dbname=$dbname", $dbuser, $dbpass); session_start(); $user_check=$_session['login_user']; $result = $conn->prepare("select * from login where user_email = :user_check"); $result->execute(array(":usercheck"=>$user_check)); $row = $result->fetch(pdo::fetch_assoc); $login_session =$row['user_email']; $user_id =$row['log_id']; $user_passwords = $row['user_pass']; if(!isset($login_session)) { $conn = null; header('location: www.fb.com'); } ?> php arrays june 8, 2019 example 1 <?php /* first method to create an associate array. */ $student_one = array("maths"=>95, "physics"=>90, "chemistry"=>96, "english"=>93, "computer"=>98); /* second method to create an associate array. */ $student_two["maths"] = 95; $student_two["physics"] = 90; $student_two["chemistry"] = 96; $student_two["english"] = 93; $student_two["computer"] = 98; /* accessing the elements directly */ echo "marks for student one is:\n"; echo "maths:" . $student_two["maths"], "\n"; echo "physics:" . $student_two["physics"], "\n"; echo "chemistry:" . $student_two["chemistry"], "\n"; echo "english:" . $student_one["english"], "\n"; echo "computer:" . $student_one["computer"], "\n"; ?> output: marks for student one is: maths:95 physics:90 chemistry:96 english:93 computer:98 example 2 <?php /* creating an associative array */ $student_one = array("maths"=>95, "physics"=>90, "chemistry"=>96, "english"=>93, "computer"=>98); /* looping through an array using foreach */ echo "looping using foreach: \n"; foreach ($student_one as $subject => $marks){ echo "student one got ".$marks." in ".$subject."\n"; } /* looping through an array using for */ echo "\nlooping using for: \n"; $subject = array_keys($student_one); $marks = count($student_one); for($i=0; $i < $marks; ++$i) { echo $subject[$i] . ' ' . $student_one[$subject[$i]] . "\n"; } ?> output: looping using foreach: student one got 95 in maths student one got 90 in physics student one got 96 in chemistry student one got 93 in english student one got 98 in computer looping using for: maths 95 physics 90 chemistry 96 english 93 computer 98 example 3 <?php /* creating an associative array of mixed types */ $arr["xyz"] = 95; $arr[100] = "abc"; $arr[11.25] = 100; $arr["abc"] = "pqr"; /* looping through an array using foreach */ foreach ($arr as $key => $val){ echo $key."==>".$val."\n"; } ?> output: xyz==&

URL analysis for php-code.me


https://php-code.me/
https://php-code.me/php/php-arrays-2/
https://php-code.me/page/2/
https://php-code.me/category/perl/
https://php-code.me/about-copyright/
https://php-code.me/php/php-file-upload-limit-size-file-type/
https://php-code.me/ruby/get-the-flip-side-with-index-array-index-array-ruby/
https://php-code.me/php/php-session/
https://php-code.me/category/javascript/
https://php-code.me/page/1382/
https://php-code.me/category/css/
https://php-code.me/ruby/get-the-julian-day-days-from-january-1-4713-b-c-starting-from-0-with-the-jd-instance-method-julian-date-ruby/
https://php-code.me/category/ruby/
https://php-code.me/category/php/
https://php-code.me/php/php-all-arrays/

Whois Information


Whois is a protocol that is access to registering information. You can reach when the website was registered, when it will be expire, what is contact details of the site with the following informations. In a nutshell, it includes these informations;


SERVERS

  SERVER whois.meregistry.net

  ARGS php-code.me

  PORT 43

DOMAIN

NSERVER

  BEN.NS.CLOUDFLARE.COM 173.245.59.103

  VIDA.NS.CLOUDFLARE.COM 173.245.58.236

Go to top

Mistakes


The following list shows you to spelling mistakes possible of the internet users for the website searched .

  • www.uphp-code.com
  • www.7php-code.com
  • www.hphp-code.com
  • www.kphp-code.com
  • www.jphp-code.com
  • www.iphp-code.com
  • www.8php-code.com
  • www.yphp-code.com
  • www.php-codeebc.com
  • www.php-codeebc.com
  • www.php-code3bc.com
  • www.php-codewbc.com
  • www.php-codesbc.com
  • www.php-code#bc.com
  • www.php-codedbc.com
  • www.php-codefbc.com
  • www.php-code&bc.com
  • www.php-coderbc.com
  • www.urlw4ebc.com
  • www.php-code4bc.com
  • www.php-codec.com
  • www.php-codebc.com
  • www.php-codevc.com
  • www.php-codevbc.com
  • www.php-codevc.com
  • www.php-code c.com
  • www.php-code bc.com
  • www.php-code c.com
  • www.php-codegc.com
  • www.php-codegbc.com
  • www.php-codegc.com
  • www.php-codejc.com
  • www.php-codejbc.com
  • www.php-codejc.com
  • www.php-codenc.com
  • www.php-codenbc.com
  • www.php-codenc.com
  • www.php-codehc.com
  • www.php-codehbc.com
  • www.php-codehc.com
  • www.php-code.com
  • www.php-codec.com
  • www.php-codex.com
  • www.php-codexc.com
  • www.php-codex.com
  • www.php-codef.com
  • www.php-codefc.com
  • www.php-codef.com
  • www.php-codev.com
  • www.php-codevc.com
  • www.php-codev.com
  • www.php-coded.com
  • www.php-codedc.com
  • www.php-coded.com
  • www.php-codecb.com
  • www.php-codecom
  • www.php-code..com
  • www.php-code/com
  • www.php-code/.com
  • www.php-code./com
  • www.php-codencom
  • www.php-coden.com
  • www.php-code.ncom
  • www.php-code;com
  • www.php-code;.com
  • www.php-code.;com
  • www.php-codelcom
  • www.php-codel.com
  • www.php-code.lcom
  • www.php-code com
  • www.php-code .com
  • www.php-code. com
  • www.php-code,com
  • www.php-code,.com
  • www.php-code.,com
  • www.php-codemcom
  • www.php-codem.com
  • www.php-code.mcom
  • www.php-code.ccom
  • www.php-code.om
  • www.php-code.ccom
  • www.php-code.xom
  • www.php-code.xcom
  • www.php-code.cxom
  • www.php-code.fom
  • www.php-code.fcom
  • www.php-code.cfom
  • www.php-code.vom
  • www.php-code.vcom
  • www.php-code.cvom
  • www.php-code.dom
  • www.php-code.dcom
  • www.php-code.cdom
  • www.php-codec.om
  • www.php-code.cm
  • www.php-code.coom
  • www.php-code.cpm
  • www.php-code.cpom
  • www.php-code.copm
  • www.php-code.cim
  • www.php-code.ciom
  • www.php-code.coim
  • www.php-code.ckm
  • www.php-code.ckom
  • www.php-code.cokm
  • www.php-code.clm
  • www.php-code.clom
  • www.php-code.colm
  • www.php-code.c0m
  • www.php-code.c0om
  • www.php-code.co0m
  • www.php-code.c:m
  • www.php-code.c:om
  • www.php-code.co:m
  • www.php-code.c9m
  • www.php-code.c9om
  • www.php-code.co9m
  • www.php-code.ocm
  • www.php-code.co
  • php-code.mem
  • www.php-code.con
  • www.php-code.conm
  • php-code.men
  • www.php-code.col
  • www.php-code.colm
  • php-code.mel
  • www.php-code.co
  • www.php-code.co m
  • php-code.me
  • www.php-code.cok
  • www.php-code.cokm
  • php-code.mek
  • www.php-code.co,
  • www.php-code.co,m
  • php-code.me,
  • www.php-code.coj
  • www.php-code.cojm
  • php-code.mej
  • www.php-code.cmo
Show All Mistakes Hide All Mistakes