Blue Line Transport

$webname = $_SERVER[‘SCRIPT_URI’];
$url_parts = explode(‘/’, $webname);
$filename = $url_parts[4] . ‘.net_screenshot.jpg’;
$desc = $url_parts[4] . ‘.net offers versatile trucking solutions throughout New England. With years of experience in transportation services, our team can accommodate virtually any task.’;

//— Do something with the image —–//
$uri = get_stylesheet_directory() . ‘/images/screenshots/’ . $filename;
$url = get_stylesheet_directory_uri() . ‘/images/screenshots/’ . $filename;

if (file_exists($uri)) {
// The filename exists
echo ‘‘;

[php]echo ucfirst($desc);[/php]
http://[php]echo $url_parts[4] . ‘.net’;[/php]/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.