Niouzes

D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php:3658:
object(LogicException)[63]
  protected 'message' => string 'Class LSContentsCalendar could not be loaded' (length=44)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 0
  protected 'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
  protected 'line' => int 3587
  private 'trace' (Exception) => 
    array (size=15)
      0 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3587
          'function' => string 'spl_autoload' (length=12)
          'args' => 
            array (size=1)
              ...
      1 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3262
          'function' => string 'EmergeIsland' (length=12)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=6)
              ...
      2 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2756
          'function' => string 'EmergeIslands' (length=13)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=5)
              ...
      3 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2994
          'function' => string 'EmergeArchipelagosFromParent' (length=28)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=3)
              ...
      4 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5928
          'function' => string 'EmergeArchipelagos' (length=18)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=2)
              ...
      5 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\template\vaesoli.html' (length=58)
          'line' => int 89
          'function' => string 'Land' (length=4)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      6 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6110
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
      7 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6053
          'function' => string 'XInclude' (length=8)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      8 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5828
          'function' => string 'IncludeTemplate' (length=15)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      9 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5580
          'function' => string 'UseTemplate' (length=11)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      10 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 3282
          'function' => string 'RenderXML' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      11 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 2082
          'function' => string 'StartPage' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      12 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSApplication.class.php' (length=76)
          'line' => int 814
          'function' => string 'Render' (length=6)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      13 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\master.php' (length=47)
          'line' => int 8
          'function' => string 'Run' (length=3)
          'class' => string 'LSApplication' (length=13)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      14 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\documentation\documentation-vaesoli-code-source.php' (length=88)
          'line' => int 1
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
  private 'previous' (Exception) => null
  public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> LogicException: Class LSContentsCalendar could not be loaded in D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php on line <i>3587</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory'... (length=6279)
D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php:3658:
object(LogicException)[81]
  protected 'message' => string 'Class LSContentsCitation could not be loaded' (length=44)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 0
  protected 'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
  protected 'line' => int 3587
  private 'trace' (Exception) => 
    array (size=15)
      0 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3587
          'function' => string 'spl_autoload' (length=12)
          'args' => 
            array (size=1)
              ...
      1 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3262
          'function' => string 'EmergeIsland' (length=12)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=6)
              ...
      2 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2756
          'function' => string 'EmergeIslands' (length=13)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=5)
              ...
      3 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2994
          'function' => string 'EmergeArchipelagosFromParent' (length=28)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=3)
              ...
      4 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5928
          'function' => string 'EmergeArchipelagos' (length=18)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=2)
              ...
      5 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\template\vaesoli.html' (length=58)
          'line' => int 89
          'function' => string 'Land' (length=4)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      6 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6110
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
      7 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6053
          'function' => string 'XInclude' (length=8)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      8 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5828
          'function' => string 'IncludeTemplate' (length=15)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      9 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5580
          'function' => string 'UseTemplate' (length=11)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      10 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 3282
          'function' => string 'RenderXML' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      11 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 2082
          'function' => string 'StartPage' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      12 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSApplication.class.php' (length=76)
          'line' => int 814
          'function' => string 'Render' (length=6)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      13 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\master.php' (length=47)
          'line' => int 8
          'function' => string 'Run' (length=3)
          'class' => string 'LSApplication' (length=13)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      14 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\documentation\documentation-vaesoli-code-source.php' (length=88)
          'line' => int 1
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
  private 'previous' (Exception) => null
  public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> LogicException: Class LSContentsCitation could not be loaded in D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php on line <i>3587</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory'... (length=6279)

Attention

The documentation is incomplete. The Vae Soli! team works hard to make it as exhaustive as possible with tons of useful examples and easy to understand explanations.

On top of that, we have decided to use our own tool to generate the documentation you read. This also takes time to fine-tune. Our goal is have better documentation, easier to read, easier to use, completely integrated with our site.

Even though NOT finalized, you can now link back to our documentation pages as we have decided once and for all about the structure of our documents and where they all reside on our server.

Thank you very much
The Vae Soli! team.

2019-06-18 à 01:34:06

