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

Source for file source.php

Documentation is available at source.php

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

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