Location: PHPKode > scripts > plusPHP Easy Short URL > plusphp-easy-short-url/_pages/start.php
<?php
if(!defined('NON_DIRECT')) { exit(header("location: ../")); }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>

    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

    <title><?php echo(ucfirst(str_replace('www.','',$_SERVER['HTTP_HOST']))) ?>: Short URL Cloaking Service</title>

    <meta name="Author" content="Developed by plusPHP.com / PK" />

    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    <meta name="description" content="Short URL service with better functionality: send new URLs to e-mail, bulk URL shortening, custom SEO tags, temporary URLs" />

    <meta name="keywords" content="url, url cloaking, seo, search engine optimization, short url" />

    <script type="text/javascript" src="<?php echo $BASE_URI; ?>env/jquery.js"></script>

    <script type="text/javascript" src="<?php echo $BASE_URI; ?>env/submit.js"></script>

    <!--[if lte IE 6]>
    <script type="text/javascript"> var shim='<?php echo $BASE_URI; ?>env/x.gif';</script>
    <script type="text/javascript" src="<?php echo $BASE_URI; ?>env/pngfix.js"></script>
    <![endif]-->

    <link rel="stylesheet" href="<?php echo $BASE_URI; ?>env/style.css" media="screen,projection,print" type="text/css" />

  </head>
  <body>
    <div id="container" class="align_center">
        <div id="header">
        <img src="<?php echo $BASE_URI; ?>env/logo.png" hspace="5" title="Link/Slash - Short URL cloacking service" alt="Link/Slash - Short URL cloacking service" id="logo" align="absmiddle" />
        </div>
        <?php echo(implode('',file($_pages_dir.'ads_top.txt'))) ?>
        <form action="<?php echo $BASE_URI; ?>" method="post" id="contactForm">
          <fieldset>
            <legend>Type in your long URL to get short URL</legend>
            <label for="url">Your URL (don't forget prefixes - http:// or ftp:// or https:// )</label> <INPUT type="text" size="50" name="url" value="" />
            <input type="submit" value="shorten" id="submitButton" />

          </fieldset>
        </form>
        <?php echo(implode('',file($_pages_dir.'ads_bottom.txt'))) ?>
        <div id="results"></div>

        <h1>Short URL Service example:</h1>
        <p>This service is able to shorten your long URLs - like
        <em>http://forum.phuketadvice.com/index.php?topic=2.0</em><br /><br />
        into something like
        <a href="http://linkslash.com/phuket">http://linkslash.com/phuket</a> or
        <a href="http://linkslash.com/phuket.html">http://linkslash.com/phuket.html</a> (<strong>good for SEO</strong>) - to<br /><br />
        make it easier to post your URLs on forums, cloak your site's URL. And to boost SEO.
        </p>

        <h2>Short URL API:</h2>
        <p>This service automatically converts URLs for remote sites.
        To convert URL into shorten address simply make GET request like <em>http://<?php echo $_SERVER['HTTP_HOST'].$BASE_URI; ?>?http://some-site.com/long-url/here.html</em> - you'll have an answer with plain text string (new short URL).</p>

      <p class="footer">&copy; 2008<?php if(date('Y') != '2008') { echo('-'.date('Y'));} ?>, <?php echo(ucfirst(str_replace('www.','',$_SERVER['HTTP_HOST']))); ?> Short URL service powered by <a href="http://plusphp.com/Pages/47/Short-URL-URL-Cloak-Script/">plusPHP ShortURL Script</a>.</p>

    </div>

<!-- tracking code - replace with your own -->

<!-- tracking code above - replace with your own -->

  </body>
</html>
Return current item: plusPHP Easy Short URL