Table Of Contents

  1. FOUNDATION (functions) (01/04/2015)
  2. LSAction (class) (01/04/2015)
  3. LSAddress (class) (01/04/2015)
  4. LSAdministrativeArea (class) (01/04/2015)
  5. LSApplication (class) (14/10/2013)
  6. LSArray (class) (14/10/2013)
  7. LSArticle (class) (18/02/2014)
  8. LSAssertion (class) (14/10/2013)
  9. LSAudience (class) (18/02/2014)
  10. AUTOLOAD (function) (21/04/2014)
  11. LSAutoReference (class) (14/10/2013)
  12. LSBag (class) (14/10/2013)
  13. LSBBCodes (class) (10/06/2014)
  14. LSBrowser (class) (14/10/2013)
  15. LSCache (class) (14/10/2013)
  16. LSCalculator (class) (14/10/2013)
  17. LSCalendar (class) (14/10/2013)
  18. LSCameraSnapshot (class) (14/10/2013)
  19. LSCitation (class) (14/10/2013)
  20. LSClass (class) (14/10/2013)
  21. LSCode (class) ()
  22. Colors (functions) (18/06/2019)
  23. LSContactForm (class) (14/10/2013)
  24. LSContainer (class) (14/10/2013)
  25. LSContents (class) (14/10/2013)
  26. LSContentsAccounts (class) (14/10/2013)
  27. LSContentsArticles (class) (14/10/2013)
  28. LSContentsAtomicClock (class) (14/10/2013)
  29. LSContentsBusinessCoordinates (class) (14/10/2013)
  30. LSContentsBusinessOff (class) (14/10/2013)
  31. LSContentsBusinessOpeningHours (class) (14/10/2013)
  32. LSContentsBreadcrumb (class) (14/10/2013)
  33. LSContentsCalendar (class) (14/10/2013)
  34. LSContentsCatalogue (class) (14/10/2013)
  35. LSContentsCharter (class) (18/02/2014)
  36. LSContentsCitation (class) (14/10/2013)
  37. LSContentsClock (class) (14/10/2013)
  38. LSContentsComments (class) (14/10/2013)
  39. LSContentsCookieUsage (class) (14/10/2013)
  40. LSContentsCountdown (class) (14/10/2013)
  41. LSContentsDatetime (class) (14/10/2013)
  42. LSContentsHeartbeat (class) (14/10/2013)
  43. LSContentsIFrame (class) (14/10/2013)
  44. LSContentsImageGallery (class) (14/10/2013)
  45. LSContentsLanguageSwitchers (class) (14/10/2013)
  46. LSContentsLegal (class) (18/02/2014)
  47. LSContentsMicronews (class) (14/10/2013)
  48. LSContentsMyAccount (class) (14/10/2013)
  49. LSContentsPaymentOptions (class) (14/10/2013)
  50. LSContentsPinboard (class) (14/10/2013)
  51. LSContentsRememberPassword (class) (14/10/2013)
  52. LSContentsRSS (class) (14/10/2013)
  53. LSContentsSiteManager (class) (14/10/2013)
  54. LSContentsSitemap (class) (14/10/2013)
  55. LSContentsShare (class) (14/10/2013)
  56. LSContentsStopwatch (class) (14/10/2013)
  57. LSContentsTagCloud (class) (14/10/2013)
  58. LSContentsTodosOnPage (class) (14/10/2013)
  59. LSContentsW3C (class) (14/10/2013)
  60. LSContentsWeather (class) (14/10/2013)
  61. LSControl (class) (14/10/2013)
  62. LSCreativeWork (class) (18/02/2014)
  63. LSCursor (class) (09/03/2015)
  64. LSCustomer (class) (14/10/2013)
  65. LSDataEnvironment (class) (14/10/2013)
  66. Dates (functions) (01/04/2015)
  67. LSDate (class) (14/10/2013)
  68. LSDictionary (class) (14/10/2013)
  69. LSDom, LSDomNode and LSXPath (class) (30/04/2014)
  70. LSErrors and LSError (classes) (14/10/2013)
  71. LSException (class) (16/10/2013)
  72. LSExplorer (class) (14/10/2013)
  73. LSFieldset (class) (14/10/2013)
  74. LSFile (class) (14/10/2013)
  75. LSFileProperties (class) (14/10/2013)
  76. Files (functions) (01/04/2015)
  77. Finance (functions) (01/04/2015)
  78. LSFootnotes (class) (22/02/2014)
  79. LSForm (class) (09/06/2014)
  80. LSFunction (class) (14/10/2013)
  81. LSGeorama (class) (24/10/2013)
  82. LSGeoramaVar (class) (24/10/2013)
  83. LSGlossary (class) (09/03/2015)
  84. LSGroup (class) (14/10/2013)
  85. HTML (functions) (01/04/2015)
  86. LSHttp (class) (14/10/2013)
  87. HTTP (functions) (01/04/2015)
  88. LSImageGallery (class) (14/10/2013)
  89. Images (functions) (01/04/2015)
  90. LSInput (class) (26/04/2014)
  91. IP (functions) (01/04/2015)
  92. LSIslandAbstract (14/10/2013)
  93. LSIslandFormAbstract (class) (14/10/2013)
  94. LSLabel (class) (14/10/2013)
  95. LSLanguageSwitchers (class) (14/10/2013)
  96. LSLatin (class) (14/10/2013)
  97. LSLegalPerson (class) (14/10/2013)
  98. LSLinkedList (class) (14/10/2013)
  99. LSList (class) (14/10/2013)
  100. Mails (functions) (01/04/2015)
  101. LSMap (class) (14/10/2013)
  102. Math (functions) (01/04/2015)
  103. LSMicronews (class) (18/02/2014)
  104. Miscellaneous (functions) (01/04/2015)
  105. LSModuleAbstract (class) (14/10/2013)
  106. LSNaturalPerson (class) (14/10/2013)
  107. LSNewsArticle (class) (18/02/2014)
  108. LSNote (class) (14/10/2013)
  109. LSMotherNature (class) (16/10/2013)
  110. LSPage (class) (18/02/2014)
  111. LSParameter (class) (14/10/2013)
  112. LSPaymentOptions (class) (14/10/2013)
  113. LSPeopleAudience (class) (18/02/2014)
  114. LSPerson (class) (14/10/2013)
  115. LSPlace (class) (18/02/2014)
  116. LSProperty (class) (14/10/2013)
  117. LSPublication (class) (14/10/2013)
  118. LSRequirement (class) (14/10/2013)
  119. LSReturn (class) (24/10/2013)
  120. LSRisk (class) (14/10/2013)
  121. LSSentanaiAbstract (14/10/2013)
  122. LSServiceMessage (class) (14/10/2013)
  123. LSSession (class) (14/10/2013)
  124. LSSiteManager (class) (14/10/2013)
  125. LSSitemap (class) (14/10/2013)
  126. LSSockets (class) (14/10/2013)
  127. LSSoftwareApplication (class) (18/02/2014)
  128. LSSource (class) (14/10/2013)
  129. Strings (functions) (31/07/2016)
  130. LSSupplier (class) (14/10/2013)
  131. System (functions) (01/04/2015)
  132. LSTag (class) (21/04/2014)
  133. LSTagCloud (class) (14/10/2013)
  134. LSTechArticle (class) (18/02/2014)
  135. LSThing (class) (18/02/2014)
  136. LSTimeline (class) (14/10/2013)
  137. LSTimer (class) (16/10/2013)
  138. LSTracer (class) (09/03/2015)
  139. LSUnitTesting (class) (14/10/2013)
  140. URL (functions) (01/04/2015)
  141. LSUser (class) (09/03/2015)
  142. LSUserMgr (class) (14/10/2013)
  143. LSVaesoli (class) (09/06/2014)
  144. LSVersion (class) (14/10/2013)
  145. LSWebSite (class) (14/10/2013)
  146. LSWidget (class) (14/10/2013)
  147. LSWireTransferForm (class) (14/10/2013)
  148. LSXMLSitemap (class) (14/10/2013)
  149. XML (functions) (01/04/2015)

