Commit 1329cfc7 authored by Alyx's avatar Alyx
Browse files

done

parent f41f1fd0
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -5,13 +5,10 @@
  </component>
  <component name="ChangeListManager">
    <list default="true" id="2b17b81e-3e24-4cf6-9007-df4d9df4df30" name="Changes" comment="">
      <change afterPath="$PROJECT_DIR$/components/header.php" afterDir="false" />
      <change afterPath="$PROJECT_DIR$/components/recent.php" afterDir="false" />
      <change afterPath="$PROJECT_DIR$/includes/globals.php" afterDir="false" />
      <change afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
      <change afterPath="$PROJECT_DIR$/paste.php" afterDir="false" />
      <change afterPath="$PROJECT_DIR$/viewpaste.php" afterDir="false" />
      <change afterPath="$PROJECT_DIR$/wastebin.gif" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/includes/globals.php" beforeDir="false" afterPath="$PROJECT_DIR$/includes/globals.php" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/viewpaste.php" beforeDir="false" afterPath="$PROJECT_DIR$/viewpaste.php" afterDir="false" />
    </list>
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -67,7 +64,7 @@
      <option name="presentableId" value="Default" />
      <updated>1754973409416</updated>
      <workItem from="1754973410430" duration="2774000" />
      <workItem from="1754976392084" duration="9292000" />
      <workItem from="1754976392084" duration="9462000" />
    </task>
    <servers />
  </component>
+1 −1
Original line number Diff line number Diff line
<?php
$db['user'] = 'wastebin';
$db['pass'] = 'xgUGFunD8n"FTZh';
$db['pass'] = '';
$db['db'] = 'wastebin';
$db['host'] = 'localhost';

+4 −3
Original line number Diff line number Diff line
@@ -2,12 +2,12 @@
include_once 'components/header.php';
require_once 'includes/globals.php';
?>
<BODY>
<h2>Welcome to Wastebin!</h2>
<p>It's like Pastebin, but probably HTML3 compliant! I'm not sure, I didn't check.</p>
<p>Max size 1MB</p>

<FORM action="paste.php" method="POST">

    <TABLE>
        <TR>
            <TD WIDTH="600">
@@ -26,6 +26,7 @@ require_once 'includes/globals.php';

    </TABLE>
</FORM>


<FOOTER>
    made by alyx in php
</FOOTER>
</BODY>
 No newline at end of file
+5 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ $result = mysqli_query($connection, $sql)->fetch_assoc();


?>

<BODY>
<h2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></h2>
<p><?= $result['timestamp']; ?></p>
<TABLE>
@@ -29,3 +29,7 @@ $result = mysqli_query($connection, $sql)->fetch_assoc();
    </TR>

</TABLE>
<FOOTER>
    alyx wijers - akw@en0.io
</FOOTER>
</BODY>
 No newline at end of file