(Try putting https:// or http:// at the beginning)"); session_destroy(); die(); } $tld = end(explode(".", parse_url($url, PHP_URL_HOST))); if ($tld == "onion" || $tld == "i2p") { echo("Hidden services are not allowed"); session_destroy(); die(); } if (in_array(parse_url($url, PHP_URL_HOST), constant("bannedhosts"))) { echo("Blacklisted host, sorry"); session_destroy(); die(); } if (!array_key_exists($category, constant("categories"))) { echo("You submitted an invalid category."); session_destroy(); die(); } $name = htmlspecialchars($name); $url = htmlspecialchars($url); $summary = htmlspecialchars($summary); if (70 < strlen($name)) { echo("Name too long"); session_destroy(); die(); } if (100 < strlen($url)) { echo("URL too long"); session_destroy(); die(); } if (70 < strlen($summary)) { echo("Summary too long"); session_destroy(); die(); } if (100 < strlen($category)) { echo("Category too long"); session_destroy(); die(); } require 'common.php'; if (submitSite($name, $url, $summary, $category)) { session_destroy(); echo("SiteShare | Success

Your site was submitted. Click here to go back to the homepage.

"); die(); } else { echo("Error"); session_destroy(); die(); } } ?> <?php echo constant("sitename"); ?> | Submit

Submit Site

! Please check out the rules before submitting.

Name 40c
URL 100c
Summary 70c
Category
Captcha
(Case-insensitive)

  • Wiki - Personal is for wikis with a single editor.
  • Forum - International is for forums where multiple languages are spoken.
  • Note: If your site is for a server for another protocol like a game server, pubnix, IRC, or Gemini/Gopher, categorize it as "Public server". Note that non-HTTP links are allowed, but please categorize them as Other (Not HTTP) if there's not a category for them already.