Loading .idea/workspace.xml +5 −8 Original line number Diff line number Diff line Loading @@ -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" /> Loading Loading @@ -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> Loading includes/globals.php +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'; Loading index.php +4 −3 Original line number Diff line number Diff line Loading @@ -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"> Loading @@ -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 viewpaste.php +5 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ $result = mysqli_query($connection, $sql)->fetch_assoc(); ?> <BODY> <h2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></h2> <p><?= $result['timestamp']; ?></p> <TABLE> Loading @@ -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 Loading
.idea/workspace.xml +5 −8 Original line number Diff line number Diff line Loading @@ -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" /> Loading Loading @@ -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> Loading
includes/globals.php +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'; Loading
index.php +4 −3 Original line number Diff line number Diff line Loading @@ -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"> Loading @@ -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
viewpaste.php +5 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ $result = mysqli_query($connection, $sql)->fetch_assoc(); ?> <BODY> <h2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></h2> <p><?= $result['timestamp']; ?></p> <TABLE> Loading @@ -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