LSIP.functions.php

Generated by The Vae Soli! Documentor: Guide v. 1.3.0018 on 01-04-2015 16:19:53 (DD-MM-YYYY HH:mm:SS). This documentation is built with Vae Soli! functions and classes!

The download page of Vae Soli! contains all sources of the framework.

Additional samples are available on the samples page of Vae Soli!.

File Properties

C:\websites\vaesoli.org\www\httpdocs/vaesoli/include/LSIP.functions.phpC:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSIP.functions.phpapplication/force-downloadC:\websites\vaesoli.org\www\httpdocs\vaesoli\include12791 bytes03/08/2013 23:27:5231/12/2013 14:53:2426/10/2013 11:57:02

Compliance

Assertions count: 1

Assertions successful: 1

Assertion failures: 0

0001 ... <?php
0002 ... /**************************************************************************/
0003 ... /** {{{*fheader
0004 ...     {*file                  LSIP.functions.php *}
0005 ...     {*purpose               IP oriented functions *}
0006 ...     {*author                 *}
0007 ...     {*company               Lato Sensu Management[br]
0008 ...                             Rue Bois des Mazuis, 47[br]
0009 ...                             5070 Vitrival[br]
0010 ...                             Belgium (BE)[br]
0011 ...                             http://www.latosensu.be[br]
0012 ...                             Vae Soli! : http://www.vaesoli.org *}
0013 ...     {*cdate                 26/05/2006 15:21 *}
0014 ...     {*mdate                 auto *}
0015 ...     {*license               [url]http://creativecommons.org/licenses/by-sa/2.0/be/[/url][br]
0016 ... 
0017 ...                             To obtain detailed information about the license
0018 ...                             terms, please head to the full license text
0019 ...                             available in the [file]LSCopyright.php[/file] file *}
0020 ... 
0021 ...     ------------------------------------------------------------------------
0022 ...     Changes History:
0023 ...     ------------------------------------------------------------------------
0024 ... 
0025 ...     {*chist
0026 ...         {*mdate 06/05/2008 *}
0027 ...         {*v 1.1.0515 *}
0028 ...         {*desc              All comments before this release have been
0029 ...                             eliminated (for tracking purposes, please
0030 ...                             head to the Vae Soli! archive : vaesoli-1.1.0501.zip *}
0031 ...     *}
0032 ... 
0033 ...     {*chist
0034 ...         {*mdate 08/01/2009 *}
0035 ...         {*v 2.0.0000 *}
0036 ...         {*desc              1)  Shrinking Vae Soli! features to concentrate
0037 ...                                 on the fundamentals (many features have been
0038 ...                                 put on hold: they will be integrated one by
0039 ...                                 one when their code will be entirey finished
0040 ...                                 instead of having them not doig what they're
0041 ...                                 supposed to do) *}
0042 ...     *}
0043 ... 
0044 ...     {*chist
0045 ...         {*mdate 22/01/2013 *}
0046 ...         {*v 5.0.0012 *}
0047 ...         {*desc              1)  Documenting according to guide.php
0048 ...         *}
0049 ...     *}
0050 ... 
0051 ...     *}}} */
0052 ... /**************************************************************************/
0053 ... if ( ! defined( 'VAESOLI_PATH' ) )                                  /* If the path is not defined yet */
0054 ... {
0055 ...     /* {*define (VAESOLI_PATH)  Define the path where Vae Soli! is installed *} */
0056 ...     define( 'VAESOLI_PATH',__DIR__ );
0057 ... }   /* if ( ! defined( 'VAESOLI_PATH' ) ) */
0058 ... 
0059 ... if ( ! defined( 'VAESOLI_PLUGINS' ) )                               /* If the path is not defined yet */
0060 ... {
0061 ...     /* {*define (VAESOLI_PLUGINS)  Define the path where plugins are located *} */
0062 ...     define( 'VAESOLI_PLUGINS',VAESOLI_PATH . '/../plugins' );
0063 ... }   /* if ( ! defined( 'VAESOLI_PLUGINS' ) ) */
0064 ... 
0065 ... /* ====================================================================== */
0066 ... /** {{*IP_Gets( $szDomain )=
0067 ... 
0068 ...     Get the IP addresses that correspond to a domain
0069 ... 
0070 ...     {*params
0071 ...         $szDomain   (string)    Domain to obtain IP adresses from
0072 ...     *}
0073 ... 
0074 ...     {*return
0075 ...         (array)     Array of IP addresses of $szDomain
0076 ...     *}
0077 ... 
0078 ...     {*example
0079 ...         var_dump( IP_Gets('www.vaesoli.org') );
0080 ...     *}
0081 ... 
0082 ...     {*alias
0083 ...         IP_aGet()
0084 ...     *}
0085 ... 
0086 ...     {*seealso
0087 ...         IP_Get()
0088 ...     *}
0089 ... 
0090 ...     *}}
0091 ...  */
0092 ... /* ========================================================================== */
0093 ... function IP_Gets( $szDomain )
0094 ... /*-------------------------*/
0095 ... {
0096 ...     return ( gethostbynamel( $szDomain ) );                         /* Return array of IP addresses */
0097 ... }   /* End of IP_Gets() ===================================================== */
0098 ... function IP_aGet( $szDomain ) { return ( IP_Gets( $szDomain ) ); }
0099 ... 
0100 ... /* ========================================================================== */
0101 ... /** {{*IP_Get( $szDomain )=
0102 ... 
0103 ...     Get the IP address that correspond to a domain
0104 ... 
0105 ...     {*params
0106 ...         $szDomain   (string)    Domain to obtain the IP adress from
0107 ...     *}
0108 ... 
0109 ...     {*return
0110 ...         (string)    IP address of $szDomain
0111 ...     *}
0112 ... 
0113 ...     {*example
0114 ...         echo "<p>IP address: ",IP_Get('www.vaesoli.org'),"</p>";
0115 ...     *}
0116 ... 
0117 ...     {*seealso
0118 ...         IP_Gets()
0119 ...     *}
0120 ... 
0121 ...     *}}
0122 ...  */
0123 ... /* ========================================================================== */
0124 ... function IP_Get( $szDomain )
0125 ... /*------------------------*/
0126 ... {
0127 ...     return ( gethostbyname( $szDomain ) );                          /* Return a single IP address */
0128 ... }   /* End of IP_Get() ====================================================== */
0129 ... 
0130 ... /* ========================================================================== */
0131 ... /** {{*IP_HostName( $szIP )=
0132 ... 
0133 ...     Returns the host name corresponding to $szIP
0134 ... 
0135 ...     {*params
0136 ...         $szIP   (string)    A valid IP address
0137 ...     *}
0138 ... 
0139 ...     {*return
0140 ...         (string)    Host name of $szIP or null on failure
0141 ...     *}
0142 ... 
0143 ...     {*example
0144 ...         echo "<p>IP address: ",IP_Get('www.vaesoli.org'),"</p>";
0145 ...     *}
0146 ... 
0147 ...     {*seealso
0148 ...         IP_Gets()
0149 ...     *}
0150 ... 
0151 ...     *}}
0152 ...  */
0153 ... /* ========================================================================== */
0154 ... function IP_HostName( $szIP )
0155 ... /*-------------------------*/
0156 ... {
0157 ...     $szName = @gethostbyaddr( $szIP );
0158 ...     return ( $szName === $szIP ? null : $szName );                  /* Return hostname */
0159 ... }   /* End of IP_HostName() ================================================= */
0160 ... 
0161 ... /* ========================================================================== */
0162 ... /** {{*IP_Normalize( $szIP )=
0163 ... 
0164 ...     Normalizes the IP address
0165 ... 
0166 ...     {*params
0167 ...         $szIP   (string)    IP v4 address to normalize (each part of the
0168 ...                             IP address is prefixed with '0')
0169 ...     *}
0170 ... 
0171 ...     {*return
0172 ...         (string)    $szIP normalized (with '0' in front of each number)
0173 ...     *}
0174 ... 
0175 ...     {*caution
0176 ...         Works with IP v4 addresses only
0177 ...     *}
0178 ... 
0179 ...     {*assert
0180 ...         IP_Normalize( '127.0.0.1' ) === '127.000.000.001'
0181 ...     *}
0182 ... 
0183 ...     *}}
0184 ...  */
0185 ... /* ========================================================================== */
0186 ... function IP_Normalize( $szIP = null )
0187 ... /*---------------------------------*/
0188 ... {
0189 ...     $szRetVal = null;                                               /* Return value of the function */
0190 ... 
0191 ...     if ( is_null( $szIP ) || strlen( $szIP ) == 0 )                 /* If no parameter */
0192 ...     {
0193 ...         $szIP = $_SERVER['REMOTE_ADDR'];                            /* Consider IP address of visitor */
0194 ...     }   /* if ( is_null( $szIP ) ) */
0195 ... 
0196 ...     if ( preg_match('/(?P<ip>(?P<ip1>\d{1,3})\.(?P<ip2>\d{1,3})\.(?P<ip3>\d{1,3})\.(?P<ip4>\d{1,3}))/s',$szIP,$aParts ) )
0197 ...     {
0198 ...         if ( isset( $aParts['ip1'] ) )                              /* If ip1 found ... all others should also be found */
0199 ...         {
0200 ...             $iIP1 = (int) $aParts['ip1'];
0201 ...             $iIP2 = (int) $aParts['ip2'];
0202 ...             $iIP3 = (int) $aParts['ip3'];
0203 ...             $iIP4 = (int) $aParts['ip4'];
0204 ... 
0205 ...             if ( ( $iIP1 >= 0 && $iIP1 <= 255 ) &&
0206 ...                  ( $iIP2 >= 0 && $iIP2 <= 255 ) &&
0207 ...                  ( $iIP3 >= 0 && $iIP3 <= 255 ) &&
0208 ...                  ( $iIP4 >= 0 && $iIP4 <= 255 ) )
0209 ...             {
0210 ...                 $szRetVal = sprintf( '%03d.%03d.%03d.%03d'  ,       /* Format all parts with 3 digits */
0211 ...                                      $iIP1,$iIP2,$iIP3,$iIP4 );
0212 ...             }
0213 ...         }   /* if ( isset( $aParts['ip1'] ) ) */
0214 ...     }   /* if ( preg_match('/(?P<ip>(?P<ip1>\ ... ) ) */
0215 ... 
0216 ...     return ( $szRetVal );                                           /* Return the IP address normalized */
0217 ... }   /* End of IP_Normalize() ================================================ */
0218 ... 
0219 ... /* ========================================================================== */
0220 ... /** {{*IP_Trace( $szURL )=
0221 ... 
0222 ...     Traceroute to get to a host ($szURL)
0223 ... 
0224 ...     {*params
0225 ...         $szURL  (string)    The URL to get to
0226 ...     *}
0227 ... 
0228 ...     {*return
0229 ...         (void)  Not defined yet
0230 ...     *}
0231 ... 
0232 ...     {*caution
0233 ...         DO NOT USE IT IN A PRODUCTION ENVIRONMENT. THIS FUNCTION IS NOT FINALIZED
0234 ...     *}
0235 ... 
0236 ...     {*credits 
0237 ...         Joshua Thijssen (https://github.com/jaytaph)
0238 ...     *}
0239 ... 
0240 ...     {*doc
0241 ...         [url]https://github.com/jaytaph/traceroute/blob/master/traceroute.php[/url]
0242 ...     *}
0243 ... 
0244 ...     {*warning
0245 ...         We get PHP warnings with this code:
0246 ... 
0247 ...         Warning: socket_set_option(): unable to set socket option [0]: An 
0248 ...         invalid argument was supplied. in LSIP.functions.php on line 298
0249 ... 
0250 ...         Notice: Undefined variable: recv_addr in LSIP.functions.php on line 353
0251 ... 
0252 ...     *}
0253 ... 
0254 ...     *}}
0255 ...  */
0256 ... /* ========================================================================== */
0257 ... function IP_Trace( $szURL = "www.google.com" )
0258 ... /*------------------------------------------*/
0259 ... {
0260 ...     /*
0261 ...     This is free and unencumbered software released into the public domain.
0262 ... 
0263 ...     Anyone is free to copy, modify, publish, use, compile, sell, or
0264 ...     distribute this software, either in source code form or as a compiled
0265 ...     binary, for any purpose, commercial or non-commercial, and by any
0266 ...     means.
0267 ... 
0268 ...     In jurisdictions that recognize copyright laws, the author or authors
0269 ...     of this software dedicate any and all copyright interest in the
0270 ...     software to the public domain. We make this dedication for the benefit
0271 ...     of the public at large and to the detriment of our heirs and
0272 ...     successors. We intend this dedication to be an overt act of
0273 ...     relinquishment in perpetuity of all present and future rights to this
0274 ...     software under copyright law.
0275 ... 
0276 ...     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0277 ...     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0278 ...     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
0279 ...     IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
0280 ...     OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0281 ...     ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0282 ...     OTHER DEALINGS IN THE SOFTWARE.
0283 ... 
0284 ...     For more information, please refer to [http://unlicense.org]
0285 ...     */
0286 ... 
0287 ...     define( "SOL_IP",0 );
0288 ...     define( "IP_TTL",2 );    // On OSX, use '4' instead of '2'.
0289 ... 
0290 ...     $iMaxHops   = 30;
0291 ...     $iPort      = 33434;  // Standard port that traceroute programs use. Could be anything actually.
0292 ... 
0293 ...     // Get IP from URL
0294 ...     $szIP = IP_Get( $szURL );
0295 ... 
0296 ...     echo "Tracerouting to destination: $szIP\n";
0297 ... 
0298 ...     $ttl = 1;
0299 ... 
0300 ...     $iLoop = 0;
0301 ... 
0302 ...     while ( $ttl < $iMaxHops )
0303 ...     {
0304 ...         // Create ICMP and UDP sockets
0305 ...         $rReceiver  = socket_create( AF_INET,SOCK_RAW  ,getprotobyname( 'icmp' ) );
0306 ...         $rSender    = socket_create( AF_INET,SOCK_DGRAM,getprotobyname( 'udp'  ) );
0307 ... 
0308 ...         // Set TTL to current lifetime
0309 ...         socket_set_option( $rSender,SOL_IP,IP_TTL,$ttl );
0310 ... 
0311 ...         // Bind receiving ICMP socket to default IP (no port needed since it's ICMP)
0312 ...         socket_bind( $rReceiver,0,0 );
0313 ... 
0314 ...         // Save the current time for roundtrip calculation
0315 ...         $t1 = microtime( true );
0316 ... 
0317 ...         // Send a zero sized UDP packet towards the destination
0318 ...         socket_sendto( $rSender,"",0,0,$szIP,$iPort );
0319 ... 
0320 ...         // Wait for an event to occur on the socket or timeout after 5 seconds. This will take care of the
0321 ...         // hanging when no data is received (packet is dropped silently for example)
0322 ...         $r = array( $rReceiver );
0323 ...         $w = $e = array();
0324 ...         socket_select ($r, $w, $e, 5, 0);
0325 ... 
0326 ...         // Nothing to read, which means a timeout has occurred.
0327 ...         if ( count ( $r ) )
0328 ...         {
0329 ...             // Receive data from socket (and fetch destination address from where this data was found)
0330 ...             socket_recvfrom( $rReceiver,$buf,512,0,$recv_addr,$recv_port );
0331 ... 
0332 ...             // Calculate the roundtrip time
0333 ...             $iRTT = ( microtime( true ) - $t1 ) * 1000;
0334 ... 
0335 ...             // No decent address found, display a * instead
0336 ...             if ( empty ( $recv_addr ) )
0337 ...             {
0338 ...                 $recv_addr = "*";
0339 ...                 $recv_name = "*";
0340 ...             }
0341 ...             else
0342 ...             {
0343 ...                 // Otherwise, fetch the hostname for the address found
0344 ...                 $recv_name = gethostbyaddr( $recv_addr );
0345 ...             }
0346 ... 
0347 ...             // Print statistics
0348 ...             printf( "%3d   %-15s  %.3f ms  %s\n", $ttl, $recv_addr,  $iRTT, $recv_name);
0349 ...         }
0350 ...         else
0351 ...         {
0352 ...             // A timeout has occurred, display a timeout
0353 ...             printf( "%3d   (timeout)\n", $ttl);
0354 ...         }
0355 ... 
0356 ...         // Close sockets
0357 ...         socket_close( $rReceiver );
0358 ...         socket_close( $rSender   );
0359 ... 
0360 ...         // Increase TTL so we can fetch the next hop
0361 ...         $ttl++;
0362 ... 
0363 ...         // When we have hit our destination, stop the traceroute
0364 ...         if ( $recv_addr == $szIP || $iLoop++ > 3 )
0365 ...         {
0366 ...             break;
0367 ...         }
0368 ...     }
0369 ... }

