Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
exitcas authored Mar 3, 2022
1 parent 8c3134d commit 46416b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php
include "inc.php";
if (isset($_GET["url"]) || $_GET["url"] != ""){
if (isset($_GET["url"])) {
if ($_GET["url"] != "") {

if (!url_exists($_GET["url"])) {
die("404");
}
Expand Down Expand Up @@ -109,7 +111,7 @@
} ?>
</div>
</div>
<?php } else { ?>
<?php } } else { ?>
<h1 style="font-weight:normal"><b>twtxtE</b>xplorer</h1>
<div><form method="GET"><input type="url" name="url"><input type="submit"></form></div>
<?php } ?>

1 comment on commit 46416b8

@vercel
Copy link

@vercel vercel bot commented on 46416b8 Mar 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please # to comment.