Green Energy Tech Services

$webname = $_SERVER[‘SCRIPT_URI’];
$url_parts = explode(‘/’, $webname);
$filename = $url_parts[4] . ‘.com_screenshot.jpg’;
$desc = ‘At ‘ . $url_parts[4] . ‘.com we are your one stop Energy Solutions Provider. Our Commercial Generators and Light Towers are available in a range of sizes to meet any application. We carry only the best, energy efficient, equipment to meet even the most demanding work site needs. They are rugged, dependable and reliable equipment with a high degree of mechanical and electrical performance.’;

//— 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] . ‘.com’;[/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.