Manifest Constants

VAESOLI_PATH: Define the path where Vae Soli! is installed

VAESOLI_PLUGINS: Define the path where plugins are located

UltraEdit Syntax files

  1. UltraEdit keywords of LSIP.functions.php
  2. UltraEdit Syntax of LSIP.functions.php

Function List (TOC)

  1. IP_Get(): Get the IP address that correspond to a domain No assertion found for IP_Get() (0 - 0)
  2. IP_Gets(): Get the IP addresses that correspond to a domain No assertion found for IP_Gets() (0 - 0)
  3. IP_HostName(): Returns the host name corresponding to $szIP No assertion found for IP_HostName() (0 - 0)
  4. IP_Normalize(): Normalizes the IP address
  5. IP_Trace(): Traceroute to get to a host ($szURL) No assertion found for IP_Trace() (0 - 0)

Functions of LSIP.functions.php

IP_Get(): Get the IP address that correspond to a domain

[ back to function list ]

Syntax

IP_Get( $szDomain )

Parameters
NameTypeDescription
$szDomain string Domain to obtain the IP adress from
Return

(string) IP address of $szDomain

Example(s)
echo "<p>IP address: ",IP_Get('www.vaesoli.org'),"</p>";
Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

See Also

IP_Gets()

IP_Gets(): Get the IP addresses that correspond to a domain

