Services_Pingback
[ class tree: Services_Pingback ] [ index: Services_Pingback ] [ all elements ]

Source for file target.php

Documentation is available at target.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */
  3.  
  4. /**
  5.  * Target blog.
  6.  */
  7.  
  8. if (isset($_REQUEST['source'])) {
  9.     highlight_file(__FILE__);
  10.     die;
  11. }
  12.  
  13. $pingbackURI 'http://' .$_SERVER['HTTP_HOST'dirname($_SERVER['PHP_SELF']'/receive.php';
  14. ?>
  15. <!DOCTYPE html public "-//W3C//DTD XHTML 1.0 Strict//EN"
  16.           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  17. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
  18. <head>
  19.   <link rel="pingback" href="<?php print $pingbackURI ?>" />
  20.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  21.   <title>Services_Pingback Test Target</title>
  22. </head>
  23. <body>
  24. <p>What's up there, is it anyone link to me?</p>
  25. </body>
  26. </html>
  27. <?php
  28.  
  29. /*
  30.  * Local variables:
  31.  * mode: php
  32.  * tab-width: 4
  33.  * c-basic-offset: 4
  34.  * c-hanging-comment-ender-p: nil
  35.  * End:
  36.  */
  37. ?>

Documentation generated on Mon, 11 Mar 2019 14:49:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.