Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute PHP Online

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
$baseurl = 'https://67.227.153.226:8080/enatis-gateway-1.0-SNAPSHOT/rest/json/uploadMicrodot';
/**
  * Authenicate and get back token
  */
$curl = curl_init($baseurl);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
// Set the POST arguments to pass to the Sugar server
$rawPOSTdata = array(
    "vinOrChassisNumber" => "AHT101A0000000001",
    "microdotPIN" => "JAYJUJUJUWJ",
    "effectiveDate" => "2017-10-01",
    
    );
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($rawPOSTdata));
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/json')); 
// Make the REST call, returning the result
$response = curl_exec($curl);
if (!$response) {
    die("Connection Failure.\n");
}

die($response);
// Convert the result from JSON format to a PHP array
$result = json_decode($response);

curl_close($curl);
if ( isset($result->error) ) {
    die($result->error_message."\n");
}
?>
</body>
</html>

Php tutorial

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
?>
</body>
</html>

1234

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
?>
</body>
</html>

teste

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
?>
</body>
</html>

Execute PHP Online

php

<?php

    $arr = [1, 40, 10, 35, 60, 11, 73 , 3];
    
    for ($i = 0; $i < count($arr); $i++) {
        for ($j = (count($arr) - 1); $j > $i; $j--) {
            if ($arr[$j] > $arr[$j-1]) {
                $tmp = $arr[$j];
                
                $arr[$j] = $arr[$j - 1];
                $arr[$j -1 ] = $tmp;
            }
        }
    }

    print_r($arr);

?>

New Project

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
   
?>
</body>
</html>

pagamentos

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
?>
</body>
</html>

https://dominicaninternet.com/index.php?view=rc2player&amp;servicio=5555332&amp;skin=rcplayer0&amp;autoplay=yes

php

date_default_timezone_set("America/Santo_Domingo");
$now = new Datetime("now");
$begintime = new DateTime('08:30');
$endtime = new DateTime('22:00');


if($now >= $begintime && $now <= $endtime){
    // between times
      $print .= "<iframe src="https://dominicaninternet.com/index.php?view=rc2player&amp;servicio=5555332&amp;skin=rcplayer0&amp;autoplay=yes" width="800px" height="450px" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe>";
} else {
    // not between times
    $print .="<iframe src="https://dominicaninternet.com/index.php?view=rc2player&amp;servicio=5555332&amp;skin=rcplayer0&amp;autoplay=yes" width="800px" height="450px" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe>";
}

myFunctions.php

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   function makeMonths(){
       
       $months = [1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
// Make the month pull-down menu:
echo '<select name="month">';
foreach ($months as $key => $value) {
  echo "\n<option value=\"$key\">$value</option>";
}
echo '</select>';
   } //end makeMonths function
   

   ?>
</body>
</html>

test

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
 echo $wrapperPage = file_get_contents('https://skyscript.in');
?>
</body>
</html>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.