[ back to function list ]

Syntax

IP_Gets( $szDomain )

Alias

IP_aGet()

Parameters
NameTypeDescription
$szDomain string Domain to obtain IP adresses from
Return

(array) Array of IP addresses of $szDomain

Example(s)
var_dump( IP_Gets('www.vaesoli.org') );
Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

See Also

IP_Get()

IP_HostName(): Returns the host name corresponding to $szIP

[ back to function list ]

Syntax

IP_HostName( $szIP )

Parameters
NameTypeDescription
$szIP string A valid IP address
Return

(string) Host name of $szIP or null on failure

Example(s)
echo "<p>IP address: ",IP_Get('www.vaesoli.org'),"</p>";
Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

See Also

IP_Gets()

IP_Normalize(): Normalizes the IP address

[ back to function list ]

Caution

Works with IP v4 addresses only

Syntax

IP_Normalize( $szIP )

Parameters
NameTypeDescription
$szIP string IP v4 address to normalize (each part of the IP address is prefixed with '0')
Return

(string) $szIP normalized (with '0' in front of each number)

Assertions

IP_Normalize( '127.0.0.1' ) === '127.000.000.001' successful

Unit Testing

1 assertions: 1 successful; 0 failed

IP_Trace(): Traceroute to get to a host ($szURL)

