PasteSite.Com

Recent Pastes

Sign Up!

PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...

Change the theme

If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.

Mac4's Recent Pastes

"Untitled" (Plain Text) view

  1. <?php
  2.   if ($_FILES["file"]["error"] > 0)
  3.     echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
  4.     else
  5.     {
  6.     echo "Upload: " . $_FILES["file"]["name"] . "<br />";
  7.     echo "Type: " . $_FILES["file"]["type"] . "<br />";
  8.     echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
  9.     echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />";    if (file_exists("upload/" . $_FILES["file"]["name"]))
  10.       {

"Untitled" (PHP) view

  1. <?php
  2. if ((($_FILES["file"]["type"] == "application/rar")
  3. && ($_FILES["file"]["type"] == "application/exe"))
  4.   {
  5.   if ($_FILES["file"]["error"] > 0)
  6.     {
  7.     echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
  8.     }
  9.   else
  10.     {

"Untitled" (Plain Text) view

  1. How do i make it so if someone puts
  2. <?php
  3. echo "hello";
  4. ?>
  5. into a box and they press show it will show them "hello"?

"Re: #1411" (Plain Text) view

  1. <form action="login.php" method="post">
  2. Enter your name: <input type="text" name="name" />
  3. <br>
  4. Enter your password <input type="password" name="pass" />
  5. <input type="submit" />
  6. </form>
  7.  
  8. Hello <?php $_POST["name"] ?> .
  9. Your Name pass and IP have been saved for when you next login.

"Untitled" (Plain Text) view

  1. <form action="login.php" method="post">
  2. Enter your name: <input type="text" name="name" />
  3. <br>
  4. Enter your password <input type="password" name="pass" />
  5. <input type="submit" />
  6. </form>
  7.  
  8. Hello <?php $_GET["name"] ?>
  9. Your Name pass and IP have been saved for when you next login.

"Untitled" (Plain Text) view

  1. <?php
  2. eval ()
  3. ?>
  4. what can i put in eval(here)

"Untitled" (Plain Text) view

  1. <?php
  2. eval ("echo test")
  3. ?>

"Untitled" (Plain Text) view

  1. <?php
  2. $script = $_GET['script'];
  3. eval($script);
  4. echo $script;
  5. ?>

"Untitled" (CSS) view

  1. <style type="text/css">
  2. #title {
  3.     text-align: center;
  4.     color: rgb(255,255,255);
  5.     font-family: Lucida Console;
  6.     font-size:26px
  7. }
  8. body {background-color: black}
  9. a:link { color: rgb(100,100,100); }
  10. a:visited { color: rgb(100,100,100); }

"Re: Re: Re: #1402" (Plain Text) view

  1. <style type="text/css">
  2. #title {
  3.     text-align: center;
  4.     color: rgb(0,0,0);
  5.     font-family: Arial;
  6.     font-size: 12px; }
  7. {
  8. a:visited { color: #AAAAAA; }
  9.     a:hover { color: #FFFFFF; }
  10.     a:link { color: #FFFFFF; }

Page: 1, 2.. »