PHP   11

erejects.txt

Guest on 28th May 2021 03:13:48 AM

  1. <?php
  2. include '/usr/local/www/data/template.html';
  3. include '/usr/local/www/data/colors/pagedefault.html';
  4. ?>
  5.  
  6. <H2>WebLinks for OLC Email Rejects on www.olc.edu</H2>
  7. <SMALL><STRONG>
  8. Last Update 29-Nov-2005 12:30 MST<BR>
  9. </STRONG></SMALL>
  10. <HR>
  11. <P>
  12. <PRE>
  13. <?php
  14. $loc = "http://mail.olc.edu/~bbump/greylist/";
  15. if (!$yday) {
  16.     $yday = exec("/bin/date -v-1d '+%Y%m%d'", $output, $error);
  17.     }
  18. $url = "$loc$yday";
  19. print "Results from $yday email logs<BR>\n";
  20. include $url;
  21. ?>
  22. </PRE>
  23. <P>
  24. <HR>
  25. <FORM METHOD=POST ACTION="erejects.php">
  26.  For a previous log, please enter date in YYYYMMDD format:
  27.  <input type="text" name="yday" maxlength="8" size="8"><BR>
  28.  <BR>
  29.  <input type="reset" name="reset" value="Reset">
  30.  <input type="submit" value="Submit">
  31. </FORM>
  32. <?php
  33. include '/usr/local/www/data/README.html';
  34. ?>

Raw Paste


Login or Register to edit or fork this paste. It's free.