{
return \in_array($this->statusCode, [204, 304]);
}
/**
* Cleans or flushes output buffers up to target level.
*
* Resulting level can be greater than target level if a non-removable buffer has been encountered.
*
* @final
*/
public static function closeOutputBuffers(int $targetLevel, bool $flush): void
{
$status = ob_get_status(true);
$level = \count($status);
$flags = \PHP_OUTPUT_HANDLER_REMOVABLE | ($flush ? \PHP_OUTPUT_HANDLER_FLUSHABLE : \PHP_OUTPUT_HANDLER_CLEANABLE);
while ($level-- > $targetLevel && ($s = $status[$level]) && (!isset($s['del']) ? !isset($s['flags']) || ($s['flags'] & $flags) === $flags : $s['del'])) {
if ($flush) {
ob_end_flush();
} else {
ob_end_clean();
}
}
}
/**
* Checks if we need to remove Cache-Control for SSL encrypted downloads when using IE < 9.
*
* @see http://support.microsoft.com/kb/323308
*
* @final
*/
protected function ensureIEOverSSLCompatibility(Request $request): void
{
if (false !== stripos($this->headers->get('Content-Disposition') ?? '', 'attachment') && 1 == preg_match('/MSIE (.*?);/i', $request->server->get('HTTP_USER_AGENT') ?? '', $match) && true === $request->isSecure()) {
if ((int) preg_replace('/(MSIE )(.*?);/', '$2', $match[0]) < 9) {
$this->headers->remove('Cache-Control');
}
}
"ob_end_flush(): failed to send buffer of zlib output compression (0)"
{
return \in_array($this->statusCode, [204, 304]);
}
/**
* Cleans or flushes output buffers up to target level.
*
* Resulting level can be greater than target level if a non-removable buffer has been encountered.
*
* @final
*/
public static function closeOutputBuffers(int $targetLevel, bool $flush): void
{
$status = ob_get_status(true);
$level = \count($status);
$flags = \PHP_OUTPUT_HANDLER_REMOVABLE | ($flush ? \PHP_OUTPUT_HANDLER_FLUSHABLE : \PHP_OUTPUT_HANDLER_CLEANABLE);
while ($level-- > $targetLevel && ($s = $status[$level]) && (!isset($s['del']) ? !isset($s['flags']) || ($s['flags'] & $flags) === $flags : $s['del'])) {
if ($flush) {
ob_end_flush();
} else {
ob_end_clean();
}
}
}
/**
* Checks if we need to remove Cache-Control for SSL encrypted downloads when using IE < 9.
*
* @see http://support.microsoft.com/kb/323308
*
* @final
*/
protected function ensureIEOverSSLCompatibility(Request $request): void
{
if (false !== stripos($this->headers->get('Content-Disposition') ?? '', 'attachment') && 1 == preg_match('/MSIE (.*?);/i', $request->server->get('HTTP_USER_AGENT') ?? '', $match) && true === $request->isSecure()) {
if ((int) preg_replace('/(MSIE )(.*?);/', '$2', $match[0]) < 9) {
$this->headers->remove('Cache-Control');
}
}
{
echo $this->content;
return $this;
}
/**
* Sends HTTP headers and content.
*
* @return $this
*/
public function send()
{
$this->sendHeaders();
$this->sendContent();
if (\function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
} elseif (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true)) {
static::closeOutputBuffers(0, true);
flush();
}
return $this;
}
/**
* Sets the response content.
*
* Valid types are strings, numbers, null, and objects that implement a __toString() method.
*
* @param mixed $content Content that can be cast to string
*
* @return $this
*
* @throws \UnexpectedValueException
*/
public function setContent($content)
{
if (null !== $content && !\is_string($content) && !is_numeric($content) && !\is_callable([$content, '__toString'])) {
0
true
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
return false;
}
require_once __DIR__.'/public/index.php';
"/home/plantautomationt/public_html/public/index.php"
Key | Value |
PATH | "/usr/local/bin:/bin:/usr/bin"
|
HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
HTTP_ACCEPT_ENCODING | "br,gzip"
|
HTTP_ACCEPT_LANGUAGE | "en-US,en;q=0.5"
|
HTTP_CONNECTION | "Keep-Alive"
|
HTTP_HOST | "www.plantautomation-technology.com"
|
HTTP_USER_AGENT | "CCBot/2.0 (https://commoncrawl.org/faq/)"
|
DOCUMENT_ROOT | "/home/plantautomationt/public_html"
|
REMOTE_ADDR | "44.200.171.156"
|
REMOTE_PORT | "53308"
|
SERVER_ADDR | "57.128.128.108"
|
SERVER_NAME | "www.plantautomation-technology.com"
|
SERVER_ADMIN | "webmaster@plantautomation-technology.com"
|
SERVER_PORT | "443"
|
REQUEST_SCHEME | "https"
|
REQUEST_URI | "/pat/reciprocating-conveyors"
|
REDIRECT_URL | "/pat/reciprocating-conveyors"
|
REDIRECT_REQUEST_METHOD | "GET"
|
GEOIP_ADDR | "44.200.171.156"
|
GEOIP_COUNTRY_CODE | "US"
|
GEOIP_CONTINENT_CODE | "NA"
|
HTTPS | "on"
|
REDIRECT_STATUS | "200"
|
SSL_PROTOCOL | "TLSv1.3"
|
SSL_CIPHER | "TLS_CHACHA20_POLY1305_SHA256"
|
SSL_CIPHER_USEKEYSIZE | "256"
|
SSL_CIPHER_ALGKEYSIZE | "256"
|
SCRIPT_FILENAME | "/home/plantautomationt/public_html/index.php"
|
QUERY_STRING | "" |
SCRIPT_URI | "https://www.plantautomation-technology.com/pat/reciprocating-conveyors"
|
SCRIPT_URL | "/pat/reciprocating-conveyors"
|
SCRIPT_NAME | "/index.php"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
SERVER_SOFTWARE | "LiteSpeed"
|
REQUEST_METHOD | "GET"
|
X-LSCACHE | "on"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1680211454.7059
|
REQUEST_TIME | 1680211454
|
argv | [] |
argc | 0
|
APP_NAME | "Plantautomation-Technology"
|
APP_ENV | "local"
|
APP_KEY | "base64:rfRKbmESbHC4B8fv7UG9C4IXfaoxAvDShUN0kk5DrXI="
|
APP_DEBUG | "true"
|
APP_LOG_LEVEL | "debug"
|
APP_URL | "https://industry.plantautomation-technology.com/"
|
APP_BLOG_URL | "https://blog.plantautomation-technology.com"
|
APP_F_URL | "https://www.facebook.com/plantautomationtechnology"
|
APP_G_URL | "https://plus.google.com/u/0/+Plantautomation-technology"
|
APP_T_URL | "https://twitter.com/plantautomatech"
|
APP_L_URL | "https://www.linkedin.com/company/plant-automation-technology"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "plantaut_laravel"
|
DB_USERNAME | "plantaut_plslara"
|
DB_PASSWORD | "B=z$Qo&7Lf}G"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "15"
|
QUEUE_DRIVER | "sync"
|
REDIS_HOST | "127.0.0.1"
|
REDIS_PASSWORD | "null"
|
REDIS_PORT | "6379"
|
MAIL_DRIVER | "smtp"
|
MAIL_HOST | "hz0479.vps.iamemonline.com"
|
MAIL_PORT | "465"
|
MAIL_USERNAME | "no-reply@plantautomation-technology.com"
|
MAIL_PASSWORD | "Ahyz;HE8+p8X"
|
MAIL_ENCRYPTION | "SSL"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
CAPTCHA_SECRET | "6LeyPDEUAAAAAMRet3mRUfmDSIA38rFZvhWwOk3q"
|
CAPTCHA_SITEKEY | "6LeyPDEUAAAAAPM95QzV3Zp8GS-UonLBsU2kd4Ag"
|
ALGOLIA_APP_ID | "3IK4ETBOWD"
|
ALGOLIA_SECRET | "d802de4edcd8489a8b36ad8c09d02ceb"
|
ANALYTICS_VIEW_ID | "139934627"
|
CAPTCHA_SECRET_V3 | "6Lcggi0aAAAAAIgbunCIyGtCXcEZk0uPu-gTX7xn"
|
CAPTCHA_SITEKEY_V3 | "6Lcggi0aAAAAAJb4bPsZN-3y8lVeT8IhhC1xgSle"
|
Key | Value |
APP_NAME | "Plantautomation-Technology"
|
APP_ENV | "local"
|
APP_KEY | "base64:rfRKbmESbHC4B8fv7UG9C4IXfaoxAvDShUN0kk5DrXI="
|
APP_DEBUG | "true"
|
APP_LOG_LEVEL | "debug"
|
APP_URL | "https://industry.plantautomation-technology.com/"
|
APP_BLOG_URL | "https://blog.plantautomation-technology.com"
|
APP_F_URL | "https://www.facebook.com/plantautomationtechnology"
|
APP_G_URL | "https://plus.google.com/u/0/+Plantautomation-technology"
|
APP_T_URL | "https://twitter.com/plantautomatech"
|
APP_L_URL | "https://www.linkedin.com/company/plant-automation-technology"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "plantaut_laravel"
|
DB_USERNAME | "plantaut_plslara"
|
DB_PASSWORD | "B=z$Qo&7Lf}G"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "15"
|
QUEUE_DRIVER | "sync"
|
REDIS_HOST | "127.0.0.1"
|
REDIS_PASSWORD | "null"
|
REDIS_PORT | "6379"
|
MAIL_DRIVER | "smtp"
|
MAIL_HOST | "hz0479.vps.iamemonline.com"
|
MAIL_PORT | "465"
|
MAIL_USERNAME | "no-reply@plantautomation-technology.com"
|
MAIL_PASSWORD | "Ahyz;HE8+p8X"
|
MAIL_ENCRYPTION | "SSL"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
CAPTCHA_SECRET | "6LeyPDEUAAAAAMRet3mRUfmDSIA38rFZvhWwOk3q"
|
CAPTCHA_SITEKEY | "6LeyPDEUAAAAAPM95QzV3Zp8GS-UonLBsU2kd4Ag"
|
ALGOLIA_APP_ID | "3IK4ETBOWD"
|
ALGOLIA_SECRET | "d802de4edcd8489a8b36ad8c09d02ceb"
|
ANALYTICS_VIEW_ID | "139934627"
|
CAPTCHA_SECRET_V3 | "6Lcggi0aAAAAAIgbunCIyGtCXcEZk0uPu-gTX7xn"
|
CAPTCHA_SITEKEY_V3 | "6Lcggi0aAAAAAJb4bPsZN-3y8lVeT8IhhC1xgSle"
|