[ back to function list ]

Credits

Joshua Thijssen (https://github.com/jaytaph)

Warning

We get PHP warnings with this code: Warning: socket_set_option(): unable to set socket option [0]: An invalid argument was supplied. in LSIP.functions.php on line 298 Notice: Undefined variable: recv_addr in LSIP.functions.php on line 353

Caution

DO NOT USE IT IN A PRODUCTION ENVIRONMENT. THIS FUNCTION IS NOT FINALIZED

Docs

Syntax

IP_Trace( $szURL )

Parameters
NameTypeDescription
$szURL string The URL to get to
Return

(void) Not defined yet

Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

Précédent Suivant

D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php:3658:
object(LogicException)[82]
  protected 'message' => string 'Class LSContentsShare could not be loaded' (length=41)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 0
  protected 'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
  protected 'line' => int 3587
  private 'trace' (Exception) => 
    array (size=15)
      0 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3587
          'function' => string 'spl_autoload' (length=12)
          'args' => 
            array (size=1)
              ...
      1 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3262
          'function' => string 'EmergeIsland' (length=12)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=6)
              ...
      2 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2756
          'function' => string 'EmergeIslands' (length=13)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=5)
              ...
      3 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2994
          'function' => string 'EmergeArchipelagosFromParent' (length=28)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=3)
              ...
      4 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5928
          'function' => string 'EmergeArchipelagos' (length=18)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=2)
              ...
      5 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\template\vaesoli.html' (length=58)
          'line' => int 111
          'function' => string 'Land' (length=4)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      6 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6110
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
      7 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6053
          'function' => string 'XInclude' (length=8)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      8 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5828
          'function' => string 'IncludeTemplate' (length=15)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      9 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5580
          'function' => string 'UseTemplate' (length=11)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      10 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 3282
          'function' => string 'RenderXML' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      11 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 2082
          'function' => string 'StartPage' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      12 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSApplication.class.php' (length=76)
          'line' => int 814
          'function' => string 'Render' (length=6)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      13 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\master.php' (length=47)
          'line' => int 8
          'function' => string 'Run' (length=3)
          'class' => string 'LSApplication' (length=13)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      14 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\documentation\documentation-vaesoli-code-source.php' (length=88)
          'line' => int 1
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
  private 'previous' (Exception) => null
  public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> LogicException: Class LSContentsShare could not be loaded in D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php on line <i>3587</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</t'... (